Re: How to run php not through Browser
| From: | Jason Brooke | Date: | Mon, 11 Sep 2000 04:41:31 +0000 |
| Subject: | Re: How to run php not through Browser | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16118@lists.php.net to get a copy of this message | ||
try supplying the path just like you would any other file not in your
path that you execute
jason
>Hello,
>i want to ask how to run php not through the Browser
>coz i want the cron the run the php file each hour.
>however,when i just try a simple php file,it can't work
>the code is
>
>#!/usr/bin/php -q
><?php
> print("Hello, world!\n");
>?>
>
>when i just type "***.php",it just show the
>bash: barry.php: command not found.
>Is there anything i need to config?