• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

Blank Page with PHP in IIS6

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.
0
Trinculo
Asked:
Trinculo
1 Solution
 
gamebitsCommented:
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
0
 
TrinculoAuthor 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
0
 
Richard QuadlingSenior Software DeverloperCommented:
Actually, PHP4 scripts are not written to the standard required for PHP5.

Nothing wrong with PHP5.

Just to be pedantic.

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now