Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 3rd April 2012, 01:11
SupuS SupuS is offline
HowtoForge Supporter
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts
Default PHP Open_basedir not updated if server configuration is changed [SOLVED]


I am not able to change web site open_basedir directly in ISPConfig:

1) create web site test.com - it has default open_basedir settings
2) I want to allow access to /xxx/yyy so I add :/xxx/yyy to system => server configuration => web => PHP open_basedir
3) apache config file 100-test.com.vhost has old default open_basedir settings so I
4) update web site test.com and vhost config file is update but still contains old default open_basedir settings without :/xxx/yyy
5) I checked ispconfig database and change php_open_basedir :/xxx/yyy value manually
6) in vhost config file of web site test.com is new open_basedir settings with :/xxx/yyy

And now my question .. is this bug or feature? When it is feature how I can set new open_basedir for web sites created before server configuration update? When new web site is created it has new open_basedir setting.

OS: Ubuntu 10.04.4 LTS


Last edited by SupuS; 3rd April 2012 at 11:21.
Reply With Quote
Sponsored Links
Old 3rd April 2012, 08:05
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

Thats a feature. The open_basedir setting in system > Server configuration is the default setting for new sites, its not the current setting for existing sites. If we would update all sites when you change it then the sites that use a custom open_basedir would all get broken.

To change the open_basedir, o to sites, click on the website and change the open_basedir setting which is on the options tab of the site.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
SupuS (3rd April 2012)


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rkhunter warnings esezako General 7 27th September 2011 08:28
Centos 6.0 support Acid_Scorpion Developers' Forum 47 16th September 2011 11:36
Can't receive mails baicunko Server Operation 12 3rd August 2011 23:02
FreeRadius + MySQL working, but I don't know how to customise SQL queries awe Installation/Configuration 4 5th April 2010 00:28
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 14:06

All times are GMT +2. The time now is 22:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.