ayrton_satar
New Member
Hello, I have been with some problems with the PHP executable configuration in Visual Studio Code. I read some posts of people that had the same problem as mine, but did not help me at all.
The error is always the same (even with the right file that is considering by PHP executable):
Cannot validate since /usr/bin/php8.1 is not a valid php executable. Use the setting 'php.validate.executablePath' to configure the PHP executable.
I know that I have to configure a file named settings.json, so I went there, and in the terminal of my OS (GNU/LINUX Debian) I use the command `whereis php ` to find the PHP executable and include the path at "php.validate.executablePath" but the error persists even after this procedement
The error is always the same (even with the right file that is considering by PHP executable):
Cannot validate since /usr/bin/php8.1 is not a valid php executable. Use the setting 'php.validate.executablePath' to configure the PHP executable.
I know that I have to configure a file named settings.json, so I went there, and in the terminal of my OS (GNU/LINUX Debian) I use the command `whereis php ` to find the PHP executable and include the path at "php.validate.executablePath" but the error persists even after this procedement