I'm configuring a sever running Plesk 9 on CentOS 5 and can't get files to upload via a PHP script over 2 MB.
6/9/2009 3:39:40 PM
Edit your php.ini filechange upload_max_filesize to whatev.
6/9/2009 3:47:21 PM
I changed it to 200M, however anything more than ~5M doesn't upload.I think I'm hitting a stop with timeout for the upload, but can't figure it out.
6/9/2009 3:51:19 PM
almost definitely a timeout issue
6/9/2009 3:52:54 PM
Current PHP.INI configuration:
; File Uploads ;;;;;;;;;;;;;;;;;; Whether to allow HTTP file uploads.file_uploads = On; Temporary directory for HTTP uploaded files (will use system default if not; specified).;upload_tmp_dir =; Maximum allowed size for uploaded files.upload_max_filesize = 250M
6/9/2009 3:57:41 PM
Try changing the value for max_execution_time[Edited on June 9, 2009 at 3:59 PM. Reason : oh word]
6/9/2009 3:58:24 PM
;;;;;;;;;;;;;;;;;;;; Resource Limits ;;;;;;;;;;;;;;;;;;;;max_execution_time = 300 ; Maximum execution time of each script, in secondsmax_input_time = 600 ; Maximum amount of time each script may spend parsing request datamemory_limit = 128M
6/9/2009 4:14:13 PM
Okay, changed the limits to above and it STILL doesn't work. (rebooted of course)Ideas?
6/11/2009 6:38:52 AM
tried both ie and firefox?
6/11/2009 9:38:21 AM
^ Do what?^^ Can you post the script here? Can you try it on a different server?
6/11/2009 9:47:41 AM
have you tried to upload via a browser on the server and see if you get over 5M? i.e. making sure it's just a timeout issue?have you timed it?
6/11/2009 11:10:41 AM