Blank Page with PHP in IIS6

Posted on 2006-03-30
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.
Question by:Trinculo
    LVL 28

    Accepted Solution

    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.

    LVL 1

    Author Comment

    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
    LVL 40

    Expert Comment

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

    Nothing wrong with PHP5.

    Just to be pedantic.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
    Both Easy and Powerful How easy is PHP? (  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now