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?
2 Answers
A simple:
whereis php
Solved the problem.
Note: The response author has deleted the comment. Thank you anyway.
-
Wow dude! Thank you. Lack of attention of mine, because I had already visited this folder, but had not found anything. Thank you very much. Commented Jun 1, 2017 at 13:59
-
Cheers!! :D I deleted comment because i found someone already answered better for it.– jagad89Commented Jun 1, 2017 at 14:01
-
It's all right! Do you want to respond? So I can give the credits to you. :) Commented Jun 1, 2017 at 14:04
-
1No that's fine. You can up vote the answer in link which i commented below question.– jagad89Commented Jun 1, 2017 at 14:06
the php executable file is located
opt/lampp/bin/php
you can also find it with this command
$ whereis php