Upgrade php implementation method in wamp integrated environment

  • 2020-07-21 07:02:58
  • OfStack

Upgrade php under wamp integration
1. Download php and extract php
2. Stop wamp
3. Replace wamp\php files
4. Replace es14EN5nsapi. dll and ES17en5ts. dll (for the current version of php) in the wamp\Apache2\bin directory
5. Restart wamp
6. phpinfo () test

I have a problem setting time zone
Solutions:
wamp\Apache2\bin\php.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

Matters needing attention
php version when upgraded
Because we are replacing the php directory
Some of the paths in the php/ php.ini file do not necessarily match the path of the current wamp.
Need to modify
Search d:
Find 1 of the paths and modify to match the current wamp path

Related articles: