[BlueOnyx:05946] Open base dir

Abdul Rashid Abdullah webmaster at muntada.com
Tue Nov 30 07:36:48 -05 2010


I am running a CMS application that gives me the following error:

2 - file_exists() [function.file-exists]: open_basedir restriction in
effect. File(/usr/bin/unzip) is not within the allowed path(s):
(/tmp/:/var/lib/php/session/:/home/sites:/home/.sites/88/site70/) @
/home/.sites/88/site70/vhosts/dev/admin/plugins/mediagallery/cfgedit.php
line 384

On another site, I get almost the same error:

2 - file_exists() [function.file-exists]: open_basedir restriction in
effect. File(/unzip) is not within the allowed path(s):
(/tmp/:/var/lib/php/session/:/home/sites:/usr/local/bin:/usr/bin:/usr/X11R6/
bin:/home/.sites/58/site34/) @
/home/.sites/58/site34/web/admin/plugins/mediagallery/cfgedit.php line 384

If I check out the PHP settings, I have the following for the site:

/tmp/:/var/lib/php/session/:/home/sites:/usr/local/bin:/usr/bin:/usr/X11R6/b
in:/home/.sites/58/site34/

Any ideas on what I can do here?

Regards,

Rashid





More information about the Blueonyx mailing list