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
Comments
Submitted by JamieCameron on Sun, 02/25/2018 - 12:27 Comment #1
What version is shown on the PHP Versions page specifically for the directory you're installing phpMyAdmin into?
Submitted by HadyShaltout on Sun, 02/25/2018 - 21:31 Comment #2
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]
Submitted by HadyShaltout on Tue, 02/27/2018 - 12:54 Comment #3
Any Help Here!? I can record a video as well