apache 2 /php 5 /suPhp / Open BaseDir

eagle

Verified User
Joined
Jan 14, 2004
Messages
43
When I enable Open BaseDir for an account (or enable it for new accounts and create a new account), I get :

Code:
Starting httpd: Syntax error on line 31 of /usr/local/directadmin/data/users/test2/httpd.conf:
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
And apache won't start.

So I can't enable Open BaseDir.

1.Anybody know what exactly the problem is?
2.Is it possible to do a forced update of DA (to reinstall templates), or is that just to wget the update tar.gz and unpack?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,766
Location
LT, EU
You should email DirectAdmin support, they need to include 1 check (don't use php_admin_value (open_basedir) if only PHP as CGI is used).
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,987
Hello,

Thanks, I've set openbasedir to be off if CLI is off, for the next release.

For now, turn off openbasedir in:
Admin Level -> Php Safemode Configuration.
turn it off for all domains.
turn it off as the default option.

John
 

Ronnie

Verified User
Joined
Oct 11, 2007
Messages
8
When will the next update be available?
Or is there a way to turn this off automaticly?
 

IT_Architect

Verified User
Joined
Feb 27, 2006
Messages
888
1. For sure you need to add /var/tmp/ to open_basedir.
2. At length you may need to provide a way to adjust open_basedir both at the template and user level.

Can I adjust these now? If so, where?
 
Top