Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to run php on on one of my websites but I need it to support 32 bit binaries.

If I run:

cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "true"

...all my existing 2.0 applications stop responding - I get a "Service Unavailable" error even after restarting services. This error remains until I set that flag back to false and restart the IIS service.

I seem to have the 64 and 32 bit versions of the .net framework installed, so I thought it would be able to run my applications as 32 bit processes.

Can anyone suggest anything that might get this to work?

share|improve this question
up vote 1 down vote accepted

IIS 6.0 can run in 32-bit or in 64-bit mode, but not in both modes at the same time. If you want it to run in 32-bit mode, it will run everything this way.

This also means you will need to configure ASP.NET to run using the 32-bit version of the .NET Framework, because as soon as you switch IIS to 32-bit mode, it will be unable to load the 64-bit DLLs it normally uses on 64-bit systems.

More info here:

share|improve this answer
This is exactly what I need to do. Thanks! – Neil Trodden Aug 20 '10 at 14:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.