Posted by vito on 06/03/06 09:32
"Michael Vilain" <vilain@spamcop.net> wrote in message
news:vilain-74AD59.02180503062006@comcast.dca.giganews.com...
> In article <e5rj5q$27d3$1@justice.itsc.cuhk.edu.hk>,
> "vito" <vitogen2003@yahoo.com.tw> wrote:
>
>> how to config the linux to know the path of /usr/bin/php so no need to
>> type
>> it before running a php script every time?
>
> it should be in your path already. try discussing your account with
> your local sysadmin. they should be able to set your account up to do
> this without a problem.
>
well, even though it is added by
set path = ($path /usr/bin/php)
it can't recognize the interpreter and run it directly. the first ? in
<?php> immediately generates an error.
thanks for your help anyway :)
[Back to original message]
|