root@web01 ~# which php72
/usr/bin/php72
root@web01 ~# which php73
/usr/bin/php73
root@web01 ~# which php56
/usr/bin/php56
root@web01 ~# which php54
/usr/bin/php54
root@web01 ~# which php72-cgi
/usr/bin/php72-cgi
root@web01 ~# which php73-cgi
/usr/bin/php73-cgi
root@web01 ~# which php56-cgi
/usr/bin/php56-cgi
root@web01 ~# which php54-cgi
/usr/bin/php54-cgi
yum info php56-php yum info php72-php yum info php73-php
does yum respond with ‘Installed’ or ‘Available’?
Or anything from yum info php? Because it looks like there’s no global system PHP installed. Which is workable, just not typical.
phpNN-php-cli is a package that needs a fuller package. Surely cli isn’t the only package installed, but if so that would explain missing files. If your installations are complete each version’s php.ini file should be in its respective /etc/opt/remi/phpNN/ directory, plus an overriding duplicate php.ini in /home/user/etc/phpNN/.
root@web01 ~# yum info php; yum info php54-php; yum info php56-php; yum info php72-php; yum info php73-php
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
updates: mirror.ams1.nl.leaseweb.net
Available Packages
Name : php
Arch : x86_64
Version : 5.3.3
Release : 50.el6_10
Size : 1.1 M
Repo : updates
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated webpages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module which adds support for the PHP
: language to Apache HTTP Server.
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
updates: mirror.ams1.nl.leaseweb.net
Installed Packages
Name : php54-php
Arch : x86_64
Version : 5.4.45
Release : 18.el6.remi
Size : 4.6 M
Repo : installed
From repo : remi-safe
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP and Zend and BSD
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated web pages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: This package contains the module (often referred to as mod_php)
: which adds support for the PHP language to system Apache HTTP Server.
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
updates: mirror.ams1.nl.leaseweb.net
Installed Packages
Name : php56-php
Arch : x86_64
Version : 5.6.40
Release : 21.el6.remi
Size : 4.4 M
Repo : installed
From repo : remi-safe
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated web pages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: This package contains the module (often referred to as mod_php)
: which adds support for the PHP language to system Apache HTTP Server.
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
updates: mirror.ams1.nl.leaseweb.net
Installed Packages
Name : php72-php
Arch : x86_64
Version : 7.2.31
Release : 2.el6.remi
Size : 4.6 M
Repo : installed
From repo : remi-safe
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0 and NCSA
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated web pages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: This package contains the module (often referred to as mod_php)
: which adds support for the PHP language to system Apache HTTP Server.
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
updates: mirrors.xtom.nl
Available Packages
Name : php73-php
Arch : x86_64
Version : 7.3.19
Release : 1.el6.remi
Size : 1.5 M
Repo : remi-safe
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0 and NCSA
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated web pages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: This package contains the module (often referred to as mod_php)
: which adds support for the PHP language to system Apache HTTP Server.
root@web01 ~# virtualmin list-php-versions
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = “UTF-8”,
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
Version Path
Also when navigating to System Settings > Server Templates > PHP settings I see the 4 versions, with an option to set a template file. So my guess is the templates for 7.2 and 7.3 are missing. Where does virtualmin store them?