{"id":481,"date":"2011-12-12T15:25:01","date_gmt":"2011-12-12T20:25:01","guid":{"rendered":"http:\/\/www.serverprontouniversity.com\/?p=481"},"modified":"2018-10-11T23:01:34","modified_gmt":"2018-10-12T04:01:34","slug":"support-of-the-day-downgrade-php-5-3-to-5-2-on-centos-6","status":"publish","type":"post","link":"https:\/\/www.serverpronto.com\/spu\/2011\/12\/support-of-the-day-downgrade-php-5-3-to-5-2-on-centos-6\/","title":{"rendered":"Downgrade PHP 5.3 to 5.2 on CentOS 6"},"content":{"rendered":"<p>If a downgrade to PHP 5.2 is needed do the following:<\/p>\n<p>1. The repositories for Centos 6 do not include old packages (another reason to stick with 5.6) so we need to pull all packages needed.<br \/>\nTherefore we access the server, create a folder there (mkdir php) and then enter that folder (cd php)<\/p>\n<p>2. Once inside we need to download all packages needed; One trusted source is this: <a href=\"http:\/\/www6.atomicorp.com\/channels\/atomic\/centos\/6\/x86_64\/RPMS\/\">http:\/\/www6.atomicorp.com\/channels\/atomic\/centos\/6\/x86_64\/RPMS\/<\/a><br \/>\nOnce you have opened that on your browser, search for all php- .rpm files that are for your Centos version, there is 32 and 32+64 bits, to know the correct one do a uname \u00e2\u20ac\u201ca at the server, if you see it says x86_64 then make sure that all .rpm files you download have that on their names, then<\/p>\n<p>wget them to the server:<br \/>\nWget http:\/\/www6.atomicorp.com\/&#8230;\/RPMS\/php-5.2.x.x.x.x.rpm<br \/>\nOnce you have downloaded all files that begin with php- proceed to install the following files:<br \/>\nYum install Automake autoconf libt1*<br \/>\n**make sure to add that ^ asterisk too<\/p>\n<p>3. Once completed then type: rpm &#8211;oldpackage -Uvh php*<\/p>\n<p>4. When done, type php \u00e2\u20ac\u201cv to check the version, it should say 5.2 &#8211; Done<\/p>\n<p><a href=\"https:\/\/www.serverpronto.com\">ServerPronto<\/a> offers the best affordable and secure hosting service in all dedicated server packages.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If a downgrade to PHP 5.2 is needed do the following: 1. The repositories for Centos 6 do not include old packages (another reason to stick with 5.6) so we need to pull all packages needed. Therefore we access the server, create a folder there (mkdir php) and then enter that folder (cd php) 2.<\/p>\n","protected":false},"author":2,"featured_media":2118,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[123,17,22,18],"class_list":["post-481","post","type-post","status-publish","format-standard","has-post-thumbnail","category-support-of-the-day","tag-cloud","tag-dedicated-server","tag-server","tag-web-hosting"],"_links":{"self":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/comments?post=481"}],"version-history":[{"count":5,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/481\/revisions"}],"predecessor-version":[{"id":2917,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/481\/revisions\/2917"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/media\/2118"}],"wp:attachment":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/media?parent=481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/categories?post=481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/tags?post=481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}