How to USE php CLI
Posted: Fri Apr 17, 2009 9:34 am
hi friends,
I wanna use the php CLI on my local server.
when I use
-bash:$ php filename.php
it returns like
-bash: php: command not found
but when i give like
/opt/lampp/bin/php filename.php
then it is being executed perfectly!
how can I configure it so that I can run using the former command
ie
my local servers OS :-> federo
and lampp installed.
Thanks
I wanna use the php CLI on my local server.
when I use
-bash:$ php filename.php
it returns like
-bash: php: command not found
but when i give like
/opt/lampp/bin/php filename.php
then it is being executed perfectly!
how can I configure it so that I can run using the former command
ie
For you information:php filename
my local servers OS :-> federo
and lampp installed.
Thanks