|
Posted by CW Northrop on 09/24/07 00:01
On 23 Sep 2007 in comp.lang.php, bz said:
> 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
>
>
If you're on windows why not use something like XAMPP?
--
Free Website Promotion and Marketing tips: http://tinyurl.com/2f5lb8
[Back to original message]
|