naomichi-y / php_syntax_checker

This package is plugins for Sublime Text 2 and 3. When you save PHP file, perform syntax check of PHP
39 stars 14 forks source link

'php' is not recognized as an internal or external command, operable program or batch file. #9

Closed MadtownLems closed 9 years ago

MadtownLems commented 9 years ago

I get this error message whenever I save a php file with the php_syntax_checker package installed.

'php' is not recognized as an internal or external command, operable program or batch file.

(SublimeText2 on Windows7)

Edit: My guess is that this is because I don't have PHP installed on my local machine?

Edit2: I've installed PHP Via XAMPP but continue to get the same error, even after successfully running local php files in my browser

MadtownLems commented 9 years ago

to resolve this, I needed to add a path for PHP in my Environment Variables, and now it is working as expected.