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 setting

Related posts:

  1. Allow php scripts to work under ~username when using suPhp (custombuild) By default, suPhp is compiled in "paranoid" mode. This means...
  2. Wildcard *.domain.com If you’d like to setup your domain to accept anything.domain.com,...
  3. 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.

:, , ,
No comments for this entry yet...

Leave a Reply

Incoming search terms:

open_basedir setting

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Kontak

Budhi Indah A 31
Cimindi Cimahi 40514
West Java
Indonesia

Phone/SMS :
Info/Bantuan : 62-8158-6270622
Billing/konfirmasi : 62-8888-763551

Self Advertise


My site is worth $7548.2.
How much is yours worth?