Upload max file size to import on phpMyAdmin

Published August 21, 2015
Estimated reading time: 1 minute

The max file size that will be imported on phpMyAdmin can be changed easily.

Necessity

Import files on phpMyAdmin with largest size.

Environment

 OS: Ubuntu 14.04
PHP: 5.5.9

Solution

Open for edit /etc/php5/apache2/php.ini file.

sudo nano /etc/php5/apache2/php.ini

Change values depending of the size you need.

upload_max_filesize = 128M
post_max_size = 128M

Restart Apache service.

sudo service apache2 restart
Published August 21, 2015