#1  
Old 31st May 2011, 18:34
alxgomz alxgomz is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default strange open_basedir behaviour

Hi,

I am using ispconfig3 for php websites in fcgid mod (apache2 is a worker model)
I have stranges error messages in my apache error logs. Here is a snippet:

Code:
[Tue May 31 18:20:20 2011] [warn] [client 77.200.156.131] mod_fcgid: stderr: PHP Warning:  is_readable(): open_basedir restriction in effect. File(/usr/share/pear/ZendM/View/Helper/Doctype.php) is not within the allowed path(s): (/var/www/clients/client0/web9/web:/var/www/clients/client0/web9/tmp:/var/www/webmail.horoa.net/web:/srv/www/webmail.horoa.net/web:/usr/share/php:/usr/share/php5:/usr/share/pear:/usr/share/pear/ZendM/View/Helper:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client0/web9/web/m/protected_app/library/Zend/Loader.php on line 198
Unless I'm becomming blind (which may happen) the requested file *IS* in the open_basedir. I even tried to add the exact path but still get the same error.

Does anyone have an idea where the issue is located?

Last edited by alxgomz; 31st May 2011 at 18:43.
Reply With Quote
Sponsored Links
  #2  
Old 31st May 2011, 20:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,006
Thanks: 826
Thanked 5,377 Times in 4,224 Posts
Default

The path looks fine, so maybe it is a permission issue.

Do you have suexec enabled?
Does it work when you use mod_php?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 1st June 2011, 10:38
alxgomz alxgomz is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
The path looks fine, so maybe it is a permission issue.

Do you have suexec enabled?
yes I have tried to disable suexec but got the same message (additionnally, I had to change some permission)

Quote:
Originally Posted by till View Post
Does it work when you use mod_php?
No it's the same with libapache-mod-php5 and apache prefork:
Code:
[Wed Jun 01 10:06:31 2011] [error] [client 77.200.156.131] PHP Warning:  is_readable(): open_basedir restriction in effect. File(/usr/share/pear/ZendM/View/Helper/Doctype.php) is not within the allowed path(s): (/var/www/clients/client0/web9/web:/var/www/clients/client0/web9/tmp:/var/www/webmail.horoa.net/web:/srv/www/webmail.horoa.net/web:/usr/share/php:/usr/share/php5:/usr/share/pear:/usr/share/pear/ZendM/View/Helper:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client0/web9/web/m/protected_app/library/Zend/Loader.php on line 198
I have to say the requested file doesn't exists, however the php scripts doesn't even know that, as open_basedir doesn't let it check...
Reply With Quote
Reply

Bookmarks

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
ProFTPD - Strange behaviour - double config? skara Server Operation 4 19th September 2007 15:15
Strange email delivery behaviour zarrelli Installation/Configuration 17 31st July 2006 15:22
POP3 and IMAP strange behaviour zarrelli Installation/Configuration 2 23rd July 2006 23:47
Strange Behaviour ratebri General 2 30th November 2005 11:57
Strange behaviour of foreach in PHP 4.3.11 minimi Programming/Scripts 3 30th May 2005 19:20


All times are GMT +2. The time now is 04:11.


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