Increase Joomla Media Manager Upload File Size Limit

Joomla Media Manager default Upload Limit is 10MB.
Joomla Media Manager default Upload Limit is 10MB
This can be changed:
  • Joomla 1.6 and Joomla 1.7: Content > Media Manager > Options > Maximum Size (in MB)
  • Joomla 1.5: Global Configuration > System > Maximum Size (in bytes)
If you try to upload file which is too large, you should normally get the following error:
This file is too large to upload.
This file is too large to upload


Problem is that the above setting is Joomla specific and Joomla doesn't take into account upload size limits set in php.ini on your Apache web server.
If you try to upload a file which exceeds your PHP upload limit (by default it is just 2MB), you may get some unexpected errors.
Depending on PHP configuration and Joomla version, errors can be:
  • JFile: :read: Unable to open file:
    Warning: Failed to move file!
    Unable to upload file.

    JFile: :read: Unable to open file:
  • 500 - An error has occurred.
    500 - An error has occurred
  • Please input a file for upload
    Please input a file for upload
To increase PHP upload limit:
  • Open your php.ini file
    If you not sure where your php.ini is located, check here.
  • Find following lines
    post_max_size
    upload_max_filesize

    and increase values to the required size in MB. E.g.
    post_max_size = 10M
    upload_max_filesize = 10M
  • Save the file and restart apache
    /etc/init.d/apache2 restart

Comments  

Horton
# Horton 2013-03-21 19:01
If you don't have access to your php.ini, just add the two directives to your .htaccess file at the root of your joomla installation. This has the benefit of applying these settings only to the specific joomla install, and will not affect the rest of your PHP environment (other installations, other websites running on the same server, etc...)
koruz
# koruz 2012-12-24 11:22
where is the php.ini in my cpanel?
admin
# admin 2012-12-24 11:56
If you don't have access to actual server, look for php.ini in your cpanel. It really depends on your hosting provider. Some allow certain php.ini modification via cpanel, some don't.

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait