We help IT Professionals succeed at work.

Blank Page with PHP in IIS6

Trinculo
Trinculo asked
on
Medium Priority
412 Views
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">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

and nothing comes up on the page itself.

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

CERTIFIED EXPERT
Commented:
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.

<?php
error_reporting(E_ALL);

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

?>

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

Gamebits

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

Ask the Experts

Author

Commented:
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

Commented:
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.

OR

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.