PHP Install on IIS/XP .php shows blank screen in browser

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
solucionmike
Forum Newbie
Posts: 2
Joined: Thu Jun 12, 2008 12:38 pm

PHP Install on IIS/XP .php shows blank screen in browser

Post by solucionmike »

Hi,
I followed the install instructions at..
http://www.wikihow.com/Install-PHP-5-fo ... p-and-2003
(I have windows XP, IIS and php 5.2.6) and when i access the text.php page it seems the web server is NOT interpreting the PHP code.

the test page at http://localhost/test.php just shows a blank screen in IE..
the html in the page is..
<html><head><title></title></head><body>
<?php
phpinfo();
?>
</body></html>
in the browser - i tried both the zip install first then msi install.
none worked
Ideas?
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: PHP Install on IIS/XP .php shows blank screen in browser

Post by Doug G »

I followed the ISAPI instructions that come with the php download and have had no problems with IIS5 or IIS6. I would never do what that wiki page recommended, copy all the .dll's into the windows system32 directory. Here are some hints that might help you out.

- If your user is not authenticated to the IIS server, IIS operates using an Internet Guest user account, typically IUSR_computername. You need to assign permissions to this user account to the PHP folder, there won't be any permissions set by default.

- You need to add the script mappings in IIS for the .php extensions. This is documented in the downloaded docs.

- The last time I got a new php from the php website, it was compiled to use php.ini only in c:\windows\ . I moved the php.ini there from the c:\php folder. This was the only php file I added to the windows system directory.

- There is another step or two needed with IIS6 (W2003 server). Check the documentation.
solucionmike
Forum Newbie
Posts: 2
Joined: Thu Jun 12, 2008 12:38 pm

Re: PHP Install on IIS/XP .php shows blank screen in browser

Post by solucionmike »

I did the zip install again, and simply followed the instructions in the install.txt file that came with it. Worked like a charm, thanks.
Post Reply