【问题标题】:file_exists(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)file_exists():open_basedir 限制生效。文件 (/tmp) 不在允许的路径内
【发布时间】:2020-01-14 09:56:44
【问题描述】:

file_exists():open_basedir 限制生效。文件(/tmp) 不在允许的路径内:(/home/admin/web/{domain_nameenter image description here}/public_html:/home/admin/tmp)

请注意- 1.使用Ubuntu 2.亚马逊AWS 3.灶神星CP

【问题讨论】:

  • 欢迎来到 Stack Overflow!请将您的代码作为文本而不是链接图像。

标签: laravel amazon-web-services ubuntu vesta


【解决方案1】:

路径/tmp 位于您的项目目录之外,因此由于open_basedir 设置而拒绝访问。您需要在项目目录中更改open_basedir 或使用temporaryPath 值。

【讨论】:

    猜你喜欢
    • 2019-08-07
    • 1970-01-01
    • 2020-12-21
    • 2010-12-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多