Connecting Tech Pros Worldwide Forums | Help | Site Map

Newbye - help on installing PHP 5 on winxp/2003

bz
Guest
 
Posts: n/a
#1: Sep 23 '07
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


CW Northrop
Guest
 
Posts: n/a
#2: Sep 24 '07

re: Newbye - help on installing PHP 5 on winxp/2003


On 23 Sep 2007 in comp.lang.php, bz said:
Quote:
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
bz
Guest
 
Posts: n/a
#3: Sep 24 '07

re: Newbye - help on installing PHP 5 on winxp/2003


Can anyone help me to get started with this and configure IIS to
Quote:
Quote:
process PHP files?
Thanks you
>
If you're on windows why not use something like XAMPP?
I can install xampp on my develop machine
But I have an internet server (Win2003) I use for various stuff (ftp
server, mail server, remote access, etc) and it runs IIS.
And I would want to have it run PHP, so if I make a demo in PHP to be
publicily available, to be able to send someone the direct link,
without a different port (like http://myserver.com/demo_php, instead
of http://myserver.com:8080/demo_php, like when I have to install
apache to run simultaneously with IIS)
The reason I use IIS is I develop mostly in ASP.NET.

So, any suggestion to make PHP 5.2.4 to work on my IIS?

Thanks

Jerry Stuckle
Guest
 
Posts: n/a
#4: Sep 24 '07

re: Newbye - help on installing PHP 5 on winxp/2003


bz wrote:
Quote:
Quote:
Quote:
>>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?
>
I can install xampp on my develop machine
But I have an internet server (Win2003) I use for various stuff (ftp
server, mail server, remote access, etc) and it runs IIS.
And I would want to have it run PHP, so if I make a demo in PHP to be
publicily available, to be able to send someone the direct link,
without a different port (like http://myserver.com/demo_php, instead
of http://myserver.com:8080/demo_php, like when I have to install
apache to run simultaneously with IIS)
The reason I use IIS is I develop mostly in ASP.NET.
>
So, any suggestion to make PHP 5.2.4 to work on my IIS?
>
Thanks
>
I'm still at 5.2.1, but it installs and works fine. I rather suspect something
in your installation than in 5.2.4. If there were such a basic problem with
5.2.4, I would think a lot of people would have noticed it already.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Closed Thread