note 101761 deleted from features.file-upload.post-method by peehaa
| From: | peehaa@php.net | Date: | Wed, 22 Feb 2017 09:26:07 +0000 |
| Subject: | note 101761 deleted from features.file-upload.post-method by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208783@lists.php.net to get a copy of this message | ||
Note Submitter: mail at markuszeller dot com
----
If you want to increase the upload size, it could make sense to allow it only to a specified
directory and not in the php.ini for the whole domain or server. In my case it worked very well
placing that into the .htaccess file like this:
php_value upload_max_filesize 100M
php_value post_max_size 101M
Remember, post_max_size must be bigger than the upload_max_filesize.