473,386 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Newbye - help on installing PHP 5 on winxp/2003

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

<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

Sep 23 '07 #1
3 1510
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
Sep 24 '07 #2
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

Sep 24 '07 #3
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.
js*******@attglobal.net
==================
Sep 24 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Grahammer | last post by:
Can someone tell me why I'm seeing the Windows XP Welcome screen after installing Visual Studio .Net 2003? ....and more importantly, how do I go about getting rid of it? I don't want my...
5
by: Gerald Hernandez | last post by:
One of my development PC's died, and I need to have legacy VS and VS.Net installed at the same time. On the now dead PC, I had VS6 installed prior to installing VS.Net. This worked just fine. On...
0
by: my1stname | last post by:
On Tuesday, May 10, I installed VB.NET Standard 2003 on my WinXP Home Edition system with processor speed 1.1 GHz, 256 MB RAM, and 40 GB hard drive. My system has ground to a halt. In My...
0
by: Richard Lionheart | last post by:
Hi, Is this the best NG for the following question? I'm getting repeated (failing) attempts by Windows Update to install a trio of patches it pushed to my WinXP-Pro/SP2 system: o Office...
6
by: gregory_may | last post by:
I am dying trying to get the GinaStub example to work at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample98/html/vcsmpginastubsample.asp Any help is greatly...
0
by: laridae | last post by:
I wrote a program to copy files from lots of different remote servers to a centrally based server. It uses robocopy, but is written in vb.net to add extra features, eg it records how long it to to...
1
by: hazz | last post by:
I tried using the Visual Studio setup and deployment wizard to create an msi to install the .exe, config and .dll resource files from my winxp deve box onto a Windows 2003 server. I don't have...
0
by: Bill Fallon | last post by:
I am developing a VB.Net application with VS 2005 that opens an Excel workbook and populates the worksheet with data. I started developing the application with Office 2007 installed on my Vista...
1
by: Gheorghe Postelnicu | last post by:
Hi, I have Python 2.5 installed on WinXP and I am trying to install a new package. I ran the setup.py build and I get the following message: C:\packages\reedsolomon-0.1>setup.py build running...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.