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.
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.