Grants-Web-Net

PHP upload size bigger than post size (Joomla)

Details
Category: PHP Notes
Published: 22 April 2018
Hits: 1013

PHP upload size bigger than post size.


Add too your php.ini file


file_uploads = On
; Must be greater than or equal to upload_max_filesize
post_max_size = 100M
; Maximum allowed size for uploaded files.
upload_max_filesize = 100M

Maximum upload limits

The upload limit does not guarantee an upload will complete — only that it isn't rejected by the server.

Uploads beneath the limit can still fail because of:

    Upload speed, which can cause timeouts from your PHP script or your browser
    Your account's resource availability, which can cause large files to fail

The PHP temporary directory is not set Joomla 2.5

Details
Category: PHP Notes
Published: 20 August 2013
Hits: 1456

  1. Add to php.ini file in the root folder of your Joomla web site.
  2. upload_tmp_dir = /tmp