Upgrade PHP version in WAMP integrated environment
1. Download the PHP version of the package, unzip the PHP version compression package
2. Stop Wamp Service
3. Replace wampphp file
4. Replace the Php5nsapi.dll and Php5ts.dll in the Wampapache2bin directory (corresponding to the current PHP version)
5. Restart Wamp Service
6.phpinfo () test
Problems with time zone settings I encountered
Solution:
Wampapache2binphp.ini
; Module Settings;
; new Time zone settings
[Date]
; Defines the default timezone used by the date functions
; Http://php.net/date.timezone
Date.timezone = UTC
; New Time zone settings
Attention Matters
when the PHP version is upgraded
Because we're replacing the PHP directory.
Some paths in the Php/php.ini file do not necessarily match the path that is now Wamp.
Need to modify
Search D:
Find some paths and then modify them to match the Wamp path now