找回密码
 注册
查看: 4136|回复: 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推荐: 遨游主机、Linode、LOCVPS、主机云、搬瓦工、80VPS、Vultr等美国VPS主机。中国VPS推荐: 阿里云、腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-7-21 08:59:28 | 显示全部楼层



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

本帖子中包含更多资源

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

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

本版积分规则

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

GMT+8, 2026-11-27 02:02 , Processed in 0.007185 second(s), 25 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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