Only php path is not enough.......... Sublime Text3 error:PHP Screenshot
How can solve this problem?
Only php path is not enough.......... Sublime Text3 error:PHP Screenshot
How can solve this problem?
To add php & Sublime to the PATH: 1. Right click Computer -> Properties -> Advanced System Settings -> Environment Variable; 2. Under 'System Variables' select variable: Path and hit 'Edit'; 3. At the 'Edit environment variable' hit 'New'; 4. hit 'Browse'; 5. find PHP folder (for me it was "H:\xampp\php") & add (hit 'Ok'); 6. Go rule no.3 and no.4 add 'Sublime Text 3'(for me it was "C:\Program Files\Sublime Text 3") 4. OK, OK, OK
It's work also for CMD. Blockquote Thanks
I fixed this problem by disabling the PHP syntax checker plugin in sublimetext. CTRL + SHIFT + P >> package control disable package >> php syntax checker.
Add PHP and Sublime Text to Path under system variables
Go to properties of Computer(ThisPC/MyComputer) whatever the name is in your case. All the steps BAPY has mentioned follow those but for some there might be somthing in the path added already, Just make sure you separate multiple PATHS with a semicolon ;. You are good to go then. It will work.