I installed Syntastic with pathogen for Vim.
I'm coding PHP on Windows,
when I type :SynasticInfo
, I have no checkers available.
I can run php -l index.php
on my terminal but when I run :!php -l %
in Vim, another terminal opened with this error message:
"C:\Windows\system32\cmd.exe /c (php -l)
'php' isn't a system command etc..
I found these on the web:
but they didn't solve my problem.
Any ideas? Thank you.
I installed PHP of course and my PATH
is correct too.
If you have not installed php, you should do it by installing XAMPP or PHP itself, find php.exe
in the subdirectories and add the path of it to PATH variable.