Use PHP 7.0.10 on CLI with WAMP

I have a WAMPServer 3.0.6 with PHP 7.0.10 installed. I am using Git Bash to use the server-side cli for my projects, mainly Laravel. There's a package that requires PHP 7.0 to work, and even that my WAMP server uses PHP 7 to run, it can't figure out the correct PHP version on the command line.

When I use php -v

I get

PHP 5.6.25 (cli) (built: Aug 18 2016 11:39:15)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

      

How can I get the CLI to use 7.0.10?

+3
command-line-interface php wamp


source to share


No one has answered this question yet

See similar questions:

61
How to run PHP from the Windows command line
3
How do I run a PHP program from the command line on a Windows machine?

or similar:

4270
Link. What does this symbol mean in PHP?
2776
How can I prevent SQL injection in PHP?
2335
Removing an element from an array in PHP
6
Fatal error: Class 'COM' not found PHP. Win7 - Apache - PHP
2
PHP Warning: Unable to load dynamic library '/usr/lib64/php/modules/solr.so' undefined symbol: php_json_decode_ex in Unknown on line 0
1
How to get Drupal to use php 5.6 instead of php 7.1.7 (default PHP version for Sierra)
1
Windows Git Bash does not recognize commands in PHP exec
1
Changing WAMP from PHP 5.6.25 to 7.0.10
0
Xdebug doesn't work with WAMP
0
PHP version upgrade from 5.5.9 to 5.6



All Articles
Loading...
X
Show
Funny
Dev
Pics