title: How to upgrade php version on Windows 10
body: <p>I'm trying to get my Laravel project to work. But when I use composer update it says the following:</p>
  
  <p>This package requires php >=5.6.4 but your PHP version (5.5.12) does not satisfy that requirement.</p>
  
  <p>I'm using WAMP which runs php version 7.0.4 this is also confirmed in the browser if I echo the php version. But when I use <strong>php -v</strong> in the console it shows that I'm using PHP version 5.5.12 (cli). </p>
  
  <p>I've searched a bit around on google and I found out that it uses my windows PHP version instead of my webserver's version. But I couldn't find out how to update my  PHP version on Windows. </p>
  
  <p>My PATH contents are as shown in the following image</p>
  
  <p><a href="https://i.stack.imgur.com/Gle48.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Gle48.png" alt="enter image description here"></a></p>