【问题标题】:How can open I unconditionally to open the open_basedir?如何打开我无条件打开open_basedir?
【发布时间】:2009-05-26 02:45:55
【问题描述】:

这是 PHP 问题。 我设置了open_basedir,即使我使特定目录可以访问,也无法访问底部层次结构中的文件夹。

例如,当它是说/home/user1/test/example/的层次结构的目录时

open_basedir=.: /home/user1/test/

当我设置了test/文件夹下的文件可以打开,但是example/下的文件不能打开。

open_basedir=.: /home/user1/test/: /home/user1/test/example/

没问题。 但 。 你能给我一个好主意吗?

【问题讨论】:

    标签: php open-basedir


    【解决方案1】:

    您还需要确保在 apache httpd.conf 中正确设置了访问权限

    【讨论】:

    • 你在什么环境/操作系统上?
    猜你喜欢
    • 2019-01-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-02
    • 1970-01-01
    • 2020-10-17
    • 1970-01-01
    相关资源
    最近更新 更多