title: php command pointing to different version of php in Ubuntu
body: <p>when I run the php command in Ubuntu, it points to another version of php installed. I want php command to refer to my lampp installed version of php.
  When I type where is PHP,  it gives me a list of all multiple strings, the first one being the version 7.x which i do not want. I need the third one which is the lampp installation version of php. How do I change the php path to the desired one (3rd string ie. '/opt/lampp/bin/php')</p>