Easiest is allowing the site to access that directory, but that comes with 
security implications.
Other possibility is to copy the file it needs to your webroot and execute it 
from there.
But that requires you to make changes to your CMS.

With regards,

Taco Scargo
[email protected]




On 30 nov 2010, at 13:36, Abdul Rashid Abdullah wrote:

> 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
> 
> 
> _______________________________________________
> Blueonyx mailing list
> [email protected]
> http://www.blueonyx.it/mailman/listinfo/blueonyx


_______________________________________________
Blueonyx mailing list
[email protected]
http://www.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to