This topic is locked

large file uploads

10/17/2005 11:47:15 PM
PHPRunner General questions
L
little44236 author

I would like to upload large files (as large as possible) but I have not been able to upload files larger than around 2MB. I understand that PHP has problems with files over 2MB. Is there any way to set permissions for larger uploads?
Bob Small

Sergey Kornilov admin 10/18/2005

Bob,
you should modify or add the following two options to your php.ini file

upload_max_filesize=1024MB

post_max_size=1024MB


After you set these options please edit generated include/..._variables.php file.

Find $cMaxUploadFileSize variable assignment there and modify it this way:

$cMaxUploadFileSize = 102410241024;



This will allow you to upload files up to 1GB length.

D
daveDiamond 8/28/2007

Find $cMaxUploadFileSize variable assignment


I couldn't find this variable in my 4.0 generated ..._variables.php files. Was it removed or moved elsewhere?

Alexey admin 8/29/2007

$cMaxUploadFileSize is not used anymore.

Just make corrections in php.ini and restart your webserver.