Newbye - help on installing PHP 5 on winxp/2003
Newbye - help on installing PHP 5 on winxp/2003
am 23.09.2007 22:43:21 von BZ
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
This is my first PHP code
$myvar = "Hello world
";
echo $myvar;
phpinfo();
?>
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
Re: Newbye - help on installing PHP 5 on winxp/2003
am 24.09.2007 02:01:38 von CW Northrop
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
>
>
>
>
> This is my first PHP code
>
>
> $myvar = "Hello world
";
> echo $myvar;
> phpinfo();
> ?>
>
>
>
>
> 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
Re: Newbye - help on installing PHP 5 on winxp/2003
am 24.09.2007 02:20:25 von BZ
> > 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
Re: Newbye - help on installing PHP 5 on winxp/2003
am 24.09.2007 03:09:45 von Jerry Stuckle
bz wrote:
>>> 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
==================