local php.ini

Titam

Verified User
Joined
Apr 29, 2005
Messages
168
Hello,

I would like to activate on 1 domain the possibility for their to upload via php 10M and not 2 (by default), but not for other domains.

Someone know how to to this ?

Thanks,

Titam
 
Its simple and easy, you sould add the following in line his /usr/local/directadmin/data/users/$USER/httpd.conf

php_admin_value upload_max_filesize 10M

reload apache configuration , but remember this is not permanent , if the http.conf change the php_admin_value must enter by hand again and again.

Maybe DA should have a skin variable for upload_max_filesize?
 
You should be able to add that configuration through the Admin level under Custom httpd configuration.
That way it will not be overwritten by DirectAdmin.
 
cool, and for timeout script do you have something as php_admin_value_timeout ?

Thanks for your help ^^
 
Give it a try. these I just standard php flags I think, and the manual can be found at php.net
If safemode is off the timeout can also be set in the script itself.
 
Back
Top