Ok, recently, a good friend, needed some help. He wanted to change the upload_maz_filesize value of his DreamHost account but was so frustrated when he learned that .htaccess files don't work for him...
It is simple: you're using FastCGI and you should be using .user.ini files to set php values and not .htaccess.
So, the answer was to type this into a .user.ini file. Remember the dot (.) before user.ini ok?!
upload_max_filesize = 50M
Make sure you're using FastCGI in your domain's settings. Also, be patient. This setting is cacheable and might take a few minutes/hours to get read. Mine took 4-5 mins at most.
Things to look out for:
- If apache has a limited post option, change that using an .htaccess
- Remember to change the post value in .user.ini for PHP too, ok? I'll let you google that yourself.
- Check your values with a test.php file and
in it! Remember to delete it once done!
Anyway, I hope this helps.
p.s. this post was made in english due to the huge amount of idiots found by google when searched for. Those guys compile their own php into a local folder... damn guys!
And, remember to give my email: renich AT woralelandia DOT com when you go for an account @ DreamHost ok? ;)