Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经安装了ispconfig3。我添加了一个网站,但是当我尝试在 /var/www/clients/client1/web5/web/ 中安装 elgg 时,它失败了,因为file_exists()在查找目录 /var/www/clients/client1/web5/data/ 时返回 false。当我从根目录中的 php 文件中检查时,它会找到该目录。我已经更改了父文件夹的所有权限,但仍然失败。Ispconfig3 使用符号链接将我的域链接到该目录,这可能是导致问题的原因......
file_exists()
如文档中所写
警告。对于由于安全模式限制而无法访问的文件,此函数返回 FALSE。但是,如果这些文件位于 safe_mode_include_dir 中,仍然可以包含这些文件。