{"id":2147,"date":"2019-10-21T14:08:57","date_gmt":"2019-10-21T06:08:57","guid":{"rendered":"https:\/\/www.mondoze.com\/guide\/?post_type=kb&#038;p=2147"},"modified":"2022-10-05T08:03:50","modified_gmt":"2022-10-05T00:03:50","slug":"how-to-upgrade-mysql-to-5-0-and-php-to-5-x-on-cpanel-servers-dedicated-server-which-using-cpanel","status":"publish","type":"kb","link":"https:\/\/www.mondoze.com\/guide\/kb\/how-to-upgrade-mysql-to-5-0-and-php-to-5-x-on-cpanel-servers-dedicated-server-which-using-cpanel","title":{"rendered":"How to upgrade MySQL to 5.0 and PHP to 5.x on cPanel servers (Dedicated server which using cPanel)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2147\" class=\"elementor elementor-2147\" data-elementor-settings=\"[]\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-168a2321 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"168a2321\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4f98d8b5\" data-id=\"4f98d8b5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fc8813e elementor-widget elementor-widget-heading\" data-id=\"fc8813e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Upgrade MySQL to 5.0 and PHP to 5.x<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-12e3287f elementor-widget elementor-widget-text-editor\" data-id=\"12e3287f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<article id=\"article-body\" class=\"article-body\"><p dir=\"ltr\">MySQL and PHP upgrade on cPanel are very simple process, here is a list of steps that needs to be taken to upgrade these two components:<\/p><p>1. Login to your WHM as root.<\/p><p>2. Go to WHM &gt;&gt; Server Configuration &gt;&gt; Tweak Settings, scroll down to &#8220;MySQL&#8221; section, switch radio button to &#8220;5.0&#8221; and click &#8220;Save&#8221; at the bottom of the screen.<\/p><p>3. For this to take effect, open root level ssh session to your server and run the &#8220;\/scripts\/mysqlup&#8221; command, wait until installation will be completed.<\/p><p>4. Login to WHM as root.<\/p><p>5. Go to WHM &gt;&gt; Main &gt;&gt; Software &gt;&gt; Apache Update.<\/p><p>6. Click on the &#8220;Load Previous Config&#8221; button (if exists).<\/p><p>7. Select required PHP version and PHP options that your applications may need.<\/p><p>8. Click &#8220;Start build&#8221; button at the bottom of the screen and wait 15-30 minutes. (depend on the connection as well)<\/p><p>For MySQL upgrade, you may also need to run \/scripts\/perlinstaller &#8211;force Bundle::DBD::mysql.<br \/>Please note that updating from a previous version of MySQL\u00ae to a later version is not automatically reversable. You should backup your databases if you think you might wish to downgrade in the future.<br \/>For php\/Mysql upgrade, kindly make sure that your applications are compatible with the latest version before do the upgrading.<\/p><\/article>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Upgrade MySQL to 5.0 and PHP to 5.x MySQL and PHP upgrade on cPanel are very simple process, here is a list of steps that needs to be taken to upgrade these two components: 1. Login to your WHM as root. 2. Go to WHM &gt;&gt; Server Configuration &gt;&gt; Tweak Settings, scroll down to &#8220;MySQL&#8221; &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.mondoze.com\/guide\/kb\/how-to-upgrade-mysql-to-5-0-and-php-to-5-x-on-cpanel-servers-dedicated-server-which-using-cpanel\"> <span class=\"screen-reader-text\">How to upgrade MySQL to 5.0 and PHP to 5.x on cPanel servers (Dedicated server which using cPanel)<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[44],"kbtag":[110],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2147"}],"collection":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/comments?post=2147"}],"version-history":[{"count":6,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2147\/revisions"}],"predecessor-version":[{"id":18650,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2147\/revisions\/18650"}],"wp:attachment":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/media?parent=2147"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=2147"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtag?post=2147"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=2147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}