How to configure the php executable in visual studio code in ubuntu ... if I have installed the xampp?

0

I find this problem, I have installed the xampp, visual code in ubunto ... when I open a .php file I get an error that the executablePath is not configured .. try with usr / bin / php and it does not work ...

"php.validate.executablePath": "???"

    
asked by Francisco Cortez 12.12.2017 в 23:42
source

1 answer

1

Do you use Linux? Try "whereis php" from a shell. If it is Windows, use the search engine and look for the full path of "php.exe"

    
answered by 13.12.2017 / 00:21
source