Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
situliang
V2EX  ›  Linux

关于 Thinkphp 在 Linux 下部署的问题

  •  
  •   situliang · Oct 27, 2016 · 4191 views
    This topic created in 3660 days ago, the information mentioned may be changed or developed.
    TP3.1 的项目部署到 LAMP 中显示无法加载模块 index
    19 replies  •  2016-10-28 11:30:42 +08:00
    situliang
    situliang
    OP
    Oct 27, 2016
    1
    权限已经改了,全部都是 777
    situliang
    situliang
    OP
    Oct 27, 2016
    2
    SELinux 是 disabled
    vugusurk
    vugusurk
    Oct 27, 2016❤️1
    3
    看来大家都不屑于回答这种问题。
    situliang
    situliang
    OP
    Oct 27, 2016
    4
    @vugusurk 但百度上还没成功的解决方案
    klgd
    klgd
    Oct 27, 2016❤️1
    5
    我来回答一下:注意你文件名的大小写(斜眼笑)
    lmaq
    lmaq
    Oct 27, 2016❤️1
    6
    系统本身提供了一个不区分 URL 大小写的解决方案,可以通过配置简单实现
    项目配置中,增加:
    'URL_CASE_INSENSITIVE' =>true
    hlg002
    hlg002
    Oct 27, 2016❤️1
    7
    信息量太少,只能猜测。
    URL 模式问题?
    qdhlbt
    qdhlbt
    Oct 27, 2016 via Android❤️1
    8
    注意大小写!一开始我也踩这个坑了
    isCyan
    isCyan
    Oct 27, 2016 via Android❤️1
    9
    作死 777
    NoobPhper
    NoobPhper
    Oct 27, 2016❤️1
    10
    又见一个 777
    kaneg
    kaneg
    Oct 27, 2016 via iPhone❤️1
    11
    没开 rewrite 模块或者 htaccess 权限
    baoguok
    baoguok
    Oct 27, 2016❤️1
    12
    开启 rewrite 先
    cncqw
    cncqw
    Oct 27, 2016❤️1
    13
    改 755 就够用了
    Smilecc
    Smilecc
    Oct 27, 2016❤️1
    14
    信息这么少怎么回答
    msg7086
    msg7086
    Oct 27, 2016❤️1
    15
    看了你三层楼的内容,我的建议是招一个懂的。
    situliang
    situliang
    OP
    Oct 27, 2016
    16
    @kaneg 用 pathinfo 模式也要开 rewrite 模块么
    Roope
    Roope
    Oct 28, 2016 via iPhone❤️1
    17
    777🙂🙂🙂
    situliang
    situliang
    OP
    Oct 28, 2016
    18
    @baoguok 无论用什么 URL 模式都要开 rewrite 么
    baoguok
    baoguok
    Oct 28, 2016❤️1
    19
    @situliang 对。
    如果不开启重写模式 比如 index.php?m=xxx&b=xxxx 这种就不用开启重写
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5228 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 148ms · UTC 02:17 · PVG 10:17 · LAX 18:17 · JFK 21:17
    ♥ Do have faith in what you're doing.