Introduction
Since focusing on lamp, I have been focusing on PHPCommunityToday, I went to the official website php.net and found that the new version of php5.3.3 has been released, which improves stability and security.
The local development environment is upgraded without involving the production environment. In fact, it is quite simple to upgrade from 5.3.0 to 5.3.3, that is, to modify your ownProgramA little troublesome.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
Figure 1
Figure 2
Figure 3 No connection problems
Figure 4 find the problem that the database cannot be connected
Figure 5 The max_file_uploads parameter added to PhP indicates the maximum number of files that can be uploaded in each request.