3

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

1
  • look on this Commented Jun 1, 2017 at 13:58

2 Answers 2

20

A simple:

whereis php

Solved the problem.

Note: The response author has deleted the comment. Thank you anyway.

Sign up to request clarification or add additional context in comments.

4 Comments

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.
Cheers!! :D I deleted comment because i found someone already answered better for it.
It's all right! Do you want to respond? So I can give the credits to you. :)
No that's fine. You can up vote the answer in link which i commented below question.
6

the php executable file is located

opt/lampp/bin/php

you can also find it with this command

$ whereis php

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.