[thelist] php_values in .htaccess

Tom Dell'Aringa pixelmech at gmail.com
Mon Mar 12 13:40:29 CDT 2007


Hi folks,

I'm developing a drupal site on MediaTemple (site is on the grid server) and
I have a audio module loaded up which allows me to post audio. It's all good
except for the 2MB upload limit, which is small for podcasts. The two ways
to increase this limit are to alter the php.ini file or php_values in
.htaccess.

I do have access to php.ini for the domain, but when I changed it, it seemed
to default the php base install limit and I got all kinds of fatal errors.
So I nixed that idea. I earlier tried setting the php_values for max_upload
and one other value to 30MB. The audio module seemed to take that but only
indicated a 17.5MB limit, not 30.

So the question is what would be the best way to do this to allow up to a
30MB upload? It seems the .htaccess file is the most clean but I don't know
why it doesn't allow a 30MB limit like I indicated - maybe I didn't do it
right - or maybe some conflict with php.ini?

Can anyone suggest the proper lines of code for .htaccess? (Or a better
way)?

Thanks

Tom.

P.S. Please copy me at pixelmech at gmail.com on replies :)



More information about the thelist mailing list