HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   open_basedir restriction in effect (http://www.howtoforge.com/forums/showthread.php?t=55534)

abintipl 26th December 2011 10:39

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

falko 26th December 2011 11:54

Add /etc to the open_basedir directories on the Options tab of your website in ISPConfig.

abintipl 26th December 2011 12:01

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

falko 27th December 2011 21:03

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


All times are GMT +2. The time now is 05:38.

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