method One: ( my Pro test, no problem )
Download First:
Php-5.3.1-win32-vc6-x86.zip
http://windows.php.net/downloads/releases/archives/
After extracting, get a directory. Then the original PHP directory:
Ext Directory Extras directory to copy over.
If you encounter duplicate files, do not cover them.
Then put the original PHP directory in:
Libmcrypt.dll
Libmhash.dll
Libmysql.dll
Copy it over.
The original PHP directory is then backed up and then deleted.
Copy all 5.3 of the files to the PHP directory.
Next: Rename the php.ini-production to php.ini.
Open to configure:
Short_open_tag = OFF//change to on to open the short label.
Extension_dir//Change to: f:/apmserv5.2.6/php/ext/
To turn all the extension= in front of;
Then add at the end:
[Eaccelerator]
Zend_extension_ts= "F:/apmserv5.2.6/zend/eaccelerator/eaccelerator.dll"
Eaccelerator.shm_size= "32"
Eaccelerator.cache_dir= "f:/apmserv5.2.6/tmp/eaccelerator/"
eaccelerator.enable= "1"
Eaccelerator.optimizer= "1"
Eaccelerator.check_mtime= "1"
eaccelerator.debug= "0"
Eaccelerator.filter= ""
eaccelerator.shm_max= "0"
Eaccelerator.shm_ttl= "0"
eaccelerator.shm_prune_period= "0"
eaccelerator.shm_only= "0"
eaccelerator.compress= "1"
Eaccelerator.compress_level= "9"
Eaccelerator.keys = "SHM"
Eaccelerator.sessions = "SHM"
[Zend]
zend_optimizer.optimization_level=1023
Zend_optimizer.encoder_loader=1
Zend_extension_ts= "F:/apmserv5.2.6/zend/zendoptimizer-3.3.3/php-5.2.x/zendoptimizer.dll"
method Two: Apmserv upgrade PHP
1, to php download PHP5.3 VC6 version of the zip file, I downloaded is: Php-5.3.5-win32-vc6-x86.zip 2, first stop their Web server, Php-5.3.5-win32-vc6-x86.zip unzip the file directly after overwriting APMServ5.2.6 's original php file directory, renaming php.ini-development to PHP.ini 3, Modify the php.ini configuration file, locate the Extension_dir set PHP extension file directory address, then open the extension you need, and set other options according to your own needs, my is: extension_dir= "e:/qishengfu/ Apmserv5.2.6/php/ext "4, to the apache\conf directory to find httpd.conf modify configuration, after the LoadModule list to add the following configuration" specific path according to their own environment replaced ": LoadFile" e:/ Qishengfu/apmserv5.2.6/php/libmysql.dll "LoadFile" E:/qishengfu/apmserv5.2.6/php/php5ts.dll "LoadModule php5_ Module "E:/qishengfu/apmserv5.2.6/php/php5apache2_2.dll" Phpinidir "E:/qishengfu/apmserv5.2.6/php/php.ini" 5, restart the server To see if the Phpinfo information is available
method Three: Wamp upgrade PHP version to 5
1, Libmysql.dll and Php5ts.dll files can also be copied directly to the C:\WINDOWS\SYSTEM32 system directory, so that in Apache there is no need to use LoadFile designated 2, Extension_dir Configuration items should be placed before opening the Extensions List 3. The phpMyAdmin that comes with the APMServ5.2.6 after the upgrade has to be upgraded to the newer version: after the php5.3.0 version, the Ereg function is canceled, error: Deprecated:function Ereg_replace () is deprecated
1. Stop the WAMP server. 2. Go to website windows.php.net download php5.3.21 the VC6 Thread Safe build. Do not download the INSTALLER. 3. Create php5.3.21 folder in wamp/bin/php 4. Unzip the downloaded zip package into the php5.3.21 folder 5. From a PHP version file that already exists (such as php5.3.0, (eg. wamp/bin/php/php5.3.3)) Copy the following files:-PHP.ini, Phpforapache.ini, and wampserver.conf to the php5.3.21 folder. 6. Open the following files for the php5.3.21 folder:-PHP.ini and Phpforapache.ini and replace 5.3.0 with 5.3.21. 7. Go to Wamp/bin/apache/apache/apache2.2.11/bin to delete the php.ini file. 8. Restart the Wamp. 9. Select old Version 5.3.0 10. The Wamp is restarted after selection. 11. You can choose Php->version-> 5.3.4 at this time. 12. Reboot successful. Complete
Apmserv upgrade PHP with Wamp PHP version to 5.3