I'm using Dreamhost because I've had an account there since before I heard about Drupal. I've got a small site for friends and I'd like to be able to upload videos, however, when I do my fastcgi processes get terminated. I'm using a custom PHP.ini and I've set it to allow 25mb uploads. But a 20mb video file will not upload, the thread gets killed before the upload is finished. I did not change the memory usage and the other modifications I've made to the PHP.ini are not relevant.

Any Dreamhosters have run into something similar and work out a solution? I'd contact Dreamhost but the custom PHP.ini is not supported and I won't get any help there. On a slightly off topic but related note, I'm not set on having to upload video from the web page -- I wouldn't mind uploading the video with SSH for example, but I haven't figured out a good way of adding it to the site when the video is already on the server.

Comments

marlowx’s picture

i've just realized i am having this same problem....

i think...

not sure about the terminology you are using...

but even when i uploaded a 3mb mp3 to my band website it would time out and i'd have to try uploading again after leaving it to sit there for an hour or two...

is this just because Dreamhost is just really crap host?

marlowx’s picture

ok i just heard back from Dreamhost tech support...

the dude basically said that i need to upgrade to their virtual private server account which gives me 150mb ram all for myself to run whatever i want on it...

but that sort of boggles my mind as my uploads of 3mb mp3 files to my band website were timing out... we aren't talking about 20mb file uploads here!

so looks like you are in the same boat if you want to upload anything over 3mb, ha ha haha

FYI i've got their unlimited hosting deal with unlimited databases and domain hosting etc etc...

hmmm.... i feel like they should have been more upfront about what you can and can't realistically do with their hosting so i could have made an informed decision...

this will basically more than double my hosting costs if i upgrade....

from $100. a year to $280. a year... yikes....

emgee3’s picture

I forgot that I even posted my original problem, until I saw this in the dashboard on the new site. Anyway, I did end up resolving this. What you have to do is create a custom php.ini, instructions here:

http://wiki.dreamhost.com/index.php/PHP.ini

What you want to change in here is:

max_execution_time = 300;  
memory_limit = 32M;
post_max_size = 25M;
upload_max_filesize = 25M;

I'm not sure these are optimum values, especially the max_execution_time, but it worked for me. I've not had much to complain about with regard Dreamhost's service, taking into account it is shared hosting and cheap. That said, a VPS is a lot more reliable in this regard.