如何修复未实现的函数:AH00141:无法初始化随机数生成器?

发布于 2025-02-12 17:01:45 字数 706 浏览 0 评论 0原文

当我使用Docker安装phpmyadmin的最新版本(5.2.0)时,就会发生问题。

安装命令

$ docker run --name myadmin -d -e PMA_HOST=dbhost -p 8080:80 phpmyadmin

docker info

Server Version: 20.10.17 
Kernel Version: 3.10.0-514.26.2.el7.x86_64 
Operating System: CentOS Linux 7 (Core) 
OSType: linux 
Architecture: x86_64

如果我将phpmyadmin的版本更改为4.9.6,那将没有问题。


Docker Info

Server Version: 19.03.8 
Kernel Version: 3.10.0-957.21.3.el7.x86_64
Operating System: CentOS Linux 7 (Core) 
OSType: linux 
Architecture:x86_64

在上述环境上安装最新版本没有问题。我不知道这是否是因为内核版本太低,但是不允许修改内核版本。还有其他解决方案吗?

The problem occurs when I install the latest version(5.2.0) of phpmyadmin using docker.

Install Command

$ docker run --name myadmin -d -e PMA_HOST=dbhost -p 8080:80 phpmyadmin

Docker Info

Server Version: 20.10.17 
Kernel Version: 3.10.0-514.26.2.el7.x86_64 
Operating System: CentOS Linux 7 (Core) 
OSType: linux 
Architecture: x86_64

If I change the version of phpmyadmin to 4.9.6 there will be no problem.


Docker Info

Server Version: 19.03.8 
Kernel Version: 3.10.0-957.21.3.el7.x86_64
Operating System: CentOS Linux 7 (Core) 
OSType: linux 
Architecture:x86_64

There is no problem installing the latest version on the above environment.I don't know if it is because the Kernel version is too low, but the Kernel version is not allowed to be modified. Is there any other solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

〆一缕阳光ご 2025-02-19 17:01:45

这是 apache Web服务器的原因。它需要更高的Linux内核版本。

我们可以使用较低版本的Apache Web服务器的phpMyAdmin映像或来通过升级

请参见 https://github.com/phpmyadmin/docker/issues/373

It is the reason of Apache web server.It requires a higher Linux kernel version.

We can fix it by upgrading the kernel version or using a phpmyadmin image of a lower version Apache web server

Please see https://github.com/phpmyadmin/docker/issues/373

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文