{"id":18393,"date":"2026-09-29T23:17:29","date_gmt":"2026-09-29T20:17:29","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/increase-phpmyadmin-upload-size-whm\/"},"modified":"2026-11-22T18:52:57","modified_gmt":"2026-11-22T15:52:57","password":"","slug":"increase-phpmyadmin-upload-size-whm","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/increase-phpmyadmin-upload-size-whm\/","title":{"rendered":"Raising the phpMyAdmin Database Import Size on a cPanel Server: The Right Setting in WHM"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>Cause and fix<\/b>phpMyAdmin inside cPanel ignores the site\u2019s PHP settings. Raise the limit in WHM <b>Tweak Settings<\/b>, <b>PHP<\/b> tab: <b>cPanel PHP max upload size<\/b> and <b>cPanel PHP max POST size<\/b> (make POST slightly larger). For very large files, import from the command line.<\/div>\n<div class=\"hy-vid\"><div style=\"width: 1280px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-18393-1\" width=\"1280\" height=\"720\" poster=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-srv-pmasize-en.jpg\" preload=\"none\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-srv-pmasize-en.mp4?_=1\" \/><a href=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-srv-pmasize-en.mp4\">https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-srv-pmasize-en.mp4<\/a><\/video><\/div><\/div>\n<p>A common mistake: the server owner raises upload_max_filesize in MultiPHP INI Editor, then finds phpMyAdmin still shows a small maximum. The reason is that phpMyAdmin in cPanel runs through cPanel\u2019s own service (cpsrvd) with PHP separate from the sites\u2019 PHP, and has its own settings in Tweak Settings.<\/p>\n<div class=\"hkb-note\"><b>Quick steps<\/b><\/p>\n<ol class=\"hkb-steps\">\n<li>Open Tweak Settings.<\/li>\n<li>Choose the PHP tab.<\/li>\n<li>Raise cPanel PHP max upload size, and cPanel PHP max POST size a little higher.<\/li>\n<li>Click Save, then reopen phpMyAdmin.<\/li>\n<\/ol>\n<\/div>\n<p class=\"hkb-path\"><code>WHM \u203a Server Configuration \u203a Tweak Settings \u203a PHP<\/code><\/p>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-sv-w-phptweak.webp\" alt=\"cPanel PHP settings in Tweak Settings: upload, POST, memory and execution time\" width=\"800\" height=\"451\" loading=\"lazy\" \/><\/figure>\n<h2>What each setting does<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Setting<\/th>\n<th>Effect on imports<\/th>\n<th>Limits shown on the page<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><b>cPanel PHP max upload size<\/b><\/td>\n<td>The largest file phpMyAdmin accepts<\/td>\n<td>50 to 2,047 MB<\/td>\n<\/tr>\n<tr>\n<td><b>cPanel PHP max POST size<\/b><\/td>\n<td>Must be larger than the upload limit or the import fails<\/td>\n<td>55 to 2,047 MB<\/td>\n<\/tr>\n<tr>\n<td><b>cPanel PHP max execution time<\/b><\/td>\n<td>Big files need longer<\/td>\n<td>90 to 500 seconds<\/td>\n<\/tr>\n<tr>\n<td><b>cPanel PHP memory limit<\/b><\/td>\n<td>Imports use memory<\/td>\n<td>From 128 MB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>What about MultiPHP INI Editor?<\/h2>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-sv-w-ini.webp\" alt=\"WHM MultiPHP INI Editor for the sites\u2019 PHP settings\" width=\"800\" height=\"457\" loading=\"lazy\" \/><\/figure>\n<p>This tool is for the PHP settings <b>websites<\/b> run with, such as WordPress\u2019s image upload size. You do not need it for the phpMyAdmin problem, but knowing the difference stops you editing the wrong place.<\/p>\n<h2>A very large file? Skip the browser<\/h2>\n<p>Even with higher limits, importing a huge file through the browser can break off. Quicker and surer:<\/p>\n<ul class=\"hkb-list\">\n<li><b>The command line<\/b>: <code>mysql user_db &lt; file.sql<\/code>; see <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/import-mysql-database-ssh\/\">importing a database over SSH<\/a>.<\/li>\n<li><b>Compress the file<\/b>: phpMyAdmin accepts .gz and .zip, and SQL files shrink a lot.<\/li>\n<li><b>Split the file<\/b>: into smaller parts imported in order.<\/li>\n<\/ul>\n<h2>If it does not work<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Symptom<\/th>\n<th>What to check<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>The limit has not changed in phpMyAdmin<\/td>\n<td>Log out of cPanel and back in; the old session keeps the old setting<\/td>\n<\/tr>\n<tr>\n<td>The import stops halfway<\/td>\n<td>Raise max execution time, or use the command line<\/td>\n<\/tr>\n<tr>\n<td><code>MySQL server has gone away<\/code><\/td>\n<td>max_allowed_packet is too small; change it in Edit Database Configuration in WHM<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Importing and exporting from the customer\u2019s side is covered in <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/import-export-mysql-database-phpmyadmin\/\">import and export with phpMyAdmin<\/a>.<\/p>\n<h2>Why is phpMyAdmin separate from the sites\u2019 PHP?<\/h2>\n<p>phpMyAdmin in cPanel is part of cPanel itself, updated with it and running with its own privileges on port 2083. If it depended on the site\u2019s PHP, it would break whenever a customer changed their PHP version or settings. So cPanel separates it entirely and gives the administrator its settings in Tweak Settings. The same separation is why cPanel\u2019s Terminal and File Manager have their own limits.<\/p>\n<p>The general rule: anything about cPanel\u2019s own tools and interfaces is set in Tweak Settings; anything about websites is set in MultiPHP INI Editor or Select PHP Version.<\/p>\n<h2>phpMyAdmin questions<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>Do I need to reboot?<\/summary>\n<p>No. Saving in Tweak Settings is enough, with a fresh cPanel login.<\/p>\n<\/details>\n<details>\n<summary>Does raising the limit affect security?<\/summary>\n<p>A very large value lets the cPanel interface accept huge requests. Choose what you actually need.<\/p>\n<\/details>\n<details>\n<summary>A shared hosting customer needs to import a big file<\/summary>\n<p>They can ask support, or import it themselves through Terminal in cPanel if it is available to them.<\/p>\n<\/details>\n<details>\n<summary>Should I raise the limit temporarily and lower it again?<\/summary>\n<p>Yes, that is sensible if it is a one-off need.<\/p>\n<\/details>\n<\/div>\n<div class=\"hkb-rel\"><b>Related guides<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/import-mysql-database-ssh\/\">How to Import a Large MySQL Database over SSH<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/mysql-commands-ssh\/\">Basic MySQL Commands to Manage Databases over SSH<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/import-export-mysql-database-phpmyadmin\/\">Export and Import a Database with phpMyAdmin in cPanel: Backups and Site Moves<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/upgrading-mysql-to-mariadb-on-a-cpanel-whm-server\/\">Upgrading MySQL to MariaDB on a cPanel\/whm server<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/\">All WHM guides \u2192<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Cause and fixphpMyAdmin inside cPanel ignores the site\u2019s PHP settings. Raise the limit in WHM Tweak Settings, PHP tab: cPanel PHP max upload size and cPanel PHP max POST size (make POST slightly larger). For very large files, import from the command line. A common mistake: the server owner raises upload_max_filesize in MultiPHP INI Editor, [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":21265,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2734],"doc_tag":[],"class_list":["post-18393","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-whm-cpanel-control-panels"],"year_month":"2026-11","word_count":604,"total_views":"1","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"WHM\/cPanel","term_url":"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=18393"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18393\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/21265"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18393"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18393"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}