Reply to Re: run php directly at shell

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация