First Download: http://windows.php.net/downloads/releases/
Thursday, August, 2:26 AM 17069447 php-5.4.32-win32-vc9-x86.zip
To ensure the installation is successful, stop the Apache,mysql service
Then unzip and get a new directory:
The original Apmserv directory in the PHP directory: ext, extras Two directories copied over, encountered duplicate files, do not overwrite, skip can!
Then the original Apmserv directory in the PHP directory:
Libmcrypt.dll, Libmhash.dll, libmysql.dll three files are copied to the newly downloaded PHP directory.
Then back up the PHP directory in the Apmserv directory and rename it to Php_backup
Then rename the newly downloaded PHP package to PHP and copy it to the Apmserv directory.
Rename Php.ini-production to PHP.ini
Open Modify this configuration file:
; Http://php.net/short-open-tag
Short_open_tag = Off
Short_open_tag = Off //modified to on to start short label
; Directory in which the loadable Extensions (modules) reside.
; Http://php.net/extension-dir
Extension_dir = "d:/apmserv/php/ext/"
; On Windows:
Extension_dir = "d:/apmserv/php/ext/"
Extension_dir = "d:/apmserv/php/ext/"
Extension_dir = "d:/apmserv/php/ext/"//Modify the Extension_dir directory to the corresponding directory of your Apmserv
; extension = front; Remove to indicate that all extensions are turned on.
; Http://php.net/session.save-path
Session.save_path = "D:\APMServ\SESSIONTempBox"
Open Session.save_path, remove the front; (semicolon) Create a new Sessiontempbox directory under your own Apmserv,
Point Save_path to this folder, and this folder must have read and Write permission!
Session.save_path = "D:\APMServ\SESSIONTempBox"
Then add at the end of the file: (Note that the highlighted Apmserv directory is modified to your correct directory)
Eaccelerator.shm_ttl= "0"
eaccelerator.shm_prune_period= "0"
eaccelerator.shm_only= "0"
Eaccelerator.keys = "SHM"
Zend_extension_ts= "D:/apmserv/zend/zendoptimizer-3.3.3/php-5.2.x/zendoptimizer.dll"
APMServ5.2.6 upgrade PHP version to high version 5.3,5.4