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:
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]
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.