IIS and PHP Issues

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
energylevel
Forum Newbie
Posts: 4
Joined: Mon Nov 08, 2004 5:11 am

IIS and PHP Issues

Post by energylevel »

I installed IIS 5.1 and PHP 4.3.9 (windows installer version), apparently configures itself for use with IIS if the option is selected.

Now when I drop a PHP file in C:\Inetpub\wwwroot and open in browser nothing happens just a blank page, it seems the PHP is not being interpreted.

Does anyone have a quick list of settings for PHP and IIS on Windows XP or any known issues so I can check through and hopefully sort it out cos it's driving me crazy!!

Thanks.......
Johnny Rules
Forum Newbie
Posts: 2
Joined: Mon Nov 08, 2004 5:47 am

Post by Johnny Rules »

I'm having exactly the same problem!

I have installed IIS with the XP CD, installed the PHP installer. I have added my .php file to C:\Inetpub\wwwroot and previewing in the browser nothing seems to show. Uploaded onto my host it looks the way it should.

The code on my page is:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="eng" lang="en">

<head>
<title>PHP Test</title>

<meta http-equiv="Content-Type" content="text/html; charset="iso-8859-1" />

</head>

<body>


<?php
phpinfo();
?>



</body>

</html>
energylevel
Forum Newbie
Posts: 4
Joined: Mon Nov 08, 2004 5:11 am

Ok NOw

Post by energylevel »

I managed to get it working now, uninstalled and the reinstalled everthing droped an info.php file in C:\Inetpub\wwwroot oened browser and pinted it to http://localhost/info.php and it works fine now ..
Johnny Rules
Forum Newbie
Posts: 2
Joined: Mon Nov 08, 2004 5:47 am

Post by Johnny Rules »

Mines fixed too

For anybody else having the same problem try http://www.dslwebserver.com/main/fr_ind ... p-iis.html
Post Reply