<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Hi Stephanie,</p>
<p>I think that you have hit the nail on the head. I seem to have two problems.</p>
<p>1. open basedir stopping crons running - I think that almost certainly that your suggestion below will exactly sort that out, thanks.</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!</p>
<p>Many thanks for your input.</p>
<p>Regards</p>
<p>Jeffrey</p>
<p> </p>
<p>On 20/06/2013 18:15, Stephanie Sullivan wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored --><!-- meta ignored -->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Jeffrey,<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><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>?<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><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.<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><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…<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">                Thanks,<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">                                -Stephanie<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"><!-- o ignored --> </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"><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 [mailto:jeffrey@px2co.net] <br /><strong>Sent:</strong> Thursday, June 20, 2013 1:02 PM<br /><strong>To:</strong> BlueOnyx General Mailing List<br /><strong>Subject:</strong> [BlueOnyx:13242] Re: Open basedir issues with new install<!-- o ignored --></span></p>
</div>
</div>
<p class="MsoNormal"><!-- o ignored --> </p>
<p>Hi Stephanie,<!-- o ignored --></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 ignored --></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 ignored --></p>
<p>Regards<!-- o ignored --></p>
<p>Jeffrey<!-- o ignored --></p>
<p> <!-- o ignored --></p>
<p>On 20/06/2013 13:26, Stephanie Sullivan wrote:<!-- o ignored --></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 ignored --></pre>
<pre><!-- o ignored --> </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 ignored --></pre>
<pre><!-- o ignored --> </pre>
<pre>     Thanks,<!-- o ignored --></pre>
<pre>             -Stephanie<!-- o ignored --></pre>
<pre><!-- o ignored --> </pre>
<pre>From: jeffrey Pellin - PX2 [mailto:<a href="mailto:jeffrey@px2co.net">jeffrey@px2co.net</a>] <!-- o ignored --></pre>
<pre>Sent: Thursday, June 20, 2013 7:17 AM<!-- o ignored --></pre>
<pre>To: BlueOnyx General Mailing List<!-- o ignored --></pre>
<pre>Subject: [BlueOnyx:13232] Open basedir issues with new install<!-- o ignored --></pre>
<pre><!-- o ignored --> </pre>
<pre>Hi Guys,<!-- o ignored --></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 ignored --></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 ignored --></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 ignored --></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 ignored --></pre>
<pre>Any suggestions would be greatly appreciated<!-- o ignored --></pre>
<pre>Regards<!-- o ignored --></pre>
<pre>Jeffrey<!-- o ignored --></pre>
<pre> <!-- o ignored --></pre>
<pre> <!-- o ignored --></pre>
<pre>-- <!-- o ignored --></pre>
<pre>Jeffrey Pellin<!-- o ignored --></pre>
<pre>Director<!-- o ignored --></pre>
<pre><!-- o ignored --> </pre>
<pre>Jeffrey Pellin Consultancy Ltd<!-- o ignored --></pre>
<pre>Work: 01692 558226<!-- o ignored --></pre>
<pre>Mobile: 07768 451738 <!-- o ignored --></pre>
<pre>Email: <a href="mailto:jeffrey@pellin.co.uk">jeffrey@pellin.co.uk</a><!-- o ignored --></pre>
<pre>Professional Profile<!-- o ignored --></pre>
<pre><!-- o ignored --> </pre>
<pre><!-- o ignored --> </pre>
<pre><!-- o ignored --> </pre>
<pre>_______________________________________________<!-- o ignored --></pre>
<pre>Blueonyx mailing list<!-- o ignored --></pre>
<pre><a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><!-- o ignored --></pre>
<pre><a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><!-- o ignored --></pre>
</blockquote>
<p> <!-- o ignored --></p>
<div>
<p class="MsoNormal">-- <!-- o ignored --></p>
<table class="MsoNormalTable" style="width: 600px;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border: none; border-top: solid  #CCCCCC  1.0pt; padding: 7.5pt  7.5pt  7.5pt  7.5pt;" colspan="2">
<table class="MsoNormalTable" style="width: 100.0%;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 40.0%; padding: 0in  0in  0in  0in;" valign="top" width="40%">
<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"><strong><span style="font-family: 'Arial','sans-serif';">Jeffrey Pellin Consultancy Ltd</span></strong></a><!-- o ignored --></span></p>
</td>
<td style="width: 40.0%; padding: 0in  0in  0in  11.25pt;" valign="top" width="40%">
<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"><span style="color: black; text-decoration: none;">jeffrey@pellin.co.uk</span></a><!-- o ignored --></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 id="_x0000_i1025" src="./program/resources/blocked.gif" alt="" width="14" height="14" border="0" /><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><!-- o ignored --></span></p>
</div>
</td>
<td style="width: 20.0%; padding: 0in  11.25pt  0in  11.25pt;" valign="top" width="20%">
<p class="MsoNormal" style="margin-bottom: 12.0pt; line-height: 11.25pt;"><span style="font-size: 8.5pt; font-family: 'Arial','sans-serif';"><img id="_x0000_i1026" src="./program/resources/blocked.gif" alt="Jeffrey Pellin" border="0" /><!-- o ignored --></span></p>
</td>
</tr>
</tbody>
</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">See who we know in common</a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-top: solid  #CCCCCC  1.0pt; padding: 1.5pt  0in  0in  0in;">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 7.5pt; font-family: 'Arial','sans-serif';"> <!-- o ignored --></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><!-- o ignored --> </p>
</div>
</div>
</div>
<!-- html ignored --><br />
<pre>_______________________________________________
Blueonyx mailing list
<a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
</pre>
</blockquote>
<p> </p>
<div>-- <br />
<table style="width: 600px;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-top: 1px solid #CCC; padding: 10px;" colspan="2">
<table style="font: 11px arial,sans-serif; width: 100%;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr style="line-height: 15px;" valign="top">
<td width="40%"><strong style="font-size: 14px;">Jeffrey Pellin</strong><br /> <span style="font-size: 12px;">Director</span><br /><br /> <a href="http://www.quick-websites.co.uk" target="nw"><strong>Jeffrey Pellin Consultancy Ltd</strong></a></td>
<td style="padding-left: 15px;" width="40%"><strong style="color: #999;">Work:</strong> 01692 558226<br /> <strong style="color: #999;">Mobile:</strong> 07768 451738 <br /> <strong style="color: #999;">Email:</strong> <a style="text-decoration: none; color: #000;" href="mailto:jeffrey@pellin.co.uk" target="nw">jeffrey@pellin.co.uk</a><br />
<div style="margin-top: 5px;"><img src="http://www.linkedin.com/img/signature/icon_in_blue_14x14.gif" alt="" width="14" height="14" align="middle" /> <strong><a href="http://uk.linkedin.com/pub/jeffrey-pellin/15/a85/3b0" target="nw">Professional Profile</a></strong></div>
</td>
<td style="padding: 0 15px;" width="20%"><img src="http://m3.licdn.com/mpr/mpr/shrink_80_80/p/3/000/126/2ee/24dd84b.jpg" alt="Jeffrey Pellin" /><br /><br /></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="font: 10px arial,sans-serif;">
<td style="border-top: 1px solid #CCC; padding-top: 2px;"><a href="http://www.linkedin.com/e/wwk/53425140/?hs=false&tok=13wzr5NHSChl41" target="nw">See who we know in common</a></td>
<td style="border-top: 1px solid #CCC; padding-top: 2px;" align="right"> </td>
</tr>
</tbody>
</table>
</div>
</body></html>