Home  >  Article  >  Backend Development  >  Upgrade php version in wamp integrated environment_PHP tutorial

Upgrade php version in wamp integrated environment_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 11:16:45989browse

Upgrade the php version in wamp integrated environment
1. Download the php version compressed package and decompress the php version compressed package
2. Stop wamp service
3. Replace wampphp file
4. Replace php5nsapi.dll and php5ts.dll in the wampApache2bin directory (corresponding to the current php version)
5. Restart the wamp service
6.phpinfo() test

Problems I encountered Time zone setting problem
Solution:
wampApache2binphp.ini

; Module Settings ;

;Add time zone setting
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = UTC
;Add time zone setting

Notes
When php version is upgraded
Because we are replacing the php directory
Some paths in the php/php.ini file may not match the current wamp path.
Needs modification
Search d:
Find some paths and modify them to match the current wamp path

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/372331.htmlTechArticleUpgrading the php version in the wamp integrated environment 1. Download the php version compressed package and unzip the php version compressed package 2. Stop wamp service 3. Replace the wampphp file 4. Replace php5nsapi.dll in the wampApache2bin directory and...
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