Home  >  Article  >  Backend Development  >  phpnow升级php版本 php-5.2.14-Win32升级至5.3.5

phpnow升级php版本 php-5.2.14-Win32升级至5.3.5

WBOY
WBOYOriginal
2016-06-23 13:02:421065browse

PHPNow自带的PHP版本为5.2.14,而最后一次更新在于2010-9-22。下面来升级PHP5.3.5:



1、下载安装文件:

先下载PHP5.3.5,下载地址:php-5.3.5-Win32-VC6-x86.zip    访问密码:c69c

将下载的解压至phpnow的安装目录,命名不能有中文,建议直接“/PHPnow156/php5.3.5/”就可以。

2、配置:

1)将“php-5.2.14-Win32/php-apache2handler.ini”复制到“/PHPnow156/php5.3.5/中”。

2)修改apache配置文件“Apache-**/conf/httpd.conf”,将其中的“php-5.2.14-Win32”修改为“php5.3.5”。

3)再修改“/PHPnow156/php5.3.5/php-apache2handler.ini”文件,搜索“extension_dir =”,将后边的“php-5.2.14-Win32”修改为“php5.3.5”。

3、从启动:

再回到PHPnow156根目录运行“PnCp.cmd”,输入“23”-回车,重启下apache就可以了。

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