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 14th March 2011, 08:39
eponymous eponymous is offline
Junior Member
Join Date: Aug 2010
Posts: 18
Thanks: 6
Thanked 0 Times in 0 Posts
Exclamation open_basedir issues

Something weird is happening with php's open_basedir directive. Not sure if it's and ISPConfig error.

I'm getting the following error message from a site I'm setting up:
Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/share/pear/ZendX/Application/Resource/Frontcontroller.php) is not within the allowed path(s):
First of all, there is no /usr/share/pear/ directory on my server. When I add /usr/share/pear to the open_basedir directive in ISPConfig, nothing changes (I did not expect that it would).

However if I were to add '/' or /usr/share to open_basedir the error goes away. It's weird because, as a said, there is no /usr/share/pear directory, so adding these two directories should not satisfy any requirement.

I don't to have the site able to access my whole /usr/share directory, so this is not ideal.

Any ideas?

Using ISPConfig Version:
Reply With Quote
Sponsored Links
Old 14th March 2011, 12:01
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

I guess that the Zend framework just checks if there is a file /usr/share/pear/ZendX/Application/Resource/Frontcontroller.php and does not really require it. Try to create the directory:

mkdir /usr/share/pear

and then add /usr/share/pear to the open_basedir path.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


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
Issues with the Job Queue b00gz Installation/Configuration 6 26th December 2010 20:38
Opensuse 11.3 ispconfig3 ssh, sftp, issues wildnux Server Operation 1 30th November 2010 12:06
DNS issues in Ispconfig 3 caseyc2 Installation/Configuration 6 6th May 2010 05:22
Postfix issues NewMee Installation/Configuration 7 20th April 2009 19:52
Ubuntu Mail Server issues (warning: a long list!) klonos HOWTO-Related Questions 3 6th October 2007 15:18

All times are GMT +2. The time now is 03:37.

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