Rate for post

Why does this issue happens?

This is a general 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 relates to 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. So, 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 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

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

  1. Use FTP or File Manager from your hosting panel and go to your website source code
  2. Create a new php.ini file in the root of your website (if this file already exist, you just open it)
  3. Add the following code to your php.ini file

                             upload_max_filesize = 256M
                             post_max_size = 256M

Php-Upload-Size-2Mb-Joomla
So, 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 screenshot

Define This Value Via Php.ini File If Your Hosting Support Php.ini File From Your System, Increasing The Max Upload Size Is Done In The Following Manner: Use Ftp Or File Manager From Your Hosting Panel And Go To Your Website Source Code Create A New Php.ini File In The Root Of Your Website (If This File Already Exist, You Just Open It) Add The Following Code To Your Php.ini File Upload_Max_Filesize = 256M Post_Max_Size = 256M

So, Is this big issue?

No, this is a small and simple issue, but many people faced 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’s why I’m writing this guide for everyone. You can take a look for 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 *

Flash Sale Enjoy your purchase with 25% OFF on today! code: FLASHSALE25 More Details
Flash Sale Enjoy your purchase with 25% OFF on today! code: FLASHSALE25 More Details