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=50389)

onastvar 6th December 2010 18:23

open_basedir restriction in effect
 
I'm getting open_basedir error message when I try to update one of my joomla sites with Update Manager (joomla component)

Does anyone know what should be modified to resolve this issue?

Code:

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect.
File(/var/www/clients/client0/web1) is not within the allowed path(s):
(/var/www/clients/client0/web1/web:/var/www/clients/client0/
web1/tmp:/var/www/domain.com/web:/srv/www/domain.com/
web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:
/var/lib/phpmyadmin) in /var/www/clients/client0/web1/web/libraries
/joomla/filesystem/folder.php on line 392


till 7th December 2010 09:11

Add /var/www/clients/client0/web1 separated by ":" at the end of the open basedir path in the website settings.

onastvar 7th December 2010 21:55

SOLVED: open_basedir restriction in effect
 
Thank You Till.

That worked. These are the changes I made on Web Domain page under Options tab in PHP open_basedir field

before
Code:

/var/www/clients/client0/web1/web:/var/www/clients/client0/web1/
tmp:/var/www/domain.com/web:/srv/www/domain.com/web:/usr/share
/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

after
Code:

/var/www/clients/client0/web1/web:/var/www/clients/client0/web1
/tmp:/var/www/domain.com/web:/srv/www/domain.com/web:/usr/share
/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/
phpmyadmin:/var/www/clients/client0/web1



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

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