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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:47:46
Original
1012 people have browsed it

yii代码上传到服务器,同样路径本地正常,服务器上确无法解析
yii本地window+apache,本地调试好了,上传到服务器,linux+nginx
同样路径访问,服务器上显示‘error404 无法解析请求’
比如这样访问,http://www.aaa.com/?r=bbb/create&ccc=XXX,本地正常,服务器上无法解析,怎么解决
------解决方案--------------------
把错误打开。yii调试模式。
------解决方案--------------------
缓存删除掉。
------解决方案--------------------
看看你的nginx的日志,看是如何访问的。

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

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
Latest Issues
Error restarting nginx
From 1970-01-01 08:00:00
0
0
0
server - Nginx configuration webapp problem
From 1970-01-01 08:00:00
0
0
0
Nginx default.conf problem
From 1970-01-01 08:00:00
0
0
0
centos7 - NGINX exception occurs
From 1970-01-01 08:00:00
0
0
0
nginx load balancing
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template