title: How to enable check syntax PHP in visual studio code?
body: <p>I would like to ask you how can we activate check syntax on PHP file?</p>
  <p>Because after searching on Google, we need to set user settings by adding:</p>
  <pre><code> &quot;php.validate.executablePath&quot;:&quot;C:/wamp/bin/php/php5.3.10/php.exe&quot;
  </code></pre>
  <p>But after testing a simple code with error, there is no signal</p>
  <p>VS check syntax:<br />
  <a href="https://i.stack.imgur.com/LCEns.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LCEns.png" alt="VS check syntax" /></a></p>
  <p>Do you know how to fix it?</p>