note 1746 modified in Handling file uploads by ronabop
| From: | ronabop@php.net | Date: | Sun, 05 Nov 2000 04:40:32 +0000 |
| Subject: | note 1746 modified in Handling file uploads by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7396@lists.php.net to get a copy of this message | ||
On my system (Solaris 7/SPARC, Apache 1.3.9), in order to be able to upload files larger than 8 MB,
you need to increase the memory_limit in php3.ini to a value larger than 8 MB.
For example, if MAX_FILE_SIZE is set to 209715199 in your form and upload_max_filesize is set to
209715200 in php3.ini, the largest file that can be uploaded is 7996 kilobytes or about 8 MB.
Increasing the memory_limit (I increased mine to 100 MB) allows me to upload files that are up to
100 MB in size.
http://www.php.net/manual/handling-file-uploads.php