This article mainly shares with you how to configure php website multi-site with wampserver. It is mainly shared with you in the form of code. I hope it can help you.
The port can be added to the httpd.conf file
For example:
Listen 0.0.0.0:8080
Listen [::0]: 8080
httpd-vhosts.conf file sets up multiple sites
Set Require all granted before it can be accessed from the external network
<VirtualHost *:80> ServerName localhost DocumentRoot c:/wamp/www <Directory "c:/wamp/www"> Options Indexes FollowSymLinks ExecCGI Order allow,deny Allow from all AllowOverride All Require all granted </Directory> </VirtualHost>
The above is the detailed content of How to configure php website multi-site in wampserver. For more information, please follow other related articles on the PHP Chinese website!