Replies: 1 comment 3 replies
-
PHP 运行环境网站的容器内部用户 ID 是 1000,你可以进入网站设置页面检查是否存在权限不一致的问题。 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在使用官方提供的php运行环境时出现权限问题,我不知道这是个例还是什么情况
web服务器: 1panel/openresty:1.27.1.2-0-1-focal
php运行环境:1panel-php-fpm:7.4.33
这是具体日志,隐私信息已做混淆
通过咨询AI我得到的反馈是 PHP 的 open_basedir 安全机制限制了 PHP 脚本可以访问的目录
我的临时解决办法是在配置文件中添加这行内容,我不确定这是否人为bug,我只是部署运行环境并上传了源代码
Beta Was this translation helpful? Give feedback.
All reactions