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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th December 2011, 09:39
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 145
Thanks: 29
Thanked 5 Times in 5 Posts
Default open_basedir restriction in effect

Dear Sir,

I have Debian Squeeze 6 with ISPCOnfig3

I am trying to install OpenDocman on my webserver, while installation, I get an Error

Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/mydomain.com/web:/srv/www/mydomain.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client1/web1/web/opendocman/mimetypes.php on line 24open_basedir restriction in effect

Please advice, how to resolve this

Thanks and regards,

Abin
Reply With Quote
Sponsored Links
  #2  
Old 26th December 2011, 10:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,714 Times in 2,556 Posts
Default

Add /etc to the open_basedir directories on the Options tab of your website in ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 26th December 2011, 11:01
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 145
Thanks: 29
Thanked 5 Times in 5 Posts
Default Open Base

Dear Sir,

Thank you for reply.

Under website options of Ispconfig for
PHP open_basedir

are as under;

/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/todaysprice.co/web:/srv/www/todaysprice.co/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

you mean, I should add /etc and should look like

/etc/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/todaysprice.co/web:/srv/www/todaysprice.co/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

thanks & regards,

Abin
Reply With Quote
  #4  
Old 27th December 2011, 20:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,714 Times in 2,556 Posts
Default

No - try

Code:
/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/todaysprice.co/web:/srv/www/todaysprice.co/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
ISPConfig + open_basedir restriction in effect 010101 Installation/Configuration 21 29th January 2014 17:21
open_basedir restriction in effect. File() is not within the allowed path(s) MrCompTech General 15 29th January 2012 19:02
Quota Exceeded errors IKShadow Installation/Configuration 14 20th January 2011 16:39
open_basedir restriction in effect onastvar General 2 7th December 2010 21:55
Ioncube problem Dag Andresen Installation/Configuration 2 6th October 2009 12:34


All times are GMT +2. The time now is 17:53.


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