increase Php Upload Limit

increase Php Upload Limit

Posted by: legodot
Posted on: 2009-02-14 13:31:00

From what I have read so far, there are two ways to do this.

1. Install my own php. As in http://wiki.dreamhost.com/PHP5_installscript

2. Use a script wrapper custom php.ini using the dreamhost php http://wiki.dreamhost.com/PHP.ini

On the 2nd option, I have read that "Note that some variables (in particular, post_max_size and upload_max_filesize) are subject to internal limitations; increasing them significantly beyond the default values will not work correctly."

I would like to know what is meant by "significantly beyond the default value". Can I increase the upload_max_filesize limit to 30MB? Or should I compile and install my own php? And what are the disadvantages of that?

Thanks in advance.

Re: increase Php Upload Limit

Posted by: sXi
Posted on: 2009-02-14 14:52:00

PHP.INI installer link below. 30MB should be okay.




How To Install PHP.INI / ionCube on DreamHost

Re: increase Php Upload Limit

Posted by: miltlee
Posted on: 2009-02-17 07:11:00

How about 200mb? I want to be able to upload video to my drupal site. Thanks!
Milt

Re: increase Php Upload Limit

Posted by: sXi
Posted on: 2009-02-17 19:45:00

Entirely possible, although I'd use SFTP for large file transfers.




How To Install PHP.INI / ionCube on DreamHost

Re: increase Php Upload Limit

Posted by: miltlee
Posted on: 2009-02-17 20:33:00

Thanks - still working on how to write the php.ini file. Any suggestions would really be appreciated. I read all the instructions, but clearly there is more to this than just copying what is written there - I need to study php - or find somebody who has.

Thanks,
Milt

Tags: thanks in advancemax sizedefault valuesfilesizevariables