Apache will not start if you open the Include conf/extra/httpd-vhosts.conf
XAMPP used to install the PHP project is still very convenient, but today encountered a problem that could not start the Apache server.
XAMPP configuration site files are: httpd-vhosts.conf, the configuration format is as follows,
<virtualhost *:80>
ServerAdmin [email protected]
DocumentRoot "program with Access also path"
ServerName www.dev.com (own name)
Errorlog "Logs/dummy-host2.localhost-error_log"
Customlog "D:/xampp_log/vendorplatform.log" combined
<directory "Program with Access path" >
DirectoryIndex index.php index.htm index.shtml index.html (the file name of the access page)
Options includes FollowSymLinks execcgi
AllowOverride All
Allow from all
</Directory>
</VirtualHost>
However, I will never be able to access it after I have configured it locally.
The following error is reported:
[Apache] Error:apache shutdown unexpectedly.
[Apache] This is due to a blocked port, missing dependencies,
[Apache] improper privileges, a crash, or a shutdown by another method.
[Apache] Press the Logs button to view error Logs and check
[Apache] the Windows Event Viewer for more clues
[Apache] If You need + Help, copy and post this
[Apache] Entire Log window on the Forums
According to the online check, but also modified the port.
Modify the port operation as follows,
1, modify the following two ports
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8C/1D/wKiom1hiNEzg3jX-AAGcorbozuA659.png-wh_500x0-wm_3 -wmp_4-s_2124410682.png "title=" 001 effect. png "alt=" wkiom1hinezg3jx-aagcorbozua659.png-wh_50 "/>
2, open the following two configuration files, the inside of the 1 of the original port all modified to 1 in the modified port
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/8C/1A/wKioL1hiNF2j3i_3AADxTU8QCNc734.png-wh_500x0-wm_3 -wmp_4-s_3151275477.png "title=" 002 effect. png "alt=" wkiol1hinf2j3i_3aadxtu8qcnc734.png-wh_50 "/>
After a successful modification, you will not be able to access the configured site. So find an online solution, will Customlog "D:/xampp_log/vendorplatform.log" combined this paragraph all deleted, so you can visit.
Xampp cannot start after configuring httpd-vhosts.conf