php-language-server icon indicating copy to clipboard operation
php-language-server copied to clipboard

php.executablePath

Open srinu542 opened this issue 6 years ago • 1 comments
trafficstars

Issue Type: Feature Request

Hi!This extension cant start properly."PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting". this error is reporting to me.What should I do.I added the path of php folder and php_featuer folder but the syntax is not Highlighting.Why?

Extension version: 2.3.10 VS Code version: Code 1.35.1 (c7d83e57cd18f18026a8162d042843bda1bcf21f, 2019-06-12T14:30:02.622Z) OS version: Windows_NT x64 10.0.15063

srinu542 avatar Jul 01 '19 14:07 srinu542

Similar to me, I get: Error spawning PHP: Command failed: E:\Programme\xampp-7.3.7\php\php.exe --version

I start VS Code with a Batch file, in which I set the PATH and do a php.exe --version, which shows:

E:\Programme>php.exe --version PHP 7.3.7 (cli) (built: Jul 3 2019 14:34:10) ( ZTS MSVC15 (Visual C++ 2017) x64 ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies

Extension version: 2.3.10 VS Code version: Code 1.36.1 OS version: Windows_NT x64 10.0.15063

chbruemmer avatar Aug 10 '19 05:08 chbruemmer