Just a FYI to people using the PHP54 SCL repository to run 5.4.16 alongside their stock 5.3.3. The repository was emptied out a few days ago. I left a message on the forum and it looks like there is a conflict with Red Hat about directory names.
This is the page that contains the information
https://www.virtualmin.com/documentation/web/multiplephp
A few revisions to this page are needed,
Looks like the PHP54 version is going to be maintained at 5.4.16, this is the same stock PHP version that will be used in RHEL 7/CentOS 7 when it comes out.
Looks like CentOS is going to be providing the PHP54 (at least for now)
This is still 64 bit only, When a new version is release it should be a semi direct upgrade, the files there have been there since Dec 2013.
Note: don't install this package "php54-php" this provides mod_php for the 5.4 package, it will conflict with the installed 5.3.3 package. (yum shouldn't let you anyways)
Existing installs:
rm -f /etc/yum.repos.d/software_collections_php54.repo
yum clean all
yum install centos-release-SCL
New installs:
yum install centos-release-SCL
yum install php54 php54-php-cli php54-php-mysql php54-php-gd
Thank you for this!
I manually build php 5.5.x for my system and the Virtualmin documentation you linked to is the only way I have ever managed to keep both versions without having one overwrite the other. I was starting to freak out when wget threw me a 404 when trying to add the repo to my new server. Finally thought it would be a good idea to check the forums! :D
That page should be updated with lp86's post.
I just signed up so I could express my thanks!!!
This was what I was looking for everywhere...
My nightmare started when Joomla 3.3 insisted I use PHP 5.3.10 or higher... More than half the internet is still using 5.3.3 (Redhat, Centos etc) Talk about tail wagging the dog!
Thank you again
regards,
John
I installed php54 using centos scl and then installed php55 using (found off of redhat forums):
wget http://copr.fedoraproject.org/coprs/rhscl/php55/repo/epel-6-x86_64/ \ -O /etc/yum.repos.d/rhscl-php55.repo
It seems to be working so far. Apache and php54 are below as well using same solution (not tested):
wget http://copr.fedoraproject.org/coprs/rhscl/httpd24/repo/epel-6-x86_64/ \ -O /etc/yum.repos.d/rhscl-httpd24.repo wget http://copr.fedoraproject.org/coprs/rhscl/php54/repo/epel-6-x86_64/ \ -O /etc/yum.repos.d/rhscl-php54.repo wget http://copr.fedoraproject.org/coprs/rhscl/php55/repo/epel-6-x86_64/ \ -O /etc/yum.repos.d/rhscl-php55.repo
Also here is a list of packages in the php55 repo linked above. https://www.softwarecollections.org/repos/rhscl/php55/rhscl-php55-epel-7...