Cannot install phpmyadmin on PHP 7.0 server and php configuration disappeared from Services menu

Hi Guys, My system is CentOS 7 64bit and already has PHP 5.4.16 and PHP 7.0.10

Checking Configuration The following PHP versions are available : 5.4.16 (/bin/php-cgi), 7.0.10 (/opt/rh/rh-php70/root/usr/bin/php-cgi), 5.4 (mod_php)

  1. I used file [phpinfo.php] and it displays v7.0 used

  2. I made some changes Two days ago in [php.ini] from [Services > PHP 7.0 Configuration]

  3. I tried to install [phpmyadmin] but it displays thais msg [This script cannot be installed, as this virtual server does not meet its requirements : phpMyAdmin requires PHP version 5.5 or later] .. and I already have v7.0 but it failed

  4. After this I noticed that [PHP 5.0 Configuration] and [PHP 7.0 Configuration] items disappeared from [Virtualmin > Services] menu.

  5. I tried to install [phpmyadmin] again and it displays another message [This virtual server is using the mod_php or FPM execution mode for PHP, such does not allow per-directory version selection]

  6. I start compare from this server#1 and my other same CentOS server#2 and I noticed that in server #1 from [Server Configuration > Website Options] it uses [Apache mod_php (run as Apache's user)] while the server#2 uses [FCGId (run as virtual server owner)] .. I tried to change this server to the option [FCGId] like the good one but it returned back to option [Apache mod_php] after restart.

  7. I noticed in the same page [Website Options] that the PHP 7.0 not exist too in [PHP Information] accordion .. but phpinfo.php still display using v7.0

I don't know what's happening I didn't made anything except trying to install phpmyadmin and it failed, I didn't change anything except some codes in [.htaccess] file in a subfolder website.

I hope that I can fix that, Thanks Guys



What version is shown on the PHP Versions page specifically for the directory you're installing phpMyAdmin into?


Installing phpMyAdmkin FAILED but from [System > Recheck Configuration] displays this

The following PHP versions are available : 5.4.16 (/bin/php-cgi), 7.0.10 (/opt/rh/rh-php70/root/usr/bin/php-cgi), 5.4 (mod_php)

P.S.: I can edit PHP7.0 ini file manually from [Webmin > Other > PHP Configuration] and enter the path appears in [FILE: phpinfo.php] - [/home/DOMAIN/etc/php7.0/php.ini] and the new changes appears correctly again in [FILE: phpinfo.php]

Any Help Here!? I can record a video as well