phpstudy You don't have permission to access /phpinfo.php on this server.

来源:转载

You don’t have permission to access /phpinfo.php on this server.
这个问题只有在高版本的php中才出现,5.6及以下都不会出现。
修改前:

<VirtualHost *:80> ServerName xxx.com DocumentRoot D:/phpStudy/WWW/xxx <Directory "D:/phpStudy/WWW/xxx"> Options Indexes FollowSymLinks MultiViews AllowOverride All Require local </Directory></VirtualHost>
<VirtualHost *:80> ServerName test.com DocumentRoot D:/phpStudy/WWW/test.com <Directory "D:/phpStudy/WWW/test.com"> Options FollowSymLinks ExecCGI AllowOverride All Order allow,deny Allow from all Require all granted </Directory></VirtualHost>

问题得到解决!

分享给朋友:
您可能感兴趣的文章:
随机阅读: