Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
PHP File Uploads
Name: Clicker Date: November 23, 2004 at 13:37:36 Pacific OS: Linux CPU/Ram: 1.6 Gig/512 MB
Comment:
I have a PHP script running on a Linux box using Apache server. PHP script is used to upload files to the server. When I try to upload files of size less that 1MB, it works fine, but when files larger than 1MB are uploaded I get a 404 error.
I have changed the upload size to 5MB in php.ini file, is there anything else to correct this.
Name: SN Date: November 23, 2004 at 13:41:35 Pacific
Reply:
Did you restart apache after changing php.ini?
-SN
0
Response Number 2
Name: Clicker Date: November 23, 2004 at 15:44:08 Pacific
Reply:
yes apache has been restarted.
0
Response Number 3
Name: SN Date: November 23, 2004 at 17:11:16 Pacific
Reply:
I can think of a few possible causes... 1. You forgot to set post_max_size, which needs to be greater than max_upload_size. 2. Your script is timing out on larger downloads...Change script timeout time. 3. You're exceeding max_input_time with larger files.
Summary: Hi, I am trying to get file uploads in PHP to work properly and I think I may be overlooking something obvious. I'm using MiniApache_PHP. It will let me upload small files (I tried small text files an...
Summary: I posted this a while ago regarding PHP multiple file uplaod...here it is again I have a form where multiple files are being uploaded. If the file size is less that 100K, all the files are uploaded ot...