Hello, I have windows 10, installed wamp, before it was openserver.

When I write php -v in cmd, php -v version 5.5.13 (cli) is displayed , on wammp there is php 5.6.25, how do I get php to run from wamp from the command line?

The environment variables are php from wamp enter image description here

Thank.

    1 answer 1

    In the path variable add the path to php7 and remove the path to php5.

    • I'm confused, not php7 but php 5.6.25, PHP 5.5.13 (cli) is still shown in cmd - G.Nenis 4:38
    • In the path variable add the path that you have to php registered. And the one that leads to 5.5.13 - remove from there. - user3416803