Ronald Araújo
Ronald Araújo

Reputation: 1479

How to find PHP executable in Xampp - Ubuntu

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

Upvotes: 3

Views: 11080

Answers (2)

Faisal Halim
Faisal Halim

Reputation: 261

the php executable file is located

opt/lampp/bin/php

you can also find it with this command

$ whereis php

Upvotes: 6

Ronald Araújo
Ronald Araújo

Reputation: 1479

A simple:

whereis php

Solved the problem.

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

Upvotes: 20

Related Questions