V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
boringwheat
V2EX  ›  问与答

DedeCMS 2010 的老网站想迁移到 nginx , 配置后一直提示 No input file specified.

  •  
  •   boringwheat · 15 天前 · 440 次点击
    有没有配置过的人帮忙设置一下,两杯咖啡☕️感谢
    7 条回复    2024-05-17 16:57:22 +08:00
    baiduyixia
        1
    baiduyixia  
       15 天前
    7800 元交啦吗
    boringwheat
        2
    boringwheat  
    OP
       15 天前
    @baiduyixia 7800 ?这个是什么?
    liuhaitaoSB
        3
    liuhaitaoSB  
       15 天前
    如果备案,cms 授权等等都没问题.
    配置一个空站点.里面放一个 index.html 能访问吗.
    然后检查下.
    1.php-fpm 对那个目录有权限吗
    2.nginx 呢
    如果机器就一个站点,phpfpm 和 nginx 用一个用户,方便
    3.nginx 站点配置里面那个 fastcgi,配对了没, 有权限读写或访问端口没.

    一般到这里就解决惹.
    boringwheat
        4
    boringwheat  
    OP
       15 天前
    @liuhaitaoSB 你是说这个 cms 必须授权后才可以访问吗?这个不清楚了,客户十几年前的网站了,目前一级目录访问 index.html 没问题,二级目录会提示 文件不存在
    liuhaitaoSB
        5
    liuhaitaoSB  
       15 天前
    有联系方式吗~,瞅瞅看~
    boringwheat
        6
    boringwheat  
    OP
       15 天前
    @liuhaitaoSB 找到原因了,配置了 .user.ini 设置了 open_basedir
    liuhaitaoSB
        7
    liuhaitaoSB  
       15 天前
    所噶.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2463 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 12:59 · PVG 20:59 · LAX 05:59 · JFK 08:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.