PDA

View Full Version : [HELP] with php.ini set up !


DaHiA
10-07-2006, 12:20 AM
im trying to set my upload limit upto 500MB per file,but it works too slow and never reaches even 50MB
Kindly,check my php.ini file and guide me if there is something i can fix

Appreciating your time and Thanks in advance
--
please,check mine Here (http://taiseer.net/php.ini)
what do you think !:rolleyes:

eymerich
10-07-2006, 02:57 AM
I suggest you to reconsider the use of PHP scripts to handle such large files uploads, with 500MB you may have to extend the script timeout to a level that I think is caught before by the automatic process killer on all non static IP boxes.

Maybe you should use the public ftp feature.

DaHiA
10-07-2006, 03:09 AM
it's okay,i just need to optimize this ini file to the peak
then,i will test it and if i didn't work i will be obligated to goto public ftp

any suggestions regarding this php.ini optimization !!

bobdog
10-07-2006, 10:33 AM
Starting at about line 252:

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads = On ; Whether to allow HTTP file uploads
;upload_tmp_dir = ; temporary directory for HTTP uploaded files (will use system default if not specified)
upload_max_filesize = 500M ; Maximum allowed size for uploaded files

DaHiA
10-07-2006, 01:40 PM
Starting at about line 252:
...
upload_max_filesize = 500M ; Maximum allowed size for uploaded files
im sorry i can't get your highlighted point ,its already in the format in my ini
right !

bobdog
10-07-2006, 06:01 PM
500 meg is prety big for a php form upload. I've never tried more than 30 meg at a time.

Perhaps the best way would be to set up an ftp account

DaHiA
10-07-2006, 06:05 PM
i believe rapidshare.de and yousendit.com are php too
YET,they allow you to upload upto 300-1024MB per file

agree?

eymerich
10-08-2006, 04:12 PM
What about script timeout? try to extend to the seconds you need to upload 500Megs and you are ok. Maybe your process will be killed before at about uh... 40Mb..