APMServ5.2.6 upgrade php5.2 to version 5.3 and Memcache upgrade!

Source: Internet
Author: User
Tags deprecated php download phpinfo vc9 phpmyadmin

I. How to select the VC9 version and the VC6 version of PHP5.3

What is VC6?
VC6 is Legacy Visual Studio 6 compiler, which is compiled with this compiler.
What is VC9?
VC9 is the Visual Studio compiler, which is compiled with Microsoft's vs Editor.

So how do we choose which version of PHP to download?
If you are using apache+php under Windows, please select the VC6 version;
If you are using iis+php under Windows, please select the VC9 version.

The PHP version of the integrated environment APMServ5.2.6 is php5.2.6, which upgrades the PHP version to 5.3.5:


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 extract files directly after
Overwrite APMServ5.2.6 's original php file directory, rename php.ini-development to PHP.ini

3, modify the php.ini configuration file, find the Extension_dir set PHP extension file directory address,
Then open the extensions you need, and set other options according to your needs, mine is:
Extension_dir= "D:/apmserv5.2.6/php/ext"

4, to the apache\conf directory to find httpd.conf modify the configuration, after the LoadModule list, add the following configuration "specific path according to their own environment replacement":

LoadFile "D:/apmserv5.2.6/php/libmysql.dll"
LoadFile "D:/apmserv5.2.6/php/php5ts.dll"
LoadModule php5_module "D:/apmserv5.2.6/php/php5apache2_2.dll"
Phpinidir "D:/apmserv5.2.6/php/php.ini"

Note: The new PHP folder is not libmysql.dll, you need to copy the original version of the file in the new version of the PHP folder

5. Restart the server to see if the Phpinfo information is available.

Ps:

If you use phpMyAdmin, you also have to upgrade. either prompt

Deprecated: Function eregi () is Deprecated in D:\APMServ5.2.6\www\phpMyAdmin\libraries\select_ lang.lib.phpon line 146

Http://sourceforge.net/projects/phpmyadmin/?source=dlp

Replace the original phpMyAdmin folder directly

Third, php5.3.5 installation memcache precautions

1, download php5.3.5 corresponding to the Php_memecache.dll,

http://code.google.com/p/sirius/downloads/detail?name=php_memcache.dll&can=2&q=

If unable to download, please FQ or SVN

2. Place the Php_memcache.dll in the Ext folder of the PHP installation directory

3, modify php.ini, increase extension=php_memcache.dll extension

4. Restart the Apache service and use phpinfo.php to see if the Memcache module

APMServ5.2.6 upgrade php5.2 to version 5.3 and Memcache upgrade!

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.