update PHP version at windows server 2008 having IIS

936 Views Asked by At

I am very new to PHP and I am trying to update PHp version on windows server 2008 R2 having IIS. I checked the version by using command Line : PHP -v and it shows 5.4.And using PHP manager in IIS I changed the version to 5.6 and checked the site is working fine. But after updating the verison from PHP manager I checked in the command line (php -v) it still shows me PHP 5.4

My question is,what is the difference between the PHP version that is being displayed in the command line and in the PHP manager.

-If they are same then why it did not update the version at server level.

-If they are not the same then how can we make the PHP manager version and server level version same.

-Is it really necessary to update the version at server level as well or we can carry on by updating the version just at PHP manager.

PHP version after changing from PHP manager:

enter image description here

PHP version showing in the command line even after updating in IIS using PHp manager:

Updating the PHP path

0

There are 0 best solutions below