Re: running a stand-alone PHP program
| From: | Tomasz Piłat | Date: | Wed, 16 May 2001 22:45:34 +0000 |
| Subject: | Re: running a stand-alone PHP program | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53115@lists.php.net to get a copy of this message | ||
Nathan Cook wrote:
> then you can run scripts by:
> # /usr/local/bin/php /path/to/script/scriptname
Or you can put:
#!/usr/local/bin/php
as a first line in your script, then
% chown u+x yourscript
% ./yourscript
HTH,
Poncki