Re: location of the PHP executable

From: Date: Thu, 12 Apr 2007 06:36:26 +0000
Subject: Re: location of the PHP executable
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-252705@lists.php.net to get a copy of this message
Børge Holen wrote:
On Wednesday 11 April 2007 23:50, Jarrel Cobb wrote:
Don't you have to run locate -u first to generate the database before using locate? You can't just assume a database exists already can you?
not an updated one at least, updatedb can also be used to update.
Probably can't because the database has to be created as root.. unless you get into using the switches which seems like a lot more hassle than it's worth but *shrug*. If this is for a cron command, try env php which should pick whichever is in the $PATH for the cron environment. Not 100% guaranteed but 90% should work. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#252705) next »