当前位置:Gxlcms > PHP教程 > wamp2.532b升级php到php7

wamp2.532b升级php到php7

时间:2021-07-01 10:21:17 帮助过:19人阅读

  • 下载32位php7 php-7.0.6-Win32-VC14-x86.zip
  • 解压到php目录文件命名为:php7.0.6
  • 复制php5.5.12目录下的php.ini、wampserver.conf到php7.0.6目录
  • 修改php.ini
extension_dir = "d:/wamp/bin/php/php5.5.12/ext/"toextension_dir = "d:/wamp/bin/php/php7.0.6/ext/"zend_extension = "d:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11.dll"to;zend_extension = "d:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11.dll"
  • 修改wampserver.conf为
  • 重新启动wamp,更换php版本即可

备注:wamp与php位数要统一,wamp为x86,php一定要为x86

人气教程排行