We help IT Professionals succeed at work.

Blank Page with PHP in IIS6

Trinculo asked
Medium Priority
Last Modified: 2013-12-13
I have configured IIS6 exactly the way the docs say to.

Using IASPI not CGI.

The test page for php works that shows all the modules and things.

When i try to load a PHP page all i get in the source of the page is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>

and nothing comes up on the page itself.

I have gone through my php.ini countless times.
Watch Question

When you said "try to load a PHP page" what do you mean exactly, you are trying a php script and nothing happens?

Try a very simple one.


echo "If you can see this, PHP works";


Name it test.php, upload it to your server and open it up with your browser.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


Ok, I found the problem.

PHP 5 does not like some scripts.

I reverted back to an older (4) version of PHP and everything works fine.

Thanks for your help anyway Gamebits
Richard QuadlingSenior Software Developer

Actually, PHP4 scripts are not written to the standard required for PHP5.

Nothing wrong with PHP5.

Just to be pedantic.

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.