Submitted by kappler0 on Thu, 02/12/2015 - 15:43 Pro Licensee
Hi, So i need php5.4x and followed the tutorial on https://www.virtualmin.com/documentation/web/multiplephp Seemed to work but when i recheck config, nothing but my 5.3x version shows as available. Any thoughts here?
Note:
[root@host ~]# yum install centos-release-SCL
Loaded plugins: fastestmirror, presto
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: www.gtlib.gatech.edu
* epel: www.gtlib.gatech.edu
* extras: centos.mirror.constant.com
* updates: mirror.ash.fastserv.com
Resolving Dependencies
--> Running transaction check
---> Package centos-release-SCL.x86_64 10:6-5.el6.centos will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
centos-release-SCL x86_64 10:6-5.el6.centos extras 3.9 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total size: 3.9 k
Installed size: 453
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 14 pre-existing rpmdb problem(s), 'yum check' output follows:
vmware-tools-core-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-esx-nox-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-guestlib-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-libraries-nox-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-plugins-autoUpgrade-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-plugins-deployPkg-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-plugins-grabbitmqProxy-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-plugins-guestInfo-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-plugins-hgfsServer-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-plugins-powerOps-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-plugins-timeSync-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-plugins-vix-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-plugins-vmbackup-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
vmware-tools-services-9.4.0-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.0', None)
Installing : 10:centos-release-SCL-6-5.el6.centos.x86_64 1/1
Verifying : 10:centos-release-SCL-6-5.el6.centos.x86_64 1/1
Installed:
centos-release-SCL.x86_64 10:6-5.el6.centos
Complete!
[root@host ~]# yum install php54 php54-php-cli php54-php-mysql php54-php-gd
Loaded plugins: fastestmirror, presto
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: www.gtlib.gatech.edu
* epel: mirrors.einstein.yu.edu
* extras: mirror.beyondhosting.net
* updates: linux.cc.lehigh.edu
scl | 2.9 kB 00:00
scl/primary_db | 366 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php54.x86_64 0:1.1-5.el6.centos.alt will be installed
--> Processing Dependency: php54-php-pear for package: php54-1.1-5.el6.centos.alt.x86_64
--> Processing Dependency: php54-php-common for package: php54-1.1-5.el6.centos.alt.x86_64
---> Package php54-php-cli.x86_64 0:5.4.16-22.el6.centos.alt will be installed
---> Package php54-php-gd.x86_64 0:5.4.16-22.el6.centos.alt will be installed
---> Package php54-php-mysqlnd.x86_64 0:5.4.16-22.el6.centos.alt will be installed
--> Processing Dependency: php54-php-pdo(x86-64) = 5.4.16-22.el6.centos.alt for package: php54-php-mysqlnd-5.4.16-22.el6.centos.alt.x86_64
--> Running transaction check
---> Package php54-php-common.x86_64 0:5.4.16-22.el6.centos.alt will be installed
--> Processing Dependency: php54-runtime for package: php54-php-common-5.4.16-22.el6.centos.alt.x86_64
---> Package php54-php-pdo.x86_64 0:5.4.16-22.el6.centos.alt will be installed
---> Package php54-php-pear.noarch 1:1.9.4-10.el6.centos.alt will be installed
--> Processing Dependency: php54-php-xml for package: 1:php54-php-pear-1.9.4-10.el6.centos.alt.noarch
--> Processing Dependency: php54-php-posix for package: 1:php54-php-pear-1.9.4-10.el6.centos.alt.noarch
--> Running transaction check
---> Package php54-php-process.x86_64 0:5.4.16-22.el6.centos.alt will be installed
---> Package php54-php-xml.x86_64 0:5.4.16-22.el6.centos.alt will be installed
---> Package php54-runtime.x86_64 0:1.1-5.el6.centos.alt will be installed
--> Processing Dependency: scl-utils for package: php54-runtime-1.1-5.el6.centos.alt.x86_64
--> Running transaction check
---> Package scl-utils.x86_64 0:20120927-23.el6_6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php54 x86_64 1.1-5.el6.centos.alt scl 3.7 k
php54-php-cli x86_64 5.4.16-22.el6.centos.alt scl 2.6 M
php54-php-gd x86_64 5.4.16-22.el6.centos.alt scl 118 k
php54-php-mysqlnd x86_64 5.4.16-22.el6.centos.alt scl 161 k
Installing for dependencies:
php54-php-common x86_64 5.4.16-22.el6.centos.alt scl 584 k
php54-php-pdo x86_64 5.4.16-22.el6.centos.alt scl 85 k
php54-php-pear noarch 1:1.9.4-10.el6.centos.alt scl 370 k
php54-php-process x86_64 5.4.16-22.el6.centos.alt scl 48 k
php54-php-xml x86_64 5.4.16-22.el6.centos.alt scl 112 k
php54-runtime x86_64 1.1-5.el6.centos.alt scl 1.0 M
scl-utils x86_64 20120927-23.el6_6 updates 22 k
Transaction Summary
================================================================================
Install 11 Package(s)
Total download size: 5.1 M
Installed size: 15 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 5.1 M
(1/11): php54-1.1-5.el6.centos.alt.x86_64.rpm | 3.7 kB 00:00
(2/11): php54-php-cli-5.4.16-22.el6.centos.alt.x86_64.rp | 2.6 MB 00:00
(3/11): php54-php-common-5.4.16-22.el6.centos.alt.x86_64 | 584 kB 00:00
(4/11): php54-php-gd-5.4.16-22.el6.centos.alt.x86_64.rpm | 118 kB 00:00
(5/11): php54-php-mysqlnd-5.4.16-22.el6.centos.alt.x86_6 | 161 kB 00:00
(6/11): php54-php-pdo-5.4.16-22.el6.centos.alt.x86_64.rp | 85 kB 00:00
(7/11): php54-php-pear-1.9.4-10.el6.centos.alt.noarch.rp | 370 kB 00:00
(8/11): php54-php-process-5.4.16-22.el6.centos.alt.x86_6 | 48 kB 00:00
(9/11): php54-php-xml-5.4.16-22.el6.centos.alt.x86_64.rp | 112 kB 00:00
(10/11): php54-runtime-1.1-5.el6.centos.alt.x86_64.rpm | 1.0 MB 00:00
(11/11): scl-utils-20120927-23.el6_6.x86_64.rpm | 22 kB 00:00
--------------------------------------------------------------------------------
Total 1.0 MB/s | 5.1 MB 00:05
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : scl-utils-20120927-23.el6_6.x86_64 1/11
Installing : php54-runtime-1.1-5.el6.centos.alt.x86_64 2/11
Installing : php54-php-common-5.4.16-22.el6.centos.alt.x86_64 3/11
Installing : php54-php-cli-5.4.16-22.el6.centos.alt.x86_64 4/11
Installing : php54-php-xml-5.4.16-22.el6.centos.alt.x86_64 5/11
Installing : php54-php-pdo-5.4.16-22.el6.centos.alt.x86_64 6/11
Installing : php54-php-process-5.4.16-22.el6.centos.alt.x86_64 7/11
Installing : 1:php54-php-pear-1.9.4-10.el6.centos.alt.noarch 8/11
Installing : php54-1.1-5.el6.centos.alt.x86_64 9/11
Installing : php54-php-mysqlnd-5.4.16-22.el6.centos.alt.x86_64 10/11
Installing : php54-php-gd-5.4.16-22.el6.centos.alt.x86_64 11/11
Verifying : php54-php-mysqlnd-5.4.16-22.el6.centos.alt.x86_64 1/11
Verifying : 1:php54-php-pear-1.9.4-10.el6.centos.alt.noarch 2/11
Verifying : php54-php-common-5.4.16-22.el6.centos.alt.x86_64 3/11
Verifying : php54-php-gd-5.4.16-22.el6.centos.alt.x86_64 4/11
Verifying : php54-1.1-5.el6.centos.alt.x86_64 5/11
Verifying : php54-runtime-1.1-5.el6.centos.alt.x86_64 6/11
Verifying : php54-php-xml-5.4.16-22.el6.centos.alt.x86_64 7/11
Verifying : php54-php-pdo-5.4.16-22.el6.centos.alt.x86_64 8/11
Verifying : php54-php-cli-5.4.16-22.el6.centos.alt.x86_64 9/11
Verifying : php54-php-process-5.4.16-22.el6.centos.alt.x86_64 10/11
Verifying : scl-utils-20120927-23.el6_6.x86_64 11/11
Installed:
php54.x86_64 0:1.1-5.el6.centos.alt
php54-php-cli.x86_64 0:5.4.16-22.el6.centos.alt
php54-php-gd.x86_64 0:5.4.16-22.el6.centos.alt
php54-php-mysqlnd.x86_64 0:5.4.16-22.el6.centos.alt
Dependency Installed:
php54-php-common.x86_64 0:5.4.16-22.el6.centos.alt
php54-php-pdo.x86_64 0:5.4.16-22.el6.centos.alt
php54-php-pear.noarch 1:1.9.4-10.el6.centos.alt
php54-php-process.x86_64 0:5.4.16-22.el6.centos.alt
php54-php-xml.x86_64 0:5.4.16-22.el6.centos.alt
php54-runtime.x86_64 0:1.1-5.el6.centos.alt
scl-utils.x86_64 0:20120927-23.el6_6
Complete!
[root@host ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Thu Feb 12 16:11:32 2015] [warn] NameVirtualHost 98.142.218.65:80 has no VirtualHosts
[ OK ]
[root@host ~]#
Status:
Active
Comments
Submitted by JamieCameron on Thu, 02/12/2015 - 19:07 Comment #1
If you go to System Settings -> Re-Check Configuration, what does it report exactly about the PHP versions and paths that were found?
Submitted by kappler0 on Fri, 02/13/2015 - 09:06 Pro Licensee Comment #2
Hi Jamie, here is the result:
Also, it appears to be there...
[root@host ~]# cd /opt
[root@host opt]# ls
rh
[root@host opt]# cd rh
[root@host rh]# ls
php54
[root@host rh]# cd php54
[root@host php54]# ls
enable root
[root@host php54]#
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
Your system has 7.50 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.
BIND DNS server is installed, and the system is configured to use it.
Mail server Postfix is installed and configured.
Your Postfix version does not support per-domain outgoing IP addresses.
Apache is installed.
The following PHP versions are available : 5.3.3 (/usr/bin/php-cgi)
Webalizer is installed.
Apache is configured to host SSL websites.
MySQL is installed and running.
ProFTPd is installed.
Logrotate is installed.
SpamAssassin and Procmail are installed and configured for use.
ClamAV is installed and assumed to be running.
Plugin DAV Login is installed OK.
Plugin AWstats reporting is installed OK.
Plugin Mailman is installed OK.
Plugin Protected web directories is installed OK.
Using network interface eth0 for virtual IPs.
Default IPv4 address for virtual servers is 98.142.218.10.
Default IP address is set to 98.142.218.10, which matches the detected external address.
Both user and group quotas are enabled for home and email directories.
All commands needed to create and restore backups are installed.
Resource limits are supported and configured correctly.
The selected package management and update systems are installed OK.
.. your system is ready for use by Virtualmin.
Submitted by JamieCameron on Fri, 02/13/2015 - 15:51 Comment #3
Can you run the commands :
find /opt/rh -name php
find /opt/rh -name php-cgi
and post the output here? I'd like to check if Virtualmin is looking in the right locations for the PHP binaries.
Submitted by kappler0 on Fri, 02/13/2015 - 17:12 Pro Licensee Comment #4
Sure,
[root@host php54]# find /opt/rh -name php
/opt/rh/php54/root/usr/share/php
/opt/rh/php54/root/usr/lib64/php
/opt/rh/php54/root/usr/bin/php
/opt/rh/php54/root/var/lib/php
[root@host php54]# find /opt/rh -name php-cgi
/opt/rh/php54/root/usr/bin/php-cgi
[root@host php54]#
Submitted by JamieCameron on Fri, 02/13/2015 - 17:30 Comment #5
Odd, that paths look fine ... /opt/rh/php54/root/usr/bin/php should have been found.
Which Virtualmin version are you running there?
Submitted by kappler0 on Fri, 02/13/2015 - 18:35 Pro Licensee Comment #6
i believe 4.13
Happy to give you SSH if you want to take a look...
Submitted by JamieCameron on Fri, 02/13/2015 - 18:45 Comment #7
Yes, SSH access would be really useful.
Submitted by kappler0 on Fri, 02/13/2015 - 18:51 Pro Licensee Comment #8
So...... Strange thing happened here... I ran yum clean all and yum makecache
And rechecked the config with virtualmin and poof! now it shows as installed!.. i have no idea what happened here... any thoughts?
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
Your system has 7.50 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.
BIND DNS server is installed, and the system is configured to use it.
Mail server Postfix is installed and configured.
Your Postfix version does not support per-domain outgoing IP addresses.
Apache is installed.
The following PHP versions are available : 5.3.3 (/usr/bin/php-cgi), 5.4.16 (/opt/rh/php54/root/usr/bin/php-cgi)
Webalizer is installed.
Apache is configured to host SSL websites.
MySQL is installed and running.
ProFTPd is installed.
Logrotate is installed.
SpamAssassin and Procmail are installed and configured for use.
ClamAV is installed and assumed to be running.
Plugin DAV Login is installed OK.
Plugin AWstats reporting is installed OK.
Plugin Mailman is installed OK.
Plugin Protected web directories is installed OK.
Using network interface eth0 for virtual IPs.
Default IPv4 address for virtual servers is 98.142.218.10.
Default IP address is set to 98.142.218.10, which matches the detected external address.
Both user and group quotas are enabled for home and email directories.
All commands needed to create and restore backups are installed.
Resource limits are supported and configured correctly.
The selected package management and update systems are installed OK.
.. your system is ready for use by Virtualmin.
Submitted by JamieCameron on Fri, 02/13/2015 - 19:03 Comment #9
That's quite odd, as YUM's cache should have no impact on whether Virtualmin can find a file or not.
Submitted by kappler0 on Fri, 02/13/2015 - 19:13 Pro Licensee Comment #10
I was thinking the same thing.. I am at a loss but if you want to poke around logs etc you are welcome to.. just let me know..
thanks for the assist regardless..