VPS侦探论坛

 找回密码
 注册
查看: 3140|回复: 1

pathinfo No input file specified问题

[复制链接]
发表于 2017-3-1 08:52:20 | 显示全部楼层 |阅读模式

listen 80;
        #listen [::]:80;
        server_name test.aaa.com;
        index index.html index.htm index.php default.html default.htm default.php;
        root  /home/***/public_html;

        include none.conf;
        #error_page   404   /404.html;
        include enable-php-pathinfo.conf;


        location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
        {
            expires      30d;
        }


军哥,我是这么配置的nginx  为什么访问网站是No input file specified.这样的呢 不是权限的问题 网站下面的静态文件可以访问。 程序是我自己用thinkphp3.2写的,之前在别的服务器上运行一年了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-3-1 19:23:21 | 显示全部楼层


改过网站目录,没改.user.ini ?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-27 19:21 , Processed in 0.024836 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表