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:
- https://github.com/scrooloose/syntastic/issues/167
- Syntastic for Vim: What are the required lines in ~/.vimrc? (PHP error checking)
but they didn't solve my problem.
Any ideas? Thank you.
I installed PHP of course and my PATH
is correct too.