Home >Backend Development >PHP Tutorial >Upgrading the php version in the wamp integrated environment (implementation method)_PHP tutorial

Upgrading the php version in the wamp integrated environment (implementation method)_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:01:581222browse

Upgrade the php version 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 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 settings 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 new time zone setting

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/327973.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