{"id":4349,"date":"2013-02-20T00:04:55","date_gmt":"2013-02-19T16:04:55","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=4349"},"modified":"2023-06-26T21:16:34","modified_gmt":"2023-06-26T21:16:34","slug":"work-around-for-error-php53-odbc64-conflicts-with-php53-odbc","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/work-around-for-error-php53-odbc64-conflicts-with-php53-odbc\/","title":{"rendered":"Work around for error &#8220;php53-odbc64 conflicts with php53-odbc&#8221;"},"content":{"rendered":"<p>When managing a server, you may encounter various challenges that require specific solutions. One such issue is the &#8220;php53-odbc64 conflicts with php53-odbc&#8221; error that occurs when trying to install the PHP package on CentOS5.9 using the command &#8220;yum install php53*&#8221; or &#8220;yum install php&#8221;.<\/p>\n<pre>\r\n..\r\n..\r\n..\r\n  --> php53-odbc64 conflicts with php53-odbc\r\nError: php53-odbc64 conflicts with php53-odbc\r\n You could try using --skip-broken to work around the problem\r\n You could try running: package-cleanup --problems\r\n                        package-cleanup --dupes\r\n                        rpm -Va --nofiles --nodigest\r\n..\r\n..\r\n<\/pre>\n<p>This guide will provide you with a step-by-step workaround for this issue, ensuring that your server runs smoothly and efficiently.<\/p>\n<p>For a deeper understanding of web servers, you may want to explore our guide on the <a href=\"https:\/\/webhostinggeeks.com\/best\/web-server\/\">best web servers<\/a>. If you&#8217;re interested in specific servers like <a href=\"https:\/\/webhostinggeeks.com\/blog\/apache-http-server-explained\/\">Apache<\/a>, <a href=\"https:\/\/webhostinggeeks.com\/blog\/nginx-server-explained\/\">Nginx<\/a>, or <a href=\"https:\/\/webhostinggeeks.com\/blog\/litespeed-web-server-explained\/\">LiteSpeed<\/a>, we have detailed articles on those as well.<\/p>\n<h2>Understanding the Error<\/h2>\n<p>The error &#8220;php53-odbc64 conflicts with php53-odbc&#8221; typically occurs when you attempt to install the PHP package on CentOS5.9. This error is a result of a conflict between the php53-odbc64 and php53-odbc packages.<\/p>\n<p>When you run the command &#8220;yum install php53*&#8221; or &#8220;yum install php&#8221;, the system tries to install all the PHP 5.3 packages available in the repository. However, the php53-odbc and php53-odbc64 packages cannot coexist, leading to the conflict.<\/p>\n<p>Example:<\/p>\n<pre>\r\n[root@centos59 ~]# yum install php53*\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: mirror.nus.edu.sg\r\n * extras: mirror.nus.edu.sg\r\n * updates: mirror.nus.edu.sg\r\nSetting up Install Process\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package php53.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-bcmath.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-cli.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-common.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-dba.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-devel.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-gd.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-imap.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-intl.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-ldap.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-mbstring.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-mysql.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-odbc.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-odbc64.i386 0:5.3.3-2.el5 set to be updated\r\n--> Processing Dependency: libodbc.so.2 for package: php53-odbc64\r\n---> Package php53-pdo.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-pgsql.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-process.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-pspell.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-snmp.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-soap.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-xml.i386 0:5.3.3-13.el5_8 set to be updated\r\n---> Package php53-xmlrpc.i386 0:5.3.3-13.el5_8 set to be updated\r\n--> Running transaction check\r\n---> Package unixODBC64-libs.i386 0:2.2.14-3.el5 set to be updated\r\n--> Processing Dependency: libltdl.so.3 for package: unixODBC64-libs\r\n--> Running transaction check\r\n---> Package libtool-ltdl.i386 0:1.5.22-7.el5_4 set to be updated\r\n--> Processing Conflict: php53-odbc64 conflicts php53-odbc\r\n--> Finished Dependency Resolution\r\nphp53-odbc64-5.3.3-2.el5.i386 from base has depsolving problems\r\n  --> php53-odbc64 conflicts with php53-odbc\r\nError: php53-odbc64 conflicts with php53-odbc\r\n You could try using --skip-broken to work around the problem\r\n You could try running: package-cleanup --problems\r\n                        package-cleanup --dupes\r\n                        rpm -Va --nofiles --nodigest\r\n<\/pre>\n<h2>Resolving the Error<\/h2>\n<p>The solution to this issue is relatively straightforward. As suggested in the error log, you can use the &#8211;skip-broken option with the yum install command. This option allows yum to skip packages that cannot be installed for any reason (in this case, due to the conflict) and proceed with the installation of other packages.<\/p>\n<p>Here&#8217;s the command you need to run:<\/p>\n<pre>\r\nyum install php53* --skip-broken\r\n<\/pre>\n<p>This command instructs yum to install all the PHP 5.3 packages, skipping any that cause problems. As a result, it bypasses the conflicting php53-odbc64 package and installs the rest.<\/p>\n<h2>Commands Mentioned<\/h2>\n<ul>\n<li><span class=\"fw-bold\">yum install php53*<\/span> \u2013 This command attempts to install all PHP 5.3 packages available in the repository.<\/li>\n<li><span class=\"fw-bold\">yum install php53* &#8211;skip-broken<\/span> \u2013 This command attempts to install all PHP 5.3 packages, skipping any that cause conflicts or other issues.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>Server management often involves troubleshooting various issues, and understanding how to resolve them is crucial for maintaining a smoothly running server. The &#8220;php53-odbc64 conflicts with php53-odbc&#8221; error is one such issue that can be resolved by using the &#8211;skip-broken option with the yum install command. This workaround allows you to install the necessary PHP packages without being hindered by package conflicts.<\/p>\n<p>Remember, whether you&#8217;re dealing with a <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-dedicated-server-hosting\/\">dedicated server<\/a>, a <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-vps-hosting\/\">VPS server<\/a>, <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-cloud-hosting\/\">cloud hosting<\/a>, or <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-shared-hosting\/\">shared hosting<\/a>, understanding how to troubleshoot common issues is key to effective server management. Stay tuned for more in-depth guides and tutorials to help you navigate the world of web hosting and server management.<\/p>\n<h2>FAQs<\/h2>\n<ol itemscope itemtype=\"https:\/\/schema.org\/FAQPage\">\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">What does the &#8220;php53-odbc64 conflicts with php53-odbc&#8221; error mean?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">This error occurs when there&#8217;s a conflict between the php53-odbc and php53-odbc64 packages during the installation of PHP 5.3 on CentOS5.9. The system cannot install both packages simultaneously, leading to this error.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemitemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">What does the &#8211;skip-broken option do in the yum install command?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">The &#8211;skip-broken option instructs yum to skip packages that cannot be installed due to conflicts or other issues, and proceed with the installation of other packages. This allows the installation process to continue even if some packages cannot be installed.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">Why can&#8217;t the php53-odbc and php53-odbc64 packages coexist?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">The php53-odbc and php53-odbc64 packages cannot coexist because they are different versions of the same package. Installing both would lead to conflicts in the system, hence the error.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">What is the impact of the &#8220;php53-odbc64 conflicts with php53-odbc&#8221; error on my server?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">This error prevents the installation of PHP 5.3 on your server. Without a successful installation, your server may not be able to run PHP-based applications or websites effectively.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">Can I manually install the conflicting packages separately to resolve the error?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">No, manually installing the conflicting packages separately will not resolve the error. The conflict arises because these packages cannot coexist. The recommended solution is to use the &#8211;skip-broken option to bypass the conflicting package during installation.<\/span>\n            <\/p>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>When managing a server, you may encounter various challenges that require specific solutions. One such issue is the &#8220;php53-odbc64 conflicts with php53-odbc&#8221; error that occurs when trying to install the&#8230;<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1025],"tags":[1244,1646],"class_list":["post-4349","post","type-post","status-publish","format-standard","hentry","category-php","tag-centos","tag-php"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=4349"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4349\/revisions"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=4349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=4349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=4349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}