Installed php 5.4.16 to run side by side with the default php installed with centos 5/virtualmin, which is 5.2.17
Problem is whenever a site tries to connect to the database, it cannot connect.
Is there something I’m missing? If I set the php version back to 5.2.17 it works fine. However the problem is web applications being installed require php 5.3+ and mysql 5.1+
Also, when attempting to install a fresh joomla installation, here’s the error it spits out at the database configuration page when trying to connect to the database:
Could not connect to the database. Connector returned number: Could not connect to MySQL.
There has been some issues with the php54 provided by REMI. Redhat is going to maintain their own php54 for Redhat customers. So remi is only providing php54 for x86_64 on CentOS 5 & 6.
Run this command and post what comes back so we can see what php54 packages are installed
Ip86, here are the modules installed:
php54-runtime-1-7.el5
php54-php-pear-1.9.4-7.el5
php54-php-process-5.4.16-4.el5
php54-php-cli-5.4.16-4.el5
php54-php-mysqlnd-5.4.16-4.el5
php54-php-xml-5.4.16-4.el5
php54-php-gd-5.4.16-4.el5
php54-php-pdo-5.4.16-4.el5
php54-php-common-5.4.16-4.el5
php54-1-7.el5
I cannot install php 5.3 unfortunately however as there are some scripts not compatible with 5.3, so I’d like to have 5.2 and 5.4 installed simultaneously with mysql 5.1 installed.
Any ideas? I unfortunately really need to make this happen
Correct, that is the Software Collection’s repository, it’s not the REMI repo.
That said, to my knowledge it’s the same package maintainer.
However, with Software Collections, the packages are designed to work side-by-side with those available in CentOS, whereas the PHP packages in the REMI repo are designed to replace them.
So what do I need to do to upgrade PHP 5.1.6 on my Centos 5.7 box with the latest Virtualmin? What if I need to reverse that and go back if something breaks? Sorry I’m not the greatest Linux guy so trying to cover the bases before I screw up. Thanks