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 #10

Open Navelkar opened 9 years ago

Navelkar commented 9 years ago

git

This error pops up while saving the php file in Sublime editor after the php_systax_checker

slebreton38 commented 9 years ago

I have same trouble... very disapointing...

lifenglsf commented 8 years ago

me too,i move my php binary file then error appear,in terminal i can use php command

CodeBrauer commented 7 years ago

You can edit PhpSyntaxChecker.py to change EXECUTE_COMMAND to your php.exe path

antaNTby commented 7 years ago

:( no PhpSyntaxChecker.py found

CodeBrauer commented 7 years ago

@antaNTby - Check the comments here #11

nikhere1 commented 6 years ago

Simply edit PhpSyntaxChecker.py file replace EXECUTE_COMMAND = "php -l"; to EXECUTE_COMMAND = "C:/xampp/php/php.exe -l" (you may have different path for php.exe)

How to edit the PhpSyntaxChecker.py

Now you should be able to edit the file

Credit goes to @CodeBrauer

Sojtin commented 6 years ago

This should be in readme imo