PDA

View Full Version : apache 2 /php 5 /suPhp / Open BaseDir



eagle
09-29-2007, 02:53 AM
When I enable Open BaseDir for an account (or enable it for new accounts and create a new account), I get :


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
09-29-2007, 03:30 AM
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).

eagle
09-29-2007, 04:49 AM
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).

Just did, thanks.

DirectAdmin Support
09-29-2007, 12:58 PM
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
10-11-2007, 05:58 AM
When will the next update be available?
Or is there a way to turn this off automaticly?

Randy
10-11-2007, 06:18 AM
Adjusting the templates?

IT_Architect
10-17-2007, 07:08 AM
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?