|
Posted by bz on 09/23/07 20:43
Hi,
I'm new to php, actually I used it fewtimes back in 2000, (v 4 at that
time), but no longer since then
I need to install it now on a WinXP or 2003 server on IIS, but I have
troubles.
I downloaded the MSI installer (version 5.2.4), run, it reported that
installed ok, I created a virtual dir in IIS and added a php file
there
<HTML>
<BODY BGCOLOR="#FFFFFF">
This is my first PHP code<br>
<?php
$myvar = "Hello world<br><hr>";
echo $myvar;
phpinfo();
?>
</BODY>
</HTML>
When I try to browse it, I get the HTTP error 500 (programming error
or website is in maintennace)
I checked the setting in IIS -> properties -> Home directory tab ->
Configuration button -> mappings tab, and I have the PHP extension
registered as any other extension there (it points to php5isapi.dll).
Also, initially it was set for all verbs, and I changed for
GET,HEAD,POST,DEBUG, but no result
I encounter this on both WinXP and Win2003.
Can anyone help me to get started with this and configure IIS to
process PHP files?
Thanks you
Navigation:
[Reply to this message]
|