I have a docker based development environment.
Every time I open VSCode, I get this message:
Cannot be verified because the PHP executable is not installed. Use the 'php.validate.executablePath' setting to configure the PHP executable.
Does anyone know how to set php.validate.executablePath in this case?
I have no idea how to do this.
Here is a screenshot.
\
, . .
"" > "" > ""... settings.json.
:
{ "php.validate.executablePath": " PHP.exe" }
, PHP.exe , php > bin.
, .
Windows:
Linux: PHP, ,
$ whereis php
php ( /usr/bin/php usr/local/bin/php), .
/usr/bin/php
usr/local/bin/php
VScode settings.json
settings.json
php.validate.executablePath: /usr/bin/php
PHP, : http://windows.php.net/download/
"php.validate.executablePath": "C:/php/php.exe"
. php.exe .
php.exe
, "php.validate.executablePath": "c:/path/to/php7.2.10/php.exe" settings.json VSCode.
"php.validate.executablePath": "c:/path/to/php7.2.10/php.exe"
"php.validate.executablePath": "C:/php/php.exe" will not work due to escape from mishandling
try it;
"php.validate.executablePath": "C:\\php\\php.exe"
Source: https://habr.com/ru/post/1016966/More articles:Elasticsearch - rated userIds rating based on aggregateTiforflow cifar sync point - deep-learningSpring x.509 security authentication - accept certificates based on their certificates - javaDetails about the collectors. - javaAPI OpenID ΠΈ RestFul - restXcode / Podfile.lock: no such file - iosAngular + AOT + Webpack + NgTools - Problem Creating ngFactory - angularstd :: move into static_pointer_cast: Why does static_pointer_cast not have rvalue reference overload? - c ++When using NOW () in MySQL, can I be sure that the correct UTC value will be stored in the TIMESTAMP column? - dateHow to capture webcam image in Angular2? - angularAll Articles