Re: PHP as Shell script...

From: Date: Thu, 20 Feb 2003 12:05:19 +0000
Subject: Re: PHP as Shell script...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136339@lists.php.net to get a copy of this message
At 12:16 20.02.2003, Brian McGarvie said: --------------------[snip]-------------------- >I am having trouble using php as a script. > >#!/usr/local/bin/php ><?php > ... stuff ... >?> > >using the above form creates the following cron error: > >/bin/sh: /usr/local/apache/sites/domain.com/tasks/autoreport/test.php: bad >interpreter: No such file or directory --------------------[snip]-------------------- On the shell prompt, issue which php to check where your installation of php actually resides. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#136339) next »