Joomla 3.2 Increase the upload_max_filesiz

36,483

Solution 1

If you are using XAMPP , php.ini file will be located in c:\XAMPP\php folder. Find the file and increase file upload size there. If you are using WAMP, You can find ini file in /wamp/bin/php directory. The location may vary from one OS to another. You can follow this link:

http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/

Solution 2

Edit your php.ini and increase *upload_max_filesize* and *post_max_size*; then restart your web server.

If you don't know where is your php.ini, create a php file to discover: echo php_ini_loaded_file();

The returned path is where your php.ini is located.

EDIT

Well, seems like you have a permission error and not size limit. Try to change permissions of the temp Joomla folder (you can see/configure it on Global Configuration > System).

Solution 3

You can call in your script ini_set function and change values, which have been stored in php.ini (any changes has affected only for current script, but not for global settings)

ini_set('post_max_size', "%value in MiB for example 16M%")
ini_set('upload_max_filesize', "%value in MiB for example 16M%")

You can read more about it at php.net

Solution 4

If you can't resolve the PHP limitation easily, an alternative is to FTP the installation file to the /tmp folder and in Extension Manager -> Install, use the "Install from Directory" option instead.

Share:
36,483
Aly_Elgahy
Author by

Aly_Elgahy

Updated on July 22, 2022

Comments

  • Aly_Elgahy
    Aly_Elgahy almost 2 years

    I am trying to download this template on Joomla 3.2 extension manger : http://scriptmafia.org/templates/115622-yt-moustache-yootheme-for-joomla-25-32.html but every time I upload it, it gives me this error:

    There was an error uploading this file to the server.

    I have read articles about "increase the upload max size in the php.ini file". I have tried to find this file in the administrator files section in Joomla, but it is "not found".

    So how can I fix this problem? It has not happened for this template only, it has happened for several. So I am almost sure it is due to the upload size.