How to modify the open_basedir setting for one domain.
by admin on Nov.17, 2011, under DirectAdmin
To change the open_basedir value when using php in CLI mode (not suPhp), you can do so by going to:
Admin Level -> Custom httpd configuration -> domain.com
In the top text area, insert this one line:
|?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/usr/local/lib/php/|
which is the default value in the templates. Edit the paths in that line to meet your needs.
Incoming search terms:
open_basedir settingRelated posts:
- Allow php scripts to work under ~username when using suPhp (custombuild) By default, suPhp is compiled in "paranoid" mode. This means...
- Wildcard *.domain.com If you’d like to setup your domain to accept anything.domain.com,...
- Apache won’t start after update on FreeBSD An issue with php/apache is causing apache not to start...
Related posts brought to you by Yet Another Related Posts Plugin.
