在httpd.conf加了这段代码后
<VirtualHost *:80>
ServerName www.php.com
DocumentRoot "F:/phptools/Apache/htdocs/php"
<Directory "F:/phptools/Apache/htdocs/php">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
后就启动报错:
然后就启动不成功,去掉就能启动成功,在网上找了一些文章说80端口占用,可是我改成8089也没用(不要说我8089端口也被占用了。。。)