5/5 - (2 votes)

Why do you encounter this issue?

This is an overall issue for the greater part of Joomla! users, in light of the fact that Joomla! gets default max file size from the hosting panel. This issue identifies with PHP file upload from hosting/server configuration, the majority of old hosting/server providers use 2MB as the default value for this PHP max file upload. Thus, you can’t install any extensions or templates with a file size larger than 2MB.

How to solve the upload limit of 2MB?

There are two different ways to increase PHP file upload in your hosting, by php.ini config or by means of Joomla! panel.

Define this value via php.ini file

On the off chance that your hosting support php.ini file from your system, increasing the max upload size is done in the following manner:

– Step 1: Use FTP or File Manager from your hosting panel and go to your site source code

– Step 2: Make another php.ini file in the root of your site (if this file as of now exist, you simply open it)

– Step 3: Add the following code to your php.ini file

                 upload_max_filesize = 256M

                 post_max_size = 256M

php-upload-size-2mb-joomla

In this way, you can check PHP Max filesize by going to Admin > System > System information, tab PHP information, look for upload_max_filesize. You can use the PHP info function to show it, by creating a new file (such as info.php) and place the PHP info code here.

Define upload limit via Joomla! system

Indeed, this is recommended way, you can define PHP max filesize by means of Joomla! media upload config panel, by going to Admin > Content > Media, click to button “Options” at the top right and find the option “Maximum Size”, see my screen capture

config-php-upload-size-in-joomla

So, Is this a big issue?

No, this is a little and simple issue, yet numerous individuals confronted it from Joomla! 1.5.x to 3.9.x (latest now). We just updated a new template package for Joomla! templates and file size is more than 2MB, that is the reason we are writing this guide for everyone. You can take a look at our Free Joomla templates collection, it’s responsive, mobile-first designed, and SEO optimization templates. If you tried this solution but had no luck, feel free to leave your comments.

 

Leave a Reply

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

Save 99% money with single purchase! Get All-In-One DEV package: Access all paid products! Unlimited Downloads with more than 300+ PRO items Sign Up Now!
Merry xMas & Happy New Year sale! Get 50% OFF for your purchase on today! Coupon code: XMASNEWYEAR Redeem Now