Tag Info

New answers tagged


My go-to for PHP on CentOS is the remi repository. Remi is a Red Hat employee who also packages the official Red Hat PHP packages, in addition to his own repos where he maintains compatible packages which are more current versions. Simply installing and enabling the remi repository on CentOS 6 and then yum updating is sufficient to upgrade to PHP 5.4. (The ...


You could also use the IUS archives and install the RPM's manually on CentOS 6. https://dl.iuscommunity.org/pub/ius/archive/CentOS/6/x86_64/ Download them all and installing with yum will solve any dependencies you might need.


In case anyone was wondering, I ended up setting up a CentOS 7 cloud server and installing PHP 5.4 through: yum install php However I could also set up a CentOS 5 server and then install php 5.3.29 using the Webtatic repo here I had some problems at first but it was mainly down to the default apache config not having mod rewrite enabled.

Top 50 recent answers are included