Wamp PHP 5.3.0 upgrade 5.3.3

Source: Internet
Author: User

An error occurred while executing the program today. undefined class constant 'mysql _ attr_init_command'

I checked the bug 5.3.0 on the Internet.

Upgrade to 5.3.3 if you cannot.

First download the latest package

To http://windows.php.net/download/

RememberDownlaod vc6 x86 thread safe (20:06:17)

Decompress the package

Change php5ts. dll php5nsapi. DLL to the latest one.

Directory under bin Apache

Then, change the configuration to PhP. ini and CONF/HTTP. conf.

One is the ext path and the other is to start php5_apache_2_2.dll.

Now, enjoy is finished.

 

////////////////////////////////

Environment Introduction: Wamp PHP version 5.3.0 vc6, upgraded to 5.3.3 vc6

Step 0. Stop the Wamp service copy and decompress php5.3.3 to E:/Wamp/bin/PHP

1. Replace php5nsapi. dll and php5ts. dll in the directory e:/Wamp/bin/Apache/apache2.2.11/bin with the latest version.

2. Replace extension_dir = "E:/Wamp/bin/Apache/apache2.2.11/bin/PHP. ini with E:/Wamp/bin/PHP/php5.3.3/EXT /'

Copy memcache. DLL to the ext directory of php.5.3.3 (this will support memcache) to add the loading path.

Extension = php_memcache.dll

Extension = php_exif.dll

Copy 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 E:/Wamp/bin/Apache/apache2.2.11/CONF/httpd. conf

Loadmodule php5_module "E:/Wamp/bin/PHP/php5.3.3/php5apache2_2.dll"

4. Check the PHP info to see if the upgrade is successful, and check whether your program can run.

 

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.