vscode-phpserver icon indicating copy to clipboard operation
vscode-phpserver copied to clipboard

[solved] "PHP not found" message is low on info

Open javel-by opened this issue 3 years ago • 1 comments

Got constant "PHP not found" error, even when path was ok. Then I tried to run "php --version" in command line, which returned error

PHP Warning: 'C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.28 in Unknown on line 0

To resolve this issue, I've installed the latest Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019. TL;DR: it's not enough information in "PHP not found" error message.

javel-by avatar Apr 03 '21 07:04 javel-by

OS:Win10 IssueL: When clicking server project with php I have the PHP not found message
Same issue here but I dont have issue with php --version running. But to be hones I am not sure if installed it "correctly" I have downloaded the interpreter and put the folder to environment variables.

partizanos avatar May 16 '21 21:05 partizanos