I am configuring debugger on phpstorm on Ubuntu. I easily could set interpreter's path like C:xampp/php properly on Windows. But linux should have different path for interpreter.

I searched on this site a lot and on google too but could not get the answer. What should be php's interpreter path so that phpstorm recognizes it and thus i can do debugging? Anything missing??
Thanks.
Not sure if it helps, but default place for php5 executable on ubuntu is
/usr/bin/php5
PS: you can find out it by typing in a terminal
which php5
PS2: I set up xdebug using this wonderful article: http://blog.elenakolevska.com/debugging-laravel-on-homestead/ (it requires Homestad -- Laravel Ubuntu box for Vagrant, but maybe it will be usefull for you too)
I think there's been a misunderstanding. include path should point to a folder containing PHP files, not PHP interpreter!
Here's where you need to set the address:

As the other answer pointed out, you can find the path to your PHP interpreter using which php or which php5. Then you need to enter the path in the red box numbered 2.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With