473,549 Members | 2,723 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="#FFFFF F">

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,D EBUG, 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 1516
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="#FFFFF F">

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,D EBUG, 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*******@attgl obal.net
=============== ===
Sep 24 '07 #4

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

Similar topics

0
318
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 installation to default to my user, I just want to disable the user that's causing the menu to come up, but my name is the only one that appears. ...
5
2713
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 my working PC, I already have VS.Net installed, but not VS6. My question, will installing the older VS6 with VS.Net already installed give me...
0
1385
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 Computer, Properties, Advanced, User Profiles, I noticed a new user profile: "Unknown Account." I deleted the profile. I went into Control Panel, User...
0
1304
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 2003 SP2 o Update for Outlook 2003 Junk Mail Filter
6
4243
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 appreciated and much thanks given in advance. I am very new to the Visual C++ environment, so I am hoping is something very silly and easy to fix.
0
908
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 copy, and keeps a record of all the files it has copied. As the network connection at the central site is way faster that the remote sites, it...
1
1593
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 access to that machine through vpn, I can't remote desktop. I have to send something to a colleague who has to do the installation. So far I have...
0
4102
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 OS, but after I discovered that it won't run on a system with Office 2003, I uninstalled Office 2007 and installed Office 2003. I reset the reference...
1
1521
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 build running build_ext error: Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible...
0
7520
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7809
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1941
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.