RE: [PHP] where php at?

From: Date: Mon, 27 Mar 2006 20:23:08 +0000
Subject: RE: [PHP] where php at?
Groups: php.general 
Request: Send a blank email to php-general+get-232659@lists.php.net to get a copy of this message
[snip] /usr/local/bin/php Now, to figure out what command I need to run a php script from there. [/snip] http://www.unixgeeks.org/security/newbie/unix/cron-1.html Now, you can do this one of two ways 17 8 * * * /usr/local/bin/php /path/to/your/script.php Or you can add a bash line to the top of your file and then make sure to have one blank line after the bash line #!/usr/local/bin/php /* start your script here */ The bash line may not work depending on how the host is set up.

« previous php.general (#232659) next »