Home  >  Article  >  Backend Development  >  yii代码上传到服务器,同样路径本地正常,服务器上确无法解析

yii代码上传到服务器,同样路径本地正常,服务器上确无法解析

WBOY
WBOYOriginal
2016-06-23 14:25:58954browse

yii php 路径 yii框架 服务器

yii本地window+apache,本地调试好了,上传到服务器,linux+nginx
同样路径访问,服务器上显示‘error404 无法解析请求’
比如这样访问,http://www.aaa.com/?r=bbb/create&ccc=XXX,本地正常,服务器上无法解析,怎么解决

回复讨论(解决方案)

把错误打开。yii调试模式。

缓存删除掉。

看看你的nginx的日志,看是如何访问的。

一般来说是你的web服务器nginx的配置问题

Statement:
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