Search code examples
linuxlamp

Include LAMP PHP path


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 .


Solution

  • export PATH="path"
    

    Include this in .profile