APMServ5.2.6 upgrade PHP version to high version 5.3,5.4

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.