Page 1 of 1

phpMyAdmin issue with multiple php versions on Centos 7

Posted: Mon Oct 21, 2019 3:14 am
by mlopez
I've installed php5.6 in addition to my default php 7.3 using skamasle's sk-php-selector
It's working all right and also when I check php version on the terminal it returns the correct version:

Code: Select all

# php -v
PHP 7.3.10 (cli) (built: Sep 24 2019 09:20:18) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies
The problem is that now phpMyAdmin is using php v5.6 instead php v7.3 as it used to.

Can you help me troubleshoot this issue to get php7 back to phpMyAdmin?

Thank you in advance

Damon H.

Re: phpMyAdmin issue with multiple php versions on Centos 7

Posted: Wed Oct 23, 2019 9:51 am
by skurudo
mlopez wrote: Mon Oct 21, 2019 3:14 am The problem is that now phpMyAdmin is using php v5.6 instead php v7.3 as it used to.
Damon, why you don't update your phpmyadmin version with php 7 support or you can create sub-domain with php 5.6 and you PMA with it.

Re: phpMyAdmin issue with multiple php versions on Centos 7

Posted: Fri Dec 03, 2021 4:00 am
by bogdan_di
https://github.com/Skamasle/sk-php-selector/issues/21

Code: Select all

nano /etc/httpd/conf.modules.d/10-php56-php.conf
comment with #

Code: Select all

#<IfModule prefork.c>
#  LoadModule php5_module modules/libphp56-php5.so
#</IfModule>
then restart

Code: Select all

systemctl restart httpd