
phpstudy不能连接localhost的几种解决方法:
1、把httpd.conf中的"#ServerName localhost:80"或者把"ServerName localhost"注释掉即可。
2、端口号被占,点击"Apach 设置",将80端口设置为8080或其他
2、“配置文件”中的httpd-conf做一次修改
<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow deny from all Satisfy all</Directory>
deny from all 改为allow from all
以上就是phpstudy不能连接localhost的知识。速戳>>知识兔学习精品课!