{"id":413,"date":"2011-08-18T18:39:01","date_gmt":"2011-08-19T01:39:01","guid":{"rendered":"http:\/\/blog.networkpresence.co\/?p=413"},"modified":"2011-08-18T18:39:45","modified_gmt":"2011-08-19T01:39:45","slug":"installing-php-5-2-x-to-centos-5-6","status":"publish","type":"post","link":"http:\/\/blog.networkpresence.co\/?p=413","title":{"rendered":"Installing PHP 5.2.x to CentOS 5.6"},"content":{"rendered":"<p>It&#8217;s very easy, using CentOS own Repositories &#038; the &#8216;yum&#8217; package management system to install a version of PHP 5.2 to CentOS 5.6<\/p>\n<p>First, configure your yum to use the official CentOS 5 &#8220;Testing&#8221; Repo, by creating the file <code>\/etc\/yum.repos.d\/CentOS-Test.repo<\/code> containing the following:<\/p>\n<p><code>[c5-testing]<br \/>\nname=CentOS-5 Testing<br \/>\nbaseurl=http:\/\/dev.centos.org\/centos\/5\/testing\/$basearch\/<br \/>\nenabled=1<br \/>\ngpgcheck=1<br \/>\ngpgkey=http:\/\/dev.centos.org\/centos\/RPM-GPG-KEY-CentOS-testing<br \/>\n<\/code><\/p>\n<p>Then (as root) run &#8216;<code>yum upgrade php<\/code>&#8216; &#038; you&#8217;re done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s very easy, using CentOS own Repositories &#038; the &#8216;yum&#8217; package management system to install a version of PHP 5.2 to CentOS 5.6 First, configure your yum to use the official CentOS 5 &#8220;Testing&#8221; Repo, by creating the file \/etc\/yum.repos.d\/CentOS-Test.repo &hellip; <a href=\"http:\/\/blog.networkpresence.co\/?p=413\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[485,75,25],"class_list":["post-413","post","type-post","status-publish","format-standard","hentry","category-network-presence","tag-centos","tag-php","tag-yum"],"_links":{"self":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=413"}],"version-history":[{"count":2,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/413\/revisions"}],"predecessor-version":[{"id":415,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/413\/revisions\/415"}],"wp:attachment":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=413"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}