phpmyadmin / docker

Docker container for phpMyAdmin
https://hub.docker.com/_/phpmyadmin
GNU General Public License v3.0
673 stars 456 forks source link

Function not implemented: AH00141: Could not initialize random number generator #373

Closed 201206030 closed 2 years ago

201206030 commented 2 years ago

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?

williamdes commented 2 years ago

Hi! Unfortunately this is way out of the scope of the phpMyAdmin image but I found some similar issues on GitHub:

Somebody seems to have pinned down the issue and described the solution: https://github.com/tanmng/docker-chevereto/issues/36#issuecomment-1143035131

And the technical explanation: https://askubuntu.com/a/1323472/432270 Let me know what you think about it

201206030 commented 2 years ago

Thanks, I see. it's because of Apache web server.

williamdes commented 2 years ago

Thanks, I see. it's because of Apache web server.

The kernel version and the apache version seem to be the combination that leads to this error I am closing this issue but feel free to post any helpful comment here for other users that will have this issue

201206030 commented 2 years ago

Thanks, I see. it's because of Apache web server.

The kernel version and the apache version seem to be the combination that leads to this error I am closing this issue but feel free to post any helpful comment here for other users that will have this issue

OK!