Well, I previously installed PHP 5.3.28 from an executable file that installed it on my computer, globally with entries in a path variable, like:
path ...;C:\php\php53\;...
and another variable:
PHPRC C:\php\php53
This PHP is configured with Apache 2.2. Running PHP -v from the command line leads to the PHP version

After some time, I needed to upgrade my versions of PHP (to 5.6) and Apache (to 2.4), and I downloaded them as archive packages and configured them. So now I have two separately configured sets of PHP and Apache. Both of them work fine, and I also added the new PHP 5.6 to my environment variables, but it does not recognize it.

My environment variables:

I also added C: \ php \ php56 \ to the path still ahead of the red line. But it does not work. I need both of these php.exe versions.
source share