PhpStudy20180211版,发现Apache启动失败,报错:
AH00526: Syntax error on line 1 of C:/phpStudy/PHPTutorial/Apache/conf/vhosts.conf:
Listen requires 1 or 2 arguments.
检查vhosts.conf文件,发现内容被修改,文件头部增加了
Listen Options FollowSymLinks ExecCG
Listen Options FollowSymLinks ExecCG
,之前配置的站点都变成了
<VirtualHost *: Options FollowSymLinks ExecCG>
DocumentRoot " AllowOverride Al"
ServerName Order allow,deny
ServerAlias Allow from all
<Directory " Require all grant">
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *: Options FollowSymLinks ExecCG>
DocumentRoot " AllowOverride Al"
ServerName Order allow,deny
ServerAlias Allow from all
<Directory " Require all grant">
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>