Home > Backend Development > PHP Tutorial > nginx下识别框架?解决思路

nginx下识别框架?解决思路

WBOY
Release: 2016-06-13 13:39:10
Original
928 people have browsed it

nginx下识别框架?
apache 下无问题 
但nginx 下 无法识别呀
以CI框架为例,打开localhost/ci/index.php 总是报错,说是无法加载什么文件。。
哪位高人来帮帮忙?


------解决方案--------------------
nginx配置
------解决方案--------------------
root webroot;

写绝对路径

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