Home >Backend Development >PHP Tutorial >Solve the problems encountered during configuring multiple domain names in phpStudy2016
This article mainly introduces a summary of the problems encountered during the configuration of multiple domain names in phpStudy2016. Friends who need it can refer to it
The first step
In C :\Windows\System32\drivers\etc Add
to the hosts file under \Windows\System32\drivers\etc. The second step is to find the httpd.conf file under Apache and open it. Remove the ## in front of line 171.
##The third step is to configure the following content in the apache configuration file vhosts.conf Just restart Apache. . . . The domain name is assigned. . There is another problem at this time #The browser displays a page like this, but when you enter www.test.com/index.php, you can access the index.php program. Write the full path. . . . How to break. . . Comment out the 18 lines in the third step or add + (plus sign) in front of the two words after options. Then restart Apache and you can directly access www.test.com##Summary
The above is the detailed content of Solve the problems encountered during configuring multiple domain names in phpStudy2016. For more information, please follow other related articles on the PHP Chinese website!