hi
how do u turn safe mode off for one domain only ? (it is on in the global php.ini)
NetGeek
hi
how do u turn safe mode off for one domain only ? (it is on in the global php.ini)
NetGeek
[quote:d8e9a94f81][i:d8e9a94f81]Originally posted by NetGeek[/i:d8e9a94f81]
hi
how do u turn safe mode off for one domain only ? (it is on in the global php.ini)
NetGeek
[/quote:d8e9a94f81]
you can do that using .htaccess file
put up one .htaccess file in the document root of that particular domain which has following lines
php_flag safe_mode off
thats it
cheers
Parag
Or add it to the Virtual entry for the domain in httpd.conf
Myros
http://www.neuralhq.com
can someone explain a little more how can I customize php setting for a specific virtual host ?
like ... the mail() thing ...
for most users ... is better the &Nobody (nobody@your.domain.com) in behalf of USER& ... or whatever ... this can prevent spam using php or something ... dont it?
But I need some users to send emails using php ... but with real info ....
I have the problem to not know how can I configure php so that i.e. &user1& can send emails as &user1@userdomain.com& instead of &nobody@hostdomain.com& ...
anyone ?
Carlos Ariel Sepúlveda
CAS company :: 1997-2011, 14 Years! :: Dedicated Attitude
http://www.cascompany.com :: Providing CPANEL/WHM Servers since 2002 !