[BlueOnyx:15233] Re: Cron errors?

Dirk Estenfeld dirk.estenfeld at bpanet.de
Sun Apr 20 12:37:44 -05 2014


Hello,

I suggest you/you customer is using suphp.
So you have to include the local php.ini filein the cronjob call

<path to yourphp>/php -c /home/sites/<website/php.ini -f /home/sites/web/<your php file>

Best regards,
Dirk

Black Point Arts Internet Solutions GmbH - Hanauer Landstrasse 423a - 60314 Frankfurt


Von: blueonyx-bounces at mail.blueonyx.it [mailto:blueonyx-bounces at mail.blueonyx.it] Im Auftrag von Harm van Houten
Gesendet: Samstag, 19. April 2014 22:21
An: BlueOnyx General Mailing List (blueonyx at mail.blueonyx.it)
Betreff: [BlueOnyx:15229] Cron errors?

Hi Guys,

A customer of mine is running a cron but it presents errors:

PHP Warning:  include(): open_basedir restriction in effect. File(/home/.sites/143/site2/web/intranet/glovars.php) is not within the allowed path(s): (/home/sites/:/tmp/:/usr/sausalito/configs/php/:/var/lib/php/session/) in /home/.sites/143/site2/web/intranet/weekmail_new.php on line 2 PHP Warning:  include(/home/.sites/143/site2/web/intranet/glovars.php): failed to open stream: Operation not permitted in /home/.sites/143/site2/web/intranet/weekmail_new.php on line 2 PHP Warning:  include(): open_basedir restriction in effect. File(/home/.sites/143/site2/web/intranet/glovars.php) is not within the allowed path(s):

The location is in the ini file but still I get these errors, anny tips on how to solve these ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20140420/56e5a44a/attachment.html>


More information about the Blueonyx mailing list