Home > Backend Development > PHP Tutorial > php文件访问出现404,该如何解决

php文件访问出现404,该如何解决

WBOY
Release: 2016-06-13 12:19:14
Original
2307 people have browsed it

php文件访问出现404
在nginx配置的路径下新建一个php文件,然后使用浏览器访问的时候报404错误,但是该路径下原先存在的php文件可以正常访问,请问这是什么原因?
------解决思路----------------------
好像看到问题了
你的 a.php 并不在 /usr/home/..../tianqitong/lifedex/v3/   这个目录下
你给出的 a.php 在 /data1/sinawap/.../v3/
并不在 nginx 配置 root 参数指定的工作目录下

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template