Bobcares

Bitnami WordPress: Increase upload size

by | Nov 13, 2021

Here’s what you need to know about, “Bitnami WordPress: Increase upload size”.

As part of our WordPress Hosting Services, we assist our customers with several Bitnami WordPress queries.

Today, let us see how our support engineers increase the upload size.

 

Bitnami WordPress: Increase upload size

In this article, our Support Techs discuss two approaches. If the Bitnami stack uses native Linux system packages, or if it is a self-contained installation.

On account of these changes, the file paths may change.

In order to identify the Bitnami installation type and what approach to follow, we run the command below:

test ! -f “/opt/bitnami/common/bin/openssl” && echo “Approach A: Using system packages.” || echo “Approach B: Self-contained installation.”

From the output of the command, we can find the approach the installation uses.

In addition, it will allow us to identify the paths, configuration, and commands to use.

Moving ahead, let us see how we can perform this in both approaches.

To increase the allowed size for uploads, our Support Techs recommend the steps below:

  • Bitnami installations using system packages

In this case, we need to modify the following options in the php.ini file:

upload_max_filesize=80M
post_max_size=80M
  • Self-contained Bitnami installations

On the other hand, in this scenario, we modify the following options in the /opt/bitnami/apps/phpmyadmin/conf/httpd-app.conf file:

<IfModule php7_module>
php_value upload_max_filesize 80M
php_value post_max_size 80M
</IfModule>

However, if we use the PHP-FPM, we need to modify the settings in the /opt/bitnami/apps/phpmyadmin/conf/php-fpm/php-settings.conf file:

php_value[upload_max_filesize]=80M
php_value[post_max_size]=80M

 

Conclusion

In short, we saw how our Support Techs increase the upload size in Bitnami WordPress.

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.