NetGeek

Well-Known Member
Mar 4, 2002
67
0
306
hi

how do u turn safe mode off for one domain only ? (it is on in the global php.ini)


NetGeek
 

parag

Well-Known Member
Aug 16, 2001
115
0
316
[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
 

myros

Active Member
Dec 16, 2001
42
0
306
Or add it to the Virtual entry for the domain in httpd.conf

Myros
 

cass

Well-Known Member
Jul 17, 2002
349
0
166
Argentina/USA/Mexico
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 ([email protected]) 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 &[email protected]& instead of &[email protected]& ...

anyone ?