I’ve been using SublimeText since the early of version 2. The error highlighting was working great on Windows 8, but it was totally gone after I upgraded to Windows 10.
If you haven’t installed SublimeLinter, you can do that via Package Control, SublimeLinter, and SublimeLinter-PHP.
After successfully installed, go to Preferences > Package Settings > SublimeLinter > Settings – User
Add PHP Executable folder to the Path, in my case php.exe located in C:\wamp\bin\php\php5.5.12\
Save the file.
The last steps are making a difference with the previous version of Windows.
- Going to your PC’s
Advanced system settings.
- From System Properties, select
- Under System Variables find the variable
Path. Select it and click
- At the end of the Variable Value add your PHP’s path location. In my case it was C:\wamp\bin\php\php5.5.12\. All paths are separated by a
;so be sure to add one, if there isn’t already, followed by your PHP’s file path.
- Restart your Sublime Text editor.