I want to set PHP environment variable.
I tried this solution from How to set the env variable for PHP?
You need to put the directory that has php.exe in you WAMP installation into your PATH. It is usually something like
C:\wamp\xampp\php
I put PATH=C:\xampp\php
in path. Now what to do next?
When I execute php array.php
it says Could not open input file:array.php
.