File uploads - sanity check
| From: | H. Wade Minter | Date: | Mon, 20 Nov 2000 16:21:34 +0000 |
| Subject: | File uploads - sanity check | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26285@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a PHP script (PHP 4.0.3/Apache 1.3.14) that's managing a file
upload area. I'm trying to enable large file uploads. It was working
fine with the file limit set to 8MB, but when I tried to up it to 20MB, it
still seems that files larger than 8MB are getting rejected.
Here's what's in my php.ini file:
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 60 ; Maximum execution time of each script, in
seconds
memory_limit = 20971520 ; Maximum amount of memory a script may
consume (20MB)
.....
upload_max_filesize = 20971520 ; 20 Meg default limit on file
uploads
######
However, when I try to upload a 13MB file, the script sits there like it's
processing, but when it returns, the name of the tmp file isn't set, and
nothing gets done.
If anyone has any pointers, I'd be most grateful!
Thanks,
Wade
- --
H. Wade Minter | NeTraverse, Inc.
System Administrator | minter@netraverse.com
"For everything I learn, there are two I don't understand..."
--Indigo Girls, "It's Alright"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6GU+RX5y4ZKLK2pMRAoIJAKDBoo5Wfx1YrAmWNnG3U7sQx3FN0QCgq8ju
/qFnXVRGgsolC/kpv2sNyOM=
=ZNmx
-----END PGP SIGNATURE-----