Upgrade php in the wamp Integrated Environment
1. Download the php version compressed package and decompress the php version compressed package.
2. Stop the wamp Service
3. Replace the wamp \ PHP File
4. Replace php5nsapi. dll and php5ts. dll in the wamp \ Apache2 \ bin directory (corresponding to the current php version)
5. Restart the wamp service.
6. phpinfo () test
I encountered problems with Time Zone settings
Solution:
Wamp \ Apache2 \ bin \ php. ini
; Module Settings;
; Added time zone settings
[Date]
; Defines the default timezone used by the date functions
Http://php.net/date.timezone
Date. timezone = UTC
; Added time zone settings
Notes
Php version upgrade
Because we replaced the php Directory.
Some paths in the php/php. ini file do not match the current wamp path.
Need to modify
Search d:
Find some paths and modify them to match the current wamp path