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)
I used file [phpinfo.php] and it displays v7.0 used
I made some changes Two days ago in [php.ini] from [Services > PHP 7.0 Configuration]
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
After this I noticed that [PHP 5.0 Configuration] and [PHP 7.0 Configuration] items disappeared from [Virtualmin > Services] menu.
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]
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.
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