WordPress Upload Large File

I wish I knew this earlier could save a bunch of time and headaches.

It’s an issue when WordPress users import a large file by using the WP All In One plugin. By default, the plugin only allows us to upload file size under 4MB, following their guide to increase the limit as shown below in php.ini file (sudo vi /opt/bitnami/php/etc/php.ini)

upload_max_filesize 128M
post_max_size 128M
memory_limit 256M
max_execution_time 300
max_input_time 300

Stil, they are not enough! The remaining configuration that I need to add will be shared below.

In my.cnf file (sudo vi /opt/bitnami/mysql/my.cnf)


In httpd.conf file (sudo vi /opt/bitnami/apache2/conf/httpd.conf)

LimitRequestBody 104857600

Finally, restart the apache server and mysql service then you’re good to go.

sudo /opt/bitnami/ctlscript.sh restart



Share & Spread the love
Close Bitnami banner