{"id":1039,"date":"2020-06-04T18:27:50","date_gmt":"2020-06-04T10:27:50","guid":{"rendered":"https:\/\/www.wesbytes.com\/guide\/?post_type=kb&#038;p=1039"},"modified":"2026-01-12T12:13:58","modified_gmt":"2026-01-12T04:13:58","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.servergigabit.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":"<h3 dir=\"ltr\"><strong>Upgrade MySQL to 5.0 and PHP to 5.x<\/strong><\/h3>\n<p dir=\"ltr\"><a href=\"https:\/\/www.mysql.com\/\" rel=\"nofollow noopener\" target=\"_blank\">MySQL<\/a> 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>\n<p>1. Login to your WHM as root;<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/14063635418\/original\/UCim8vmvpGkzDNjUAjkke4gf6vssYn7o6A.png?1585036842\" alt=\"Upgrade MySQL to 5.0 and PHP to 5.x\" width=\"553\" height=\"475\" \/><\/p>\n<p>2. Go to WHM &gt;&gt; Server Configuration &gt;&gt; Tweak Settings, scroll down to \u201cMySQL\u201d section, switch radio button to \u201c5.0\u201d and click \u201cSave\u201d at the bottom of the screen;<\/p>\n<p>3. For this to take effect, open root level ssh session to your server and run the \u201c\/scripts\/mysqlup\u201d command, wait until installation will be completed;<\/p>\n<p>4. Login to WHM as root;<\/p>\n<p>5. Go to WHM &gt;&gt; Main &gt;&gt; Software &gt;&gt; Apache Update<\/p>\n<p>6. Click on the \u201cLoad Previous Config\u201d button (if exists);<\/p>\n<p>7. Select required PHP version and PHP options that your applications may need;<\/p>\n<p>8. Click \u201cStart build\u201d button at the bottom of the screen and wait 15-30 minutes.(depend on the connection as well)<\/p>\n<p>For MySQL upgrade, you may also need to run \/scripts\/perlinstaller \u2013force Bundle::DBD::mysql.<br \/>\nPlease 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 \/>\nFor php\/Mysql upgrade, kindly make sure that your applications are compatible with the latest version before do the upgrading.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","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 \u201cMySQL\u201d section, switch radio button to&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[34],"kbtag":[1215,1558],"class_list":["post-1039","kb","type-kb","status-publish","hentry","kbtopic-cpanel","kbtag-mysql","kbtag-php"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=1039"}],"version-history":[{"count":4,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1039\/revisions"}],"predecessor-version":[{"id":5920,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1039\/revisions\/5920"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=1039"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=1039"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=1039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}