{"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":"http:\/\/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<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20Updating%20PHP%20in%20RHEL%2FCentOS%205.6%20for%20WordPress%203.2&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2011%2F07%2F24%2Fupdating-php-in-rhelcentos-5-6-for-wordpress-3-2&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"5b18121e77\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2011\/07\/24\/updating-php-in-rhelcentos-5-6-for-wordpress-3-2?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-2167\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2011\/07\/24\/updating-php-in-rhelcentos-5-6-for-wordpress-3-2?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-2167\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2011\/07\/24\/updating-php-in-rhelcentos-5-6-for-wordpress-3-2?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-2167\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2011\/07\/24\/updating-php-in-rhelcentos-5-6-for-wordpress-3-2?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","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<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20Updating%20PHP%20in%20RHEL%2FCentOS%205.6%20for%20WordPress%203.2&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2011%2F07%2F24%2Fupdating-php-in-rhelcentos-5-6-for-wordpress-3-2&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"5b18121e77\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2011\/07\/24\/updating-php-in-rhelcentos-5-6-for-wordpress-3-2?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-2167\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2011\/07\/24\/updating-php-in-rhelcentos-5-6-for-wordpress-3-2?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-2167\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2011\/07\/24\/updating-php-in-rhelcentos-5-6-for-wordpress-3-2?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-2167\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2011\/07\/24\/updating-php-in-rhelcentos-5-6-for-wordpress-3-2?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[1],"tags":[38,4,42,1005,52,929],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-yX","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":602,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/03\/embracing-chkconfig-to-auto-start-services-like-mysql-on-rhelcentosfedoraetc","url_meta":{"origin":2167,"position":0},"title":"Embracing chkconfig to auto-start services (like mysql) on RHEL\/CentOS\/Fedora\/etc.","date":"3\/8\/2007","format":false,"excerpt":"I was at MODM4 yesterday, and as always, great fun was had. One common recurring theme though, was getting MySQL to start automatically upon a Linux server's restart, something which I would have thought just came pretty naturally to sys-admin types. Upon further probing, these systems were all generally CentOS\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":476,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/02\/24\/sysadmin-adventures","url_meta":{"origin":2167,"position":1},"title":"Sysadmin adventures","date":"24\/2\/2007","format":false,"excerpt":"Well, its been a while since I dirtied my hands in the sysadmin forays. I was wondering why my system was not accepting mail for a domain that clearly pointed to it. Running host just pointed to the mailserver correctly, but when I ran it on the mailserver, there was\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":691,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/01\/08\/zimbra-claims-zcs-50-issues-are-the-fault-of-centos","url_meta":{"origin":2167,"position":2},"title":"Zimbra claims ZCS 5.0 issues are the fault of CentOS","date":"8\/1\/2008","format":false,"excerpt":"If CentOS (and by the same vein, Oracle Enterprise Linux) claims compatibility with RHEL, why is Zimbra saying that the issue with ZCS 5.0, Scalar::Util, and Perl, is caused by CentOS? QA'ing against RHEL, and not CentOS is expected, but saying there's no compatibility between CentOS and RHEL, sounds like\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1593,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2009\/10\/12\/mysql-in-rhel5centos5-gets-an-update","url_meta":{"origin":2167,"position":3},"title":"MySQL in RHEL5\/CentOS5 gets an update","date":"12\/10\/2009","format":false,"excerpt":"It's worth noting that Red Hat Enterprise Linux (RHEL) 5 has had an update to MySQL in the last month. This naturally means that CentOS 5 also had a similar update. It's now bumped up to MySQL 5.0.77 (goodbye 5.0.45!; which is what RHEL5 shipped with). This is a moderate\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2744,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/06\/12\/mariadb-10-0-3-installing-the-additional-engines","url_meta":{"origin":2167,"position":4},"title":"MariaDB 10.0.3: installing the additional engines","date":"12\/6\/2013","format":false,"excerpt":"So MariaDB 10.0.3 Alpha is out. Download it\u00a0and remember to provide feedback. When you run SHOW ENGINES by default, you don't get CassandraSE or the CONNECT engine. Make sure you do a yum install MariaDB-cassandra-engine and a yum install MariaDB-connect-engine.\u00a0 You will run into conflicts if you had an older\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2673,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/15\/using-mariadb-on-centos-6","url_meta":{"origin":2167,"position":5},"title":"Using MariaDB on CentOS 6","date":"15\/3\/2013","format":false,"excerpt":"This is just for testing purposes, but you might want to play around with MariaDB 5.5.29 coming via the CentOS 6 repositories as mentioned in this post. Please test it out and report bugs if required. The process was simple on a fresh install: yum update cd \/etc\/yum.repos.d\/ wget http:\/\/dev.centos.org\/centos\/6\/mariadb\/mariadb.repo\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2167"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=2167"}],"version-history":[{"count":1,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2167\/revisions"}],"predecessor-version":[{"id":2168,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2167\/revisions\/2168"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=2167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=2167"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=2167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}