Re: Tried to run PHP as shell script and got the error...
| From: | John Nichel | Date: | Fri, 11 Mar 2005 19:44:11 +0000 |
| Subject: | Re: Tried to run PHP as shell script and got the error... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210541@lists.php.net to get a copy of this message | ||
Chris W. Parker wrote:
John Nichel <mailto:john@kegworks.com>Maybe now, but 20 years or so ago, it would have been... cyndilauper/usr/local/bin/php -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.comYour first line needs to have both the # and the ! (shebang) #!/usr/local/bin/phpWould this also work??? williamhung/usr/local/bin/php :)