Re: PHP + Cron jobs

From: Date: Wed, 01 Oct 2008 10:34:14 +0000
Subject: Re: PHP + Cron jobs
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-281269@lists.php.net to get a copy of this message
Waynn Lue wrote: > Right, and I am, so I stayed away from that solution. My next > attempt was to specify /usr/local/bin/php in the cron job, but that > led to a problem because of the include paths. Now that I specific > the full path, evidently the include path no longer is relative to the > directory that's being executed from, and so it fails to execute. One > solution is to also include the executing directory in the php script > itself, I assume, but is there any better solution than that? > I would take a look at your core problem - why do you have php executables in both /usr and /usr/local? /Per Jessen, Zürich

« previous php.general (#281269) next »