Home > Backend Development > PHP Tutorial > No input file specified这个如何解决,望大家指点一下

No input file specified这个如何解决,望大家指点一下

WBOY
Release: 2016-06-13 10:27:14
Original
1382 people have browsed it

No input file specified这个怎么解决,望大家指点一下
用thinkphp做的项目,本地运行一切都正确,,本地输入方式为http://localhost/项目名/admin.php/User/index,
上传到服务器上,输入方式为:网址名称/admin.php/User/index 
出现的错误是:No input file specified
有什么解决方案吗,望大家指点一下哈


------解决方案--------------------
您的服务器不支持 PATH_INFO
------解决方案--------------------
改URL模式,或者安最新的apache.
------解决方案--------------------
No input file specified 是nginx的报错,其实就是404 Not Found。。。

从这个url的方式上看/admin.php/User/index 
nginx应该需要配置rewrite规则或者location...

总之联系你的SA吧...

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