RE: [PHP] Tried to run PHP as shell script and got the error...
| From: | Chris W. Parker | Date: | Fri, 11 Mar 2005 19:40:10 +0000 |
| Subject: | RE: [PHP] Tried to run PHP as shell script and got the error... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-210540@lists.php.net to get a copy of this message | ||
John Nichel <mailto:john@kegworks.com>
on Friday, March 11, 2005 11:28 AM said:
> Your first line needs to have both the # and the ! (shebang)
>
> #!/usr/local/bin/php
Would this also work???
williamhung/usr/local/bin/php
:)