nginx下的php.conf配置是这样的.
server {
listen 8000;
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
root /usr/share/php;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
/usr/share/php 目录下创建phpinfo.php 是没问题的.正常显示.
但是如果放我的项目进去.访问xxx.xxx.xxx.xxx/project 却显示404 NOT FOUND
求如何解决?????
会不会是我项目用的是CI框架导致的???