I am currently using LAMP package . I can run php from terminal using lampfolder/php/bin ./php filename . But Now i want to use the php file without going into lamp folder .
lampfolder/php/bin ./php filename
export PATH="path"
Include this in .profile