Increase Php Upload Limit

software development

#1

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.


#2

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

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#3

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


#4

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

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#5

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