IIS 7 and Above
Multiple PHP versions and IIS Express
Last post May 11, 2015 04:38 AM by Pengzhen Song - MSFT
May 10, 2015 12:17 PM|vahalia|LINK
On my system, I am running WebMatrix 3 with IIS Express 8. I have PHP 5.6.0 and PHP 5.3.28 installed on the system.
I have built a Website called Mysite.
When I go to IIS Manager and start PHP Manager, it tells me that the Web site is running PHP 5.6.0 and gives me the appropriate phpinfo() output.
However, when I add a phpinfo() call on my website, it tells me that it is running PHP 5.3.28.
When I go to WebMatrix manager in the system tray, it shows me the config file applicationhost.config. When I look at it in the editor, it shows my PHP 5.3.
I don't want to manually edit config files if possible, but willing to do it if needed.
How do I switch my website to PHP 5.6? The standard articles on the web did not work.
May 11, 2015 04:38 AM|Pengzhen Song - MSFT|LINK
It seems that you have some misunderstanding about IIS and IIS express. Via IIS manager we can configure IIS settings instead of iis express.
As I know, we can configure website php version via webmatrix:
For more information, please refer to the docuemnt: