----- Original Message ----- From: "Abdul Rashid Abdullah" <[email protected]> To: "BlueOnyx" <[email protected]> Sent: Tuesday, November 30, 2010 2:18 PM Subject: [BlueOnyx:05949] Re: Open base dir
> Taco, > > Thanks for the reply. I have added /usr/bin to the open base dir settings > for that site but I am still getting the issue. > > Here is what phpinfo() outputs: > > open_basedir > > local value: > /usr/bin:/tmp:/var/lib/php/session:/home/sites:/home/.sites/130/site44/ > > master value: /tmp:/var/lib/php/session:/home/sites:/home/.sites > > > I appreciate the assistance as this is causing me issues with several > sites > that I am trying to get to run on BlueOnyx that previously ran with > BlueQuartz without issue. I understand BlueOnyx has additional security, > but I am hoping I can tweak it just enough to do what I need this app to > do. > > > -Rashid > > > On 11/30/10 8:49 AM, "Taco Scargo" <[email protected]> wrote: > >> 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 Just wondering what others think of this 'imposed' security on BO Would it not be better to have a choice?? regards Peter _______________________________________________ Blueonyx mailing list [email protected] http://www.blueonyx.it/mailman/listinfo/blueonyx
