How to find PHP executable in Xampp - Ubuntu

Viewed 9348

After installing Xampp on Ubuntu, where can I find the PHP executable to put it in the /usr/bin folder so that I can use the PHP alias globally?

enter image description here

2 Answers

the php executable file is located

opt/lampp/bin/php

you can also find it with this command

$ whereis php
Related