How to increase the Upload Limit in phpMyAdmin?

- by

Since phpMyAdmin is written in php, all we need to do is change the file upload limit in the php.ini file. On CentOS and RHEL distributions, this file is located in /etc/php.ini

Find this section:


;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

Change the 2M to something bigger, say 100M.

Please note that this is a server wide setting and as such will affect all users on your server.



If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site without any pesky ads! More details here.

2 thoughts on “How to increase the Upload Limit in phpMyAdmin?”

Leave a Comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.