<div dir="ltr">I was not calling them that way - simply with:  php  /home/sites/www.mysite/myfile.php   Thanks I will give that a try and if that does not work then I will go with Maurice's suggestion.   Thanks for the ideas guys!!!<div><br></div><div>Dan</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Dan Porter<br>Twin Wolf Technology Group, LLC<br></div></div>
<br><div class="gmail_quote">On Sun, Nov 15, 2015 at 7:07 PM, Jim Matysek <span dir="ltr"><<a href="mailto:matysekj@usms.org" target="_blank">matysekj@usms.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Are you explicitly referencing the
      Solarspeed PHP in your cron file? In my shell files that are
      executed by cron, I have to call php like this in order to get the
      Solarspeed version of php rather than the "stock" php from the
      server:<br>
      <br>
      /home/solarspeed/php/bin/php /home/sites/<a href="http://www.mysite.com/myfile.php" target="_blank">www.mysite.com/myfile.php</a><span class="HOEnZb"><font color="#888888"><br>
      <br>
      -jim<br>
      <br>
    </font></span></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div>I am hitting a brick wall.   I have a VPS with a single
          site.  It will never have more sites.   It has the PHP upgade
          and is running PHP version 5.6.12</div>
        <div><br>
        </div>
        <div>A cron job has been setup by root to run a PHP script but
          it is giving the familiar open_basedir error as follows:</div>
        <div><br>
        </div>
        <div>PHP Warning:  include(): open_basedir restriction in
          effect. <br>
          File(/home/.sites/143/site2/web/home/include/init.inc.php) is
          not within the allowed path(s):
(/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/:/usr/share/pear)<br>
        </div>
        <div><br>
        </div>
        <div>According to both the GUI and PHPinfo the open_basedir
          includes this path</div>
        <div><br>
        </div>
        <div>
          <div>Local value:</div>
          <div>/var/lib/php/session/:/usr/sausalito/configs/php/:/tmp/:/home/solarspeed/php/share/pear:/home/.sites/143/site2/<span style="white-space:pre-wrap"> </span></div>
          <div><br>
          </div>
          <div>Master Value:</div>
          <div>/var/lib/php/session/:/usr/sausalito/configs/php/:/tmp/:/home/solarspeed/php/share/pear:/home/.sites/143/site2/</div>
        </div>
        <div><br>
        </div>
        <div>If it helps, PHP Info also reported the following:</div>
        <div>
          <div>Configuration File (php.ini) Path<span style="white-space:pre-wrap">       </span>/home/solarspeed/php/etc</div>
          <div>Loaded Configuration File<span style="white-space:pre-wrap">       </span>/home/sites/<a href="http://www.XXXXXXXXX.com/php.ini" target="_blank"></a><a href="http://www.XXXXXXXXX.com/php.ini" target="_blank">www.XXXXXXXXX.com/php.ini</a></div>
        </div>
        <div><br>
        </div>
        <div>I am guessing some how this software is not looking at the
          php.ini file for the site.   Is that because it is in a root
          cron job?   What can I do to make this work?<br>
        </div>
        <div><br>
        </div>
        <br clear="all">
        <div>
          <div>Dan Porter<br>
            Twin Wolf Technology Group, LLC <br>
          </div>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" rel="noreferrer" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
<br></blockquote></div><br></div>