Upgrade PHP to 5.3.3 in windows and precautions _ PHP Tutorial

Source: Internet
Author: User
Upgrade PHP to 5.3.3 in windows. The local development environment is upgraded, and the production environment is not involved. in fact, the upgrade from 5.3.0 to 5.3.3 is quite simple, that is, it is a bit difficult to modify your own program. if you encounter a small problem, you can upgrade the local development environment, the production environment is not involved. in fact, the upgrade from 5.3.0 to 5.3.3 is quite simple, that is, it is a little troublesome to modify your own program. After the upgrade, my project cannot connect to mysql because of the database configuration string problem. just replace localhost with 127.0.0.1.I won't be using localhost in the future ........

Body

Environment introduction: wamp php version 5.3.0 vc6, upgraded to 5.3.3 vc6

Procedure

0. stop the WAMP service to copy and decompress php5.3.3 to E: \ Wamp \ bin \ php

1. replace php5nsapi. dll and php5ts. dll in the E: \ Wamp \ bin \ apache \ Apache2.2.11 \ bin directory with the latest version.

2. replace the path of extension_dir = "E:/Wamp/bin/php/php5.3.3/ext/" in E: \ Wamp \ bin \ apache \ Apache2.2.11 \ bin \ php. ini

Copy memcache. dll to the ext directory of php.5.3.3 (this will support memcache)

Add the loading path extension = php_memcache.dll

Extension = php_exif.dllCopy 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 LoadModule php5_module "E:/Wamp/bin/php/php5.3.3/php5apache2_2.dll" in E: \ Wamp \ bin \ apache \ Apache2.2.11 \ conf \ httpd. conf"

4. check the PHP info to see if it is successful.

After the upgrade, check whether your program can run.

Figure 0

No connection problems

Find the problem that the database cannot be connected.

PHP adds the max_file_uploads parameter, which is the maximum number of files that can be uploaded per request.

...

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.