手动安装 PHP 扩展无效是 BUG 还是我的操作有问题? #4422
Replies: 10 comments
-
我也遇到了自定义扩展问题 |
Beta Was this translation helpful? Give feedback.
-
没有,用自己构建容器了 |
Beta Was this translation helpful? Give feedback.
-
怎么构建的。构建成功了没有 |
Beta Was this translation helpful? Give feedback.
-
从Docker官方构建的PHP镜像安装扩展就行,这是我用的Dockerfile参考 https://github.com/benzBrake/VPSReady/blob/main/Dockerfiles/php |
Beta Was this translation helpful? Give feedback.
-
把你构建用的dockerfile发我参考一下 |
Beta Was this translation helpful? Give feedback.
-
差不多的,你没看链接的仓库是我的仓库嘛,只是多装了几个扩展
|
Beta Was this translation helpful? Give feedback.
-
没大懂,这是直接构建的php镜像吗? |
Beta Was this translation helpful? Give feedback.
-
构建成功了,但是你创建网站可以了吗? |
Beta Was this translation helpful? Give feedback.
-
联系方式
896149631
1Panel 版本
v1.10.2-lts
问题描述
我是按照 https://bbs.fit2cloud.com/t/topic/2073 这个文档手动安装 SourceGuardian 扩展
装上以后跑源码还是提示安装扩展
重现步骤
1.应用管理里打开数据存储目录,上传 ixed.7.4.lin
2.打开容器的终端,检查
3.修改网站的 php.ini,最后加入
4.保存并重启容器
期待的正确结果
No response
相关日志输出
附加信息
我同时测试了 PHP8.2 和 PHP7.4 都不行,并且按照文档构建 php 镜像的时候扩展填 sg11、sg14或者sourceguardian都不行
Beta Was this translation helpful? Give feedback.
All reactions