Upgrade PHP to 5.3.3 in windows. The local development environment is upgraded, and the production environment is not involved. in fact, the upgrade from 5.3.0 to 5.3.3 is quite simple, that is, it is a bit difficult to modify your own program. if you encounter a small problem, you can upgrade the local development environment, the production environment is not involved. in fact, the upgrade from 5.3.0 to 5.3.3 is quite simple, that is, it is a little troublesome to modify your own program.
After the upgrade, my project cannot connect to mysql because of the database configuration string problem. just replace localhost with 127.0.0.1.I won't be using localhost in the future ........
Body
Environment introduction: wamp php version 5.3.0 vc6, upgraded to 5.3.3 vc6
Procedure
0. stop the WAMP service to copy and decompress php5.3.3 to E: \ Wamp \ bin \ php
1. replace php5nsapi. dll and php5ts. dll in the E: \ Wamp \ bin \ apache \ Apache2.2.11 \ bin directory with the latest version.
2. replace the path of extension_dir = "E:/Wamp/bin/php/php5.3.3/ext/" in E: \ Wamp \ bin \ apache \ Apache2.2.11 \ bin \ php. ini
Copy memcache. dll to the ext directory of php.5.3.3 (this will support memcache)
Add the loading path extension = php_memcache.dll
Extension = php_exif.dllCopy the file from the above, and the exif file will be loaded after the mbstring file; otherwise, the system will prompt that the file cannot be loaded.
3. modify LoadModule php5_module "E:/Wamp/bin/php/php5.3.3/php5apache2_2.dll" in E: \ Wamp \ bin \ apache \ Apache2.2.11 \ conf \ httpd. conf"
4. check the PHP info to see if it is successful.
After the upgrade, check whether your program can run.
Figure 0
No connection problems
Find the problem that the database cannot be connected.
PHP adds the max_file_uploads parameter, which is the maximum number of files that can be uploaded per request.
...