Heim  >  Artikel  >  Backend-Entwicklung  >  PHPStorm打开XAMPP的htdos时404错误

PHPStorm打开XAMPP的htdos时404错误

WBOY
WBOYOriginal
2016-08-18 09:15:421855Durchsuche

PHPStorm打开XAMPP的htdos时404错误

求教。

回复内容:

PHPStorm打开XAMPP的htdos时404错误

求教。

你直接打开当然报错
PHPStorm 是使用内置 server 的。你看 63342 就知道了
直接用 localhost 自己配置地址,就可以了

问题尽量写清楚啊, 你的配置文件一定要贴上来, 还有你的IDE是怎么配置的.
你只贴一张图片,我就只能猜了.
你用的应该是MAC, 404错误, 那就不是权限问题.
出现了404, 说明你的服务器是正常运行的.
你用netstate -ano看看63342端口有没有被正常监听.
看看有没有配置虚拟主机, 导致localhost不能被正常访问.

猜得心好累..

没明白你的意思啊,我猜测肯定是环境的问题咯,没有找到该项目的入口文件index.php

看你的项目目录已经在 XMAPP的htdocs目录下了。
直接访问
http://localhost/dashboard 试试

建议题主在命令行下
open http://localhost

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn