Bobcares

Bitnami: Increase Upload Size – How to do this?

by | Nov 16, 2021

Wondering about Bitnami: Increase Upload Size? We can help you.

In order to increase the size, we need to increase the size we have for uploads.

As part of our Server Management Services, we assist our customers with several Bitnami queries.

Today, let us see how we can alter the upload size.

 

Bitnami: Increase Upload Size

In order to increase the allowed size for uploads, we modify the following options in the /opt/bitnami/php/etc/php.ini file:

; Maximum size of POST data that PHP will accept.
post_max_size = 16M

; Maximum allowed size for uploaded files.
upload_max_filesize = 16M

Suppose the default Web server configuration limits are too low for the file sizes that we plan to upload.

In that case, we can also increase those limits in the /opt/bitnami/apache2/conf/httpd.conf file.

In order to do so, we set the LimitRequestBody parameter to a new value in bytes, as shown below:

LimitRequestBody 16384

Eventually, for the changer to take effect, we restart the servers.

sudo /opt/bitnami/ctlscript.sh restart

[Need further assistance? We are here for you]

 

Conclusion

In short, we can increase the size from the /opt/bitnami/php/etc/php.ini file. In this article, we saw an easy and effective method our Support Techs employ to perform the size query.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.