boringwheat
1.09D
V2EX  ›  问与答

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

  •  
  •   boringwheat · May 17, 2024 · 1427 views
    This topic created in 764 days ago, the information mentioned may be changed or developed.
    有没有配置过的人帮忙设置一下,两杯咖啡☕️感谢
    7 replies    2024-05-17 16:57:22 +08:00
    baiduyixia
        1
    baiduyixia  
       May 17, 2024
    7800 元交啦吗
    boringwheat
        2
    boringwheat  
    OP
       May 17, 2024
    @baiduyixia 7800 ?这个是什么?
    liuhaitaoSB
        3
    liuhaitaoSB  
       May 17, 2024
    如果备案,cms 授权等等都没问题.
    配置一个空站点.里面放一个 index.html 能访问吗.
    然后检查下.
    1.php-fpm 对那个目录有权限吗
    2.nginx 呢
    如果机器就一个站点,phpfpm 和 nginx 用一个用户,方便
    3.nginx 站点配置里面那个 fastcgi,配对了没, 有权限读写或访问端口没.

    一般到这里就解决惹.
    boringwheat
        4
    boringwheat  
    OP
       May 17, 2024
    @liuhaitaoSB 你是说这个 cms 必须授权后才可以访问吗?这个不清楚了,客户十几年前的网站了,目前一级目录访问 index.html 没问题,二级目录会提示 文件不存在
    liuhaitaoSB
        5
    liuhaitaoSB  
       May 17, 2024
    有联系方式吗~,瞅瞅看~
    boringwheat
        6
    boringwheat  
    OP
       May 17, 2024
    @liuhaitaoSB 找到原因了,配置了 .user.ini 设置了 open_basedir
    liuhaitaoSB
        7
    liuhaitaoSB  
       May 17, 2024
    所噶.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2625 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 04:46 · PVG 12:46 · LAX 21:46 · JFK 00:46
    ♥ Do have faith in what you're doing.