search
Homephp教程PHP开发The process and precautions for upgrading PHP to 5.3.3 under windows

I upgraded the local development environment without involving the production environment. In fact, the process of upgrading from 5.3.0 to 5.3.3 is quite simple. It is just a bit troublesome to modify my own program. I encountered a small problem and upgraded Later, my project could not connect to mysql. The reason was the problem of database configuration string. I just changed localhost to 127.0.0.1. I will not use localhost again in the future...

Text

Environment introduction: WAMP PHP version 5.3.0 vc6, upgrade to 5.3.3 vc6

Steps

0. Stop the WAMP service and copy the decompressed php5.3.3 to E:Wampbinphp

1. Replace php5nsapi.dll and php5ts.dll in the E:WampbinapacheApache2.2.11bin directory to the latest version

2. Replace the path of extension_dir = "E:/Wamp/bin/php/php5.3.3/ext/" in E:WampbinapacheApache2.2.11binphp.ini

Copy memcache.dll to php. In the ext directory of 5.3.3 (so that memcache can be supported)

Add the loading path extension=php_memcache.dll

extension=php_exif.dll Copy this from above and the exif should be in mbstring Load it later, otherwise it will prompt that it cannot be loaded

3. Modify the LoadModule php5_module "E:/Wamp/bin/php/php5.3.3/php5apache2_2.dll"

in E:WampbinapacheApache2.2.11confhttpd.conf

4. Check PHP info to see if it is successful

After the upgrade is completed, check if your program can run

Picture 0

The process and precautions for upgrading PHP to 5.3.3 under windows

Picture 1

The process and precautions for upgrading PHP to 5.3.3 under windows

Picture 2

The process and precautions for upgrading PHP to 5.3.3 under windows

Picture 3 There is no problem with the connection

The process and precautions for upgrading PHP to 5.3.3 under windows

Figure 4 Found the problem of being unable to connect to the database

The process and precautions for upgrading PHP to 5.3.3 under windows

Figure 5 PHP has added a new parameter max_file_uploads, which is the maximum number of requests per time Number of files that can be uploaded

The process and precautions for upgrading PHP to 5.3.3 under windows

For more related articles on the process and precautions of upgrading PHP to 5.3.3 under windows, please pay attention to the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Atom editor mac version download

Atom editor mac version download

The most popular open source editor