<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Jeffrey,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you want to run scripts with an add-on php instead of the base php you need the path to that php. I’d give that for the solarspeed, but I’ve got to run and it’s not hard to figure out. That can cause some weirdness if you are expecting to get the php version from the add-on package (like the excellent one from SolarSpeed!). do a “php –V” to get the version (I think that’s the correct command).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The weirdness of php on the command line seems to never end. </span><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>                Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>                                -Stephanie<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> jeffrey Pellin - PX2 [mailto:jeffrey@px2co.net] <br><b>Sent:</b> Friday, June 21, 2013 9:50 AM<br><b>To:</b> BlueOnyx General Mailing List<br><b>Subject:</b> [BlueOnyx:13247] Re: Open basedir issues with new install<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>Hi Stephanie,<o:p></o:p></p><p>I think that you have hit the nail on the head. I seem to have two problems.<o:p></o:p></p><p>1. open basedir stopping crons running - I think that almost certainly that your suggestion below will exactly sort that out, thanks.<o:p></o:p></p><p>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!<o:p></o:p></p><p>Many thanks for your input.<o:p></o:p></p><p>Regards<o:p></o:p></p><p>Jeffrey<o:p></o:p></p><p> <o:p></o:p></p><p>On 20/06/2013 18:15, Stephanie Sullivan wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Jeffrey,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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>?</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>It’s so easy for one to load different php.ini setting  than one may expect…</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>                Thanks,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>                                -Stephanie</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><div><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></strong><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> jeffrey Pellin - PX2 [<a href="mailto:jeffrey@px2co.net">mailto:jeffrey@px2co.net</a>] <br><strong><span style='font-family:"Tahoma","sans-serif"'>Sent:</span></strong> Thursday, June 20, 2013 1:02 PM<br><strong><span style='font-family:"Tahoma","sans-serif"'>To:</span></strong> BlueOnyx General Mailing List<br><strong><span style='font-family:"Tahoma","sans-serif"'>Subject:</span></strong> [BlueOnyx:13242] Re: Open basedir issues with new install</span><o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p>Hi Stephanie,<o:p></o:p></p><p>No, the php.ini's seem in the right place. Clearly open basedir is working sometimes or the php sites would die.<o:p></o:p></p><p>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.<o:p></o:p></p><p>Regards<o:p></o:p></p><p>Jeffrey<o:p></o:p></p><p> <o:p></o:p></p><p>On 20/06/2013 13:26, Stephanie Sullivan wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'><pre>Jeffrey,<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>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.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>     Thanks,<o:p></o:p></pre><pre>             -Stephanie<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>From: jeffrey Pellin - PX2 [mailto:<a href="mailto:jeffrey@px2co.net">jeffrey@px2co.net</a>] <o:p></o:p></pre><pre>Sent: Thursday, June 20, 2013 7:17 AM<o:p></o:p></pre><pre>To: BlueOnyx General Mailing List<o:p></o:p></pre><pre>Subject: [BlueOnyx:13232] Open basedir issues with new install<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Hi Guys,<o:p></o:p></pre><pre>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.<o:p></o:p></pre><pre>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. <o:p></o:p></pre><pre>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.<o:p></o:p></pre><pre>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.<o:p></o:p></pre><pre>Any suggestions would be greatly appreciated<o:p></o:p></pre><pre>Regards<o:p></o:p></pre><pre>Jeffrey<o:p></o:p></pre><pre> <o:p></o:p></pre><pre> <o:p></o:p></pre><pre>-- <o:p></o:p></pre><pre>Jeffrey Pellin<o:p></o:p></pre><pre>Director<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Jeffrey Pellin Consultancy Ltd<o:p></o:p></pre><pre>Work: 01692 558226<o:p></o:p></pre><pre>Mobile: 07768 451738 <o:p></o:p></pre><pre>Email: <a href="mailto:jeffrey@pellin.co.uk">jeffrey@pellin.co.uk</a><o:p></o:p></pre><pre>Professional Profile<o:p></o:p></pre><pre> <o:p></o:p></pre><pre> <o:p></o:p></pre><pre> <o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>Blueonyx mailing list<o:p></o:p></pre><pre><a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><o:p></o:p></pre><pre><a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><o:p></o:p></pre></blockquote><p> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- <o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=600 style='width:6.25in'><tr><td colspan=2 style='border:none;border-top:solid #CCCCCC 1.0pt;padding:7.5pt 7.5pt 7.5pt 7.5pt'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td width="40%" valign=top style='width:40.0%;padding:0in 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:11.25pt'><strong><span style='font-size:10.5pt;font-family:"Arial","sans-serif"'>Jeffrey Pellin</span></strong><span style='font-size:8.5pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'>Director</span><span style='font-size:8.5pt;font-family:"Arial","sans-serif"'><br><br><a href="http://www.quick-websites.co.uk"><strong><span style='font-family:"Arial","sans-serif"'>Jeffrey Pellin Consultancy Ltd</span></strong></a></span><o:p></o:p></p></td><td width="40%" valign=top style='width:40.0%;padding:0in 0in 0in 11.25pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:11.25pt'><strong><span style='font-size:8.5pt;font-family:"Arial","sans-serif";color:#999999'>Work:</span></strong><span style='font-size:8.5pt;font-family:"Arial","sans-serif"'> 01692 558226<br><strong><span style='font-family:"Arial","sans-serif";color:#999999'>Mobile:</span></strong> 07768 451738 <br><strong><span style='font-family:"Arial","sans-serif";color:#999999'>Email:</span></strong> <a href="mailto:jeffrey@pellin.co.uk"><span style='color:black;text-decoration:none'>jeffrey@pellin.co.uk</span></a></span><o:p></o:p></p><div style='margin-top:3.75pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:11.25pt'><span style='font-size:8.5pt;font-family:"Arial","sans-serif"'><img border=0 width=14 height=14 id="_x0000_i1025" src="program/resources/blocked.gif"><strong><span style='font-family:"Arial","sans-serif"'><a href="http://uk.linkedin.com/pub/jeffrey-pellin/15/a85/3b0">Professional Profile</a></span></strong></span><o:p></o:p></p></div></td><td width="20%" valign=top style='width:20.0%;padding:0in 11.25pt 0in 11.25pt'><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt;line-height:11.25pt'><span style='font-size:8.5pt;font-family:"Arial","sans-serif"'><img border=0 id="_x0000_i1026" src="program/resources/blocked.gif" alt="Jeffrey Pellin"></span><o:p></o:p></p></td></tr></table></td></tr><tr><td style='border:none;border-top:solid #CCCCCC 1.0pt;padding:1.5pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><a href="http://www.linkedin.com/e/wwk/53425140/?hs=false&tok=13wzr5NHSChl41">See who we know in common</a></span><o:p></o:p></p></td><td style='border:none;border-top:solid #CCCCCC 1.0pt;padding:1.5pt 0in 0in 0in'><p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:right'><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'> </span><o:p></o:p></p></td></tr></table><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>Blueonyx mailing list<o:p></o:p></pre><pre><a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><o:p></o:p></pre><pre><a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><o:p></o:p></pre></blockquote><p> <o:p></o:p></p><div><p class=MsoNormal>-- <o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=600 style='width:6.25in'><tr><td colspan=2 style='border:none;border-top:solid #CCCCCC 1.0pt;padding:7.5pt 7.5pt 7.5pt 7.5pt'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td width="40%" valign=top style='width:40.0%;padding:0in 0in 0in 0in'><p class=MsoNormal style='line-height:11.25pt'><strong><span style='font-size:10.5pt;font-family:"Arial","sans-serif"'>Jeffrey Pellin</span></strong><span style='font-size:8.5pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'>Director</span><span style='font-size:8.5pt;font-family:"Arial","sans-serif"'><br><br><a href="http://www.quick-websites.co.uk" target=nw><strong><span style='font-family:"Arial","sans-serif"'>Jeffrey Pellin Consultancy Ltd</span></strong></a><o:p></o:p></span></p></td><td width="40%" valign=top style='width:40.0%;padding:0in 0in 0in 11.25pt'><p class=MsoNormal style='line-height:11.25pt'><strong><span style='font-size:8.5pt;font-family:"Arial","sans-serif";color:#999999'>Work:</span></strong><span style='font-size:8.5pt;font-family:"Arial","sans-serif"'> 01692 558226<br><strong><span style='font-family:"Arial","sans-serif";color:#999999'>Mobile:</span></strong> 07768 451738 <br><strong><span style='font-family:"Arial","sans-serif";color:#999999'>Email:</span></strong> <a href="mailto:jeffrey@pellin.co.uk" target=nw><span style='color:black;text-decoration:none'>jeffrey@pellin.co.uk</span></a><o:p></o:p></span></p><div style='margin-top:3.75pt'><p class=MsoNormal style='line-height:11.25pt'><span style='font-size:8.5pt;font-family:"Arial","sans-serif"'><img border=0 width=14 height=14 id="_x0000_i1027" src="http://www.linkedin.com/img/signature/icon_in_blue_14x14.gif"><strong><span style='font-family:"Arial","sans-serif"'><a href="http://uk.linkedin.com/pub/jeffrey-pellin/15/a85/3b0" target=nw>Professional Profile</a></span></strong><o:p></o:p></span></p></div></td><td width="20%" valign=top style='width:20.0%;padding:0in 11.25pt 0in 11.25pt'><p class=MsoNormal style='margin-bottom:12.0pt;line-height:11.25pt'><span style='font-size:8.5pt;font-family:"Arial","sans-serif"'><img border=0 id="_x0000_i1028" src="http://m3.licdn.com/mpr/mpr/shrink_80_80/p/3/000/126/2ee/24dd84b.jpg" alt="Jeffrey Pellin"><o:p></o:p></span></p></td></tr></table></td></tr><tr><td style='border:none;border-top:solid #CCCCCC 1.0pt;padding:1.5pt 0in 0in 0in'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><a href="http://www.linkedin.com/e/wwk/53425140/?hs=false&tok=13wzr5NHSChl41" target=nw>See who we know in common</a><o:p></o:p></span></p></td><td style='border:none;border-top:solid #CCCCCC 1.0pt;padding:1.5pt 0in 0in 0in'><p class=MsoNormal align=right style='text-align:right'><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'> <o:p></o:p></span></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>