[BlueOnyx:13247] Re: Open basedir issues with new install
jeffrey Pellin - PX2
jeffrey at px2co.net
Fri Jun 21 08:50:12 -05 2013
Hi Stephanie,
I think that you have hit the nail on the head. I seem to have two
problems.
1. open basedir stopping crons running - I think that almost certainly
that your suggestion below will exactly sort that out, thanks.
2. the GUI acting screwy when adding open basedir statements. I might
have to just close my eyes and have another espresso and pretend this
doesn't happen!
Many thanks for your input.
Regards
Jeffrey
On 20/06/2013 18:15, Stephanie Sullivan wrote:
> Jeffrey,
>
> I had a very similar situation. Running php from the command line from root looks for /root/php.ini as well as the usual other places. Have you tried to run it explicitly as php -c <path to php.ini you want to use>?
>
> Did you change the open_basedir in /etc/php.ini or did you change it on a per-site basis in the vhost settings or are using suphp which puts a php.ini in the ftp root of a site? Running php from the command line can be fraught with traps when php.ini settings under apache may be set in the apache config files, /etc/php.ini or in a /home/sites/<fqdn>/php.ini.
>
> It's so easy for one to load different php.ini setting than one may expect…
>
> Thanks,
>
> -Stephanie
>
> FROM: jeffrey Pellin - PX2 [mailto:jeffrey at px2co.net]
> SENT: Thursday, June 20, 2013 1:02 PM
> TO: BlueOnyx General Mailing List
> SUBJECT: [BlueOnyx:13242] Re: Open basedir issues with new install
>
> Hi Stephanie,
>
> No, the php.ini's seem in the right place. Clearly open basedir is working sometimes or the php sites would die.
>
> I'm most concerned about the unpredictable nature of changes made in the GUI. It's OK if I can remember that whatever I add in the GUI not only vanished but also overwrites anything else I already entered, Truth is I'm a bit ancient and remembering my name can be a challenge some mornings. Also the GUI clearly shows open basedir ion effect on the sites which is is, kinda.
>
> Regards
>
> Jeffrey
>
> On 20/06/2013 13:26, Stephanie Sullivan wrote:
>
>> Jeffrey,
>>
>> Do you have a php.ini in your home dir? In the default path? (echo $PATH)? If do rename or delete it. Just a guess and a scar left on my back from a few years ago. Hope this helps.
>>
>> Thanks,
>>
>> -Stephanie
>>
>> From: jeffrey Pellin - PX2 [mailto:jeffrey at px2co.net]
>>
>> Sent: Thursday, June 20, 2013 7:17 AM
>>
>> To: BlueOnyx General Mailing List
>>
>> Subject: [BlueOnyx:13232] Open basedir issues with new install
>>
>> Hi Guys,
>>
>> I'm experiencing some problems with open basedir on a brand new install of BO on an Aveturine box over at Chris's. This was a fresh install with the sites exported from the old box and imported to the new one. I am understating the difficulty Chris had here - I'm surprised he's still talking to me really.
>>
>> To give an example of the issue - I have a php heavy site which is working fine, except that when I try to run a file on that site from a cron I get an open basedir error. I have tried this either as siteadmin or as root. The GUI for the site says that the open basedir is open OK.
>>
>> So I go to the GU for the BO install and add the site/web folder to the open basedir box and click OK. The setting I have just made disappears from the GUI but is there in the php.ini. And everything works.
>>
>> On to site two - same software and same problem. I go to the Server Admin GUI and add the site/web folder to the open basedir box, click OK and the settings disappear. Site two now works, site one stops working. In the php.ini the open basedir statement for site 1 has vanished.
>>
>> Any suggestions would be greatly appreciated
>>
>> Regards
>>
>> Jeffrey
>>
>> --
>>
>> Jeffrey Pellin
>>
>> Director
>>
>> Jeffrey Pellin Consultancy Ltd
>>
>> Work: 01692 558226
>>
>> Mobile: 07768 451738
>>
>> Email: jeffrey at pellin.co.uk
>>
>> Professional Profile
>>
>> _______________________________________________
>>
>> Blueonyx mailing list
>>
>> Blueonyx at mail.blueonyx.it
>>
>> http://mail.blueonyx.it/mailman/listinfo/blueonyx [1]
>
> --
>
> JEFFREY PELLIN
> Director
>
> JEFFREY PELLIN CONSULTANCY LTD [2]
>
> WORK: 01692 558226
> MOBILE: 07768 451738
> EMAIL: jeffrey at pellin.co.uk
>
> PROFESSIONAL PROFILE [3]
>
> See who we know in common [4]
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx [1]
--
JEFFREY PELLIN
Director
JEFFREY PELLIN CONSULTANCY LTD [2] WORK: 01692 558226
MOBILE: 07768 451738
EMAIL: jeffrey at pellin.co.uk
PROFESSIONAL PROFILE [3]
See who we know in common [4]
Links:
------
[1] http://mail.blueonyx.it/mailman/listinfo/blueonyx
[2] http://www.quick-websites.co.uk
[3] http://uk.linkedin.com/pub/jeffrey-pellin/15/a85/3b0
[4]
http://www.linkedin.com/e/wwk/53425140/?hs=false&tok=13wzr5NHSChl41
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20130621/8096c4db/attachment.html>
More information about the Blueonyx
mailing list