Error 0x2 starting php.exe --version

I get this strange error while I check my php version

Error 0x2 starting php.exe -version

can anyone tell me how to solve it?

+4
source share
1 answer

Make sure yours php.exeis in your PATH.

Here is a good resource for setting PATH variables: http://www.computerhope.com/issues/ch000549.htm

After that, restart the console and try again.

+2
source

Source: https://habr.com/ru/post/1614300/


All Articles