Home > Article > Backend Development > Upgrade WampServer to support PHP7 wampserver 2.5 wampserver cannot start wampserver upgrade php
1. Unzip the upgrade package and overwrite the original file (http://aviatechno.net/files/wamp2.5.18_oto.zip)
2. Modify the wampwampmanager.conf
file:
defaultLanguage = english
Add [options] urlAddLocalhost = "off" ChangeServicesNames = "off" MenuItemOnline = "off" HomepageAtStartup = "off" ProjectSubMenu = "off" VirtualHostSubMenu = "on"
<code><span>[apacheoptions]</span> apachePortUsed = <span>"80"</span> apacheUseOtherPort = <span>"off"</span></code>
c after
add
[mysqloptions] mysqlPortUsed = "3306" mysqlUseOtherPort = "off"after
php.ini-development and rename it to
phpForApache.ini, modify the configuration to meet your requirements
wampserver.conf from other PHP version directories to the PHP7 directory and modify it to the following It looks like (or create a
wampserver.conf file with the following content):
<?php$phpConf['phpIniDir'] = '.'; $phpConf['phpExeDir'] = '.'; $phpConf['phpConfFile'] = 'php.ini'; //$phpConf['apache']['2.2']['LoadModuleName'] = 'php5_module'; //$phpConf['apache']['2.2']['LoadModuleFile'] = 'php5apache2_2.dll'; //$phpConf['apache']['2.2']['AddModule'] = ''; $phpConf['apache']['2.4']['LoadModuleName'] = 'php7_module'; $phpConf['apache']['2.4']['LoadModuleFile'] = 'php7apache2_4.dll'; $phpConf['apache']['2.4']['AddModule'] = ''; ?>
The above introduces the upgrade of WampServer to support PHP7, including the content of wampserver. I hope it will be helpful to friends who are interested in PHP tutorials.