VPS侦探论坛

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

lnmp1.4多版本php pathinfo失败,如下

[复制链接]
发表于 2017-7-21 01:06:56 | 显示全部楼层 |阅读模式

location ~ [^/]\.php(/|$)
        {
            fastcgi_pass  unix:/tmp/php-cgi5.4.sock;
            fastcgi_index index.php;
            include fastcgi.conf;
            include pathinfo.conf;
        }
这是enable-php5.4-pathinfo.conf;

以下是Listen 80配置:
server
    {
        listen 80;
        server_name sd.thinkuser.cn;

        index index.php;
        root  /home/wwwroot/shuadan;

        include enable-php5.4-pathinfo.conf;


        access_log  /home/wwwlogs/sd.log;
    }



现在访问网站(http://sd.thinkuser.cn/)下的菜单时index不见了,,,如(http://sd.thinkuser.cn/.php/Home/Mission/index);;
军哥求解,怎么破!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-7-21 08:59:28 | 显示全部楼层



查看源代码程序输出的就是有问题的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-25 17:18 , Processed in 0.025612 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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