In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you what are the problems arising from the installation of dedecms, I hope you will gain something after reading this article, let's discuss it together!
Problems with installing dedecms:
MySQL supports On [×] Off (cannot use this system)
The solution is as follows, I hope it can help you:
Php version of this article: php-5.1.1-Win32
Configure the environment according to the user's manual in discuzied 4.0 that you downloaded.
Change part:
1. For php.ini files
Enter C:\ PHP, put a copy of php.ini-dist into C:\ WINNT (C:\ Windows under Windows XP/2003), rename it to php.ini, open it with notepad, search for extension_dir = ". /" using the search function of notepad, and point its path to the extensions directory under your PHP directory, such as: extension_dir = "C:\ PHP\ ext"; then search for register_globals = Off, and change Off to On.
Look for; extension=php_mysql.dll, remove the quotation mark ";" before it.
2. For the instructions on configuring IIS in the manual, change "PHP\ sapi\ php4isapi.dll" to "php5isapi.dll" in the php directory.
3. Important: copy the libmysql.dll file in the php directory to system32.
Restart IIS (or restart Apache as well):
Execute the commands one by one at the command prompt:
Net stop w3svcnet stop iisadminnet start w3svc
You can solve the information you found on the Internet.
Re:GD supports On [×] Off (non-support will cause most picture-related features to become unavailable or cause warnings)
If you use the PHP configured with IIS
Rename the php.ini-dist file in that installation directory to php.ini, and copy it to the Windows directory of the system disk c
Open the c:\ windows\ php.ini file
Find:
Extension_dir = ". /"
Change to:
Extension_dir = "d:\ php\ ext" (that is, the path to your PHP installation directory)
Find:
; extension=php_mbstring.dll
Change to:
Extension=php_mbstring.dll
Find:
; extension=php_gd2.dll
Change to:
Extension=php_gd2.dll
Find:
; extension=php_mysql.dll
Change to:
Extension=php_mysql.dll
Find:
; extension=php_mcrypt.dll
Change to:
Extension=php_mcrypt.dll
In fact, it is to remove the semicolon in front of them and save them. If you are in the VISTA system, you have to save them somewhere else and cut them.
Then copy the php5ts.dll and libmysql.dll in the php directory to the directory C:\ Windows\ System32.
Copy the php_gd2.dll, php_mysql.dll, php_mbstring.dll files in the php\ ext directory to C:\ Windows\ System32. (images cannot be processed if php_gd2.dll php is not loaded. The mysql function library will not be supported without loading php_mysql.dll php, and php_mbstring.dll will support wide characters when using phpmyadmin later)
Then restart IIS, refresh the website, and of course, install mysql.
DedeCMS did not choose the uploaded file or the selected file size exceeds the size
When uploading with DEDECMS, there appears "you did not choose to upload a file or the file size you chose exceeds the limit". I uploaded it obviously, so I wondered where the size of the uploaded file was limited. Looking around in the basic parameters of the dedecms system, I only found a setting for the size of a member attachment. I also changed it and thought it would be useless, because I didn't have the membership function. This is obviously not the place. So I searched the Internet, O (∩ _ ∩) O , found the answer! Search is the best teacher.
Look for the configuration file for php and find the following lines in php.ini:
; Maximum allowed size for uploaded files.
Upload_max_filesize = 2m (PHP default upload file size is 2m)
I changed it to 10m.
After restarting the server, you can upload files within 10m. (* ^ _ ^ *) hee hee.
In the process, I also found the following things:
; Maximum size of POST data that PHP will accept.
Post_max_size = 2m
It turns out that PHP can also configure the maximum size of POST data.
In the future, when you encounter the situation that you can't upload, please change it here.
In fact, in the home page after logging in to dedecms, the PHP environment summary in the basic information of the system already shows the item of "maximum file supported for upload".
After reading this article, I believe you have a certain understanding of "what are the problems in installing dedecms". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for your reading!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.