First, change IIS from 64-Bit mode to 32-Bit mode. You only need one command:
Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
Command to restore to 64-Bit mode:
Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 0
PHP is installed in the same 32-Bit mode.
ASP. NET of IIS needs to be re-registered before it can be used
32-bit: % SystemRoot % \ Microsoft. NET \ framework \ v2.0.40607 \ aspnet_regiis.exe-I
64-bit: % SystemRoot % \ Microsoft. NET \ framework64 \ v2.0.40607 \ aspnet_regiis.exe-I
First, change IIS from 64-Bit mode to 32-Bit mode. You only need one command:
Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
Command to restore to 64-Bit mode:
Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 0
PHP is installed in the same 32-Bit mode.
ASP. NET of IIS needs to be re-registered before it can be used
32-bit: % SystemRoot % \ Microsoft. NET \ framework \ v2.0.40607 \ aspnet_regiis.exe-I
64-bit: % SystemRoot % \ Microsoft. NET \ framework64 \ v2.0.40607 \ aspnet_regiis.exe-I