Preparation: Download the WampServer3 installation package and install it successfully (it is recommended to download the new version, the old version has too many bugs and the file path settings are messy)
1. Find the http.conf file in the conf directory of apache, and remove the # sign in front of the following two settings
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#Include conf/extra/httpd-vhosts.conf
2. Add another Listen 0.0.0.0:8088 port below Listen 0.0.0.0:80 (to achieve multi-port configuration )
3. Find the httpd-vhosts.conf file under the confextra folder, first keep the original route of the server
Xml code
NameVirtualHost *:80
ServerName localhost
DocumentRoot D:/wamp64/ www
t t t
3.1 U (ZENDSTUDIO12.5 is my workspace folder, wamp64 is my installation path)
ServerName zendstudio125.com
ServerAlias www.zendstudio125.com
DocumentRoot D:/wamp64/zendStudio12.5options
ServerName zendstudio125.com
ServerAlias www.zendstudio125.com
DocumentRootD:/wamp64 /zendstudio12.5