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