{"id":2167,"date":"2011-07-24T11:25:16","date_gmt":"2011-07-24T16:25:16","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=2167"},"modified":"2011-07-24T11:25:22","modified_gmt":"2011-07-24T16:25:22","slug":"updating-php-in-rhelcentos-5-6-for-wordpress-3-2","status":"publish","type":"post","link":"https:\/\/www.bytebot.net\/blog\/archives\/2011\/07\/24\/updating-php-in-rhelcentos-5-6-for-wordpress-3-2","title":{"rendered":"Updating PHP in RHEL\/CentOS 5.6 for WordPress 3.2"},"content":{"rendered":"<p>Try doing <tt>yum install php53<\/tt> on a RHEL 5.6\/CentOS 5.6 system, and see the following:<\/p>\n<pre>--&gt; Finished Dependency Resolution\nphp53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems\n  --&gt; php53-common conflicts with php-common\nError: php53-common conflicts with php-common\n You could try using --skip-broken to work around the problem\n You could try running: package-cleanup --problems\n                        package-cleanup --dupes\n                        rpm -Va --nofiles --nodigest\n<\/pre>\n<p>Not pleasant right? Seems the only workaround is to issue a <tt>yum remove php php-cli php-common<\/tt>, watch the dependencies and reinstall everything. The only thing that seems to be missing? <tt>php53-tidy<\/tt>.<\/p>\n<p>Restart Apache (<tt>service httpd restart<\/tt>). Update WordPress. If you miss on restarting the web server, it won&#8217;t detect the newer PHP install and WordPress will just show you a magical message as follows: &#8220;You cannot update because WordPress 3.2.1 requires PHP version 5.2.4 or higher. You are running version 5.1.6.&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Try doing yum install php53 on a RHEL 5.6\/CentOS 5.6 system, and see the following: &#8211;&gt; Finished Dependency Resolution php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems &#8211;&gt; php53-common conflicts with php-common Error: php53-common conflicts with php-common You could try using &#8211;skip-broken to work around the problem You could try running: package-cleanup &#8211;problems package-cleanup &#8211;dupes rpm -Va [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[38,4,42,1005,52,929],"class_list":["post-2167","post","type-post","status-publish","format-standard","hentry","category-general","tag-centos","tag-linux","tag-php","tag-rhel","tag-wordpress","tag-yum"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4vJD-yX","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=2167"}],"version-history":[{"count":1,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2167\/revisions"}],"predecessor-version":[{"id":2168,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2167\/revisions\/2168"}],"wp:attachment":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=2167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=2167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=2167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}