Its not a BIG ISSUE,
Just add this line to start of ur program or script
#!/usr/bin/php
tha above line tells the path where php is installed.. By defaults it installed in /usr/bin/php, but i dont know where u have installed ur PHP
if u want to find where it is installed , just give this command at command prompt:
#which php
The above command tells where ur PHP is installed , so if its not like above , Change it with this path.
After that run it ... it will definitly work,