0

I'm using wampserver installed on windows 10. I choosed php 7.1.9 like in the picture: Screenshot

But when i run the command php -v i got:

PHP 5.6.31 (cli) (built: Jul  5 2017 22:24:51) 
Copyright (c) 1997-2016 The PHP Group 
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

and i must install some plugins compatible only with php7 how can i resolve this probem?

Sloan Thrasher
  • 4,953
  • 3
  • 22
  • 40
Houssem
  • 19
  • 5
  • first remove, all the instances of PHP then install php 7 – JiteshNK Nov 28 '17 at 12:56
  • 2
    Sounds similar to - https://stackoverflow.com/questions/15597067/how-to-run-php-from-windows-command-line - what does your `phpinfo()` show (the cli could be different)? – DaveStSomeWhere Nov 28 '17 at 12:57
  • Basically you should NEVER add a version of PHP to your Windows PATH. I assume you have done so, otherwise running a `>php -v` would not find the `php.exe` – RiggsFolly Nov 28 '17 at 17:42

0 Answers0