wampServer升級PHP版本php
1.下載php7 http://windows.php.net/download#php-7.0html
選擇 VC14 x86 Thread Safe 64位選X64 32位選X86apache
2.下載VC14 運行庫安裝windows
https://www.microsoft.com/en-US/download/details.aspx?id=48145php7
3.在wamp/bin/php 下創建一個php7.0的文件夾把php7解壓進去post
複製php.ini-development 重命名爲 php.iniurl
打開php.ini 查詢.net
;extension_dir = "ext/"server
修改成htm
extension_dir = "D:/wamp/bin/php/php7.0/ext/"
開啓本身須要的擴展
複製php.ini 重命名爲 phpForApache.ini
4.複製 wamp/bin/php 下原版本wampserver.conf 複製到 php7.0文件夾下
5.打開 php7.0文件下的 wampserver.conf
將全部phpX_module phpXapache.dll phpXapache2_3.dll phpXapache2_4.dll
更換爲php7_module php7apache.dll php7apache2_3.dll php7apache2_4.dll
從新啓動wampserver 選擇php php7.0