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/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to