in your test.php
did you have a line similar to the following?
<?php
// this line
include("something.php");
?>
if not check your php.ini settings and your inetpub settings
open php.ini
look for a line that says extension_dir
make sure that this points to the directory of your php executable. on mine it says
c:\win2000\php\
check inetpub
open mmc, iisadmin
right click on Default Web Site
click on the Home Directory tab
click on Configuration
check the extensions/app mappings for the file (mine is .php4) and that it is bound to the php.exe so on mine it says c:\win2000\php\php.exe %s %s
the two percent s signs are important
click ok
close inetpub and save settings
go to start->run->command/cmd
type: net stop iisadmin
just say yes
this will stop everything
after that has occurred, type: net start w3svc that should start your WWW/Inetpub services
close dos prompt window
open mmc/iisadmin,
open test.php in your test editor and save it in c:\Inetpub\wwwroot\ as test.php or test.php4 in my case
open your browser and type in the URL http://127.0.0.1/test.php4
you should see it work
here's a test.php4 you can use
<body>
<?php
echo "Hello world";
$var = 5;
$total = $var + 10;
echo "<br>Sum of numbers is: $total<br>";
?>
</body>
good luck