Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Dream Weaving CMS system under Ubuntu 16.04

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to install the dream weaving CMS system under Ubuntu 16.04. this article is about how to install the dream weaving CMS system. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Installation of Dream Weaving CMS system under Ubuntu 16.04

Install Ubuntu 16.04. install Zhimeng CMS to find that all directories do not have permissions. Add the users of the source code to the php user group, and the directory permission problem is solved. Then php-mysql is displayed as off. After installing php-mysql, php-gd shows that there is no solution for off for a long time, and finally finds a solution under google, but it is different from the problem I encountered. Finally, the modified code runs successfully and shows off as on.

Solution

Check the 'php5.7-gd' version. If you do not have php5.7-gd installed, please install gd according to your php version first.

# php-- ri gdGD Support = > enabledGD headers Version = > 2.2.5GD library Version = > 2.2.5FreeType Support = > enabledFreeType Linkage = > with freetypeFreeType Version = > 2.6.1GIF Read Support = > enabledGIF Create Support = > enabledJPEG Support = > enabledlibJPEG Version = > 8PNG Support = > enabledlibPNG Version = > 1.2.54WBMP Support = > enabledXPM Support = > enabledlibXpm Version = > 30411XBM Support = > enabledWebP Support = > enabledDirective = > Local Value = > Master Valuegd.jpeg_ignore_warning = > 0 = > 0

Because the version returned in install/install.inc.php is 2.0, you need to modify the real version 2.1.1 that you installed.

Function gdversion () {/ / if the php.ini function is not enabled, if GD is regarded as version 2.0 or above by default / / because I am a ubuntu server and php.ini is not configured, the GD2.0 version is returned here, but my GD version is 2.1.1, so manually configure the version number if (! function_exists ('phpinfo')) {/ / if (function_exists (' imagecreate')) return '2.0' If (function_exists ('imagecreate')) return' 2.1.1; else return 0;} else {ob_start (); phpinfo (8); $module_info = ob_get_contents (); ob_end_clean () If (preg_match ("/\ bgd\ s+version\ b [^\ d\ n\ r] +? ([\ d\.] +) / I", $module_info,$matches)) {$gdversion_h = $matches [1];} else {$gdversion_h = 0;} / return $gdversion_h; return '2.1.1 reading;} Thank you for reading! This is the end of this article on "how to install Dream Weaving CMS system under Ubuntu 16.04". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report