如何修复未实现的函数:AH00141:无法初始化随机数生成器?
当我使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是 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