<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sig-I/O (Posts about php)</title><link>https://sig-io.nl/</link><description></description><atom:link href="https://sig-io.nl/categories/php.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:mark@sig-io.nl"&gt;Mark Janssen&lt;/a&gt; </copyright><lastBuildDate>Wed, 12 Jun 2024 13:43:16 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Installing php 5.4 or 5.5 on CentOS 6.x / RHEL 6.x / SL 6.x</title><link>https://sig-io.nl/posts/installing-php-54-or-55-on-centos-6x-rhel-6x-sl-6x/</link><dc:creator>Mark Janssen</dc:creator><description>&lt;p&gt;There are many posts on the internet about people wanting to install a newer PHP release on their EL6 boxes. Most of these posts will tell you to either install the ‘remi’ repository, or packages from ‘webtatic’. However, there is a newer, and in my opinion better, method now.
Software Collections&lt;/p&gt;
&lt;p&gt;Redhat has created the concept of software collections, in which they can provide newer or additional packages to the base OS. These packages come with a more limited support package, but they are at least a somewhat standardised way of installing additional functionality without impacting the base OS.
Red Hat Enterprise Linux 6&lt;/p&gt;
&lt;p&gt;In RHEL systems, collections can be enabled with:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Enable the redhat collections channel&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;rhn-channel –add –channel=rhel-x86_64-server-6-rhscl-1&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then install software from it:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;yum install php54-php&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;More info can be found on &lt;a class="reference external" href="http://developerblog.redhat.com/2013/08/01/php-5-4-on-rhel-6-using-rhscl/"&gt;http://developerblog.redhat.com/2013/08/01/php-5-4-on-rhel-6-using-rhscl/&lt;/a&gt;
CentOS 6 / SL 6 / OEL 6&lt;/p&gt;
&lt;p&gt;For the community EL6 systems, the following procedure can be used:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Install the collection rpm for the collection you wish to use&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;rpm -Uvh &lt;a class="reference external" href="https://www.softwarecollections.org/en/scls/rhscl/php54/epel-6-x86_64/download/rhscl-php54-epel-6-x86_64-1-2.noarch.rpm"&gt;https://www.softwarecollections.org/en/scls/rhscl/php54/epel-6-x86_64/download/rhscl-php54-epel-6-x86_64-1-2.noarch.rpm&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install the packages from the collection&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;yum install php54&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The list of available collections and their package-url’s can be found on &lt;a class="reference external" href="https://www.softwarecollections.org/en/scls/"&gt;https://www.softwarecollections.org/en/scls/&lt;/a&gt;&lt;/p&gt;</description><category>centos</category><category>php</category><category>rhel</category><guid>https://sig-io.nl/posts/installing-php-54-or-55-on-centos-6x-rhel-6x-sl-6x/</guid><pubDate>Fri, 01 Aug 2014 19:34:44 GMT</pubDate></item></channel></rss>