Solved

Installing PHP on Win XP

Posted on 2002-03-04
6
210 Views
Last Modified: 2008-03-04
Hi!

I'm trying to install PHP on Win XP Pro. At the end of the install, it says that because an OCX is not found, I have to configure manually php.ini. So I changed include_path and doc_root folders.
Unfortunately I still can't open any of my pages. Can you help me making PHP work. I'm surely missing something.
IIS is working.
I've read at www.php.net that it can be installed on XP
I have PHP version 4.06.

This is strange. There was nothing to do in Win 2000, and when I look at my Win2000 php.ini file, these 2 folders are not set and it works anyway :-(

I really would like to have PHP on Win XP. Is it possible?

Thanks for your help.
0
Comment
Question by:ornicar
  • 3
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
dkjariwala earned 150 total points
ID: 6840843
Follow these steps.

1. Go to
Start/Settings/Control Panel/Administrative Tools/Internet Services Manger

2. Then right click the default website, select properties.

3. Go to Home Direcotry Tab.

4. In application settings, Click on Configuration.  You would have App Mappings tab.

5. Click on Add.

6. In executable, select php.exe binary.

7. Extension type .php

and that's it !!


Put up simple PHP document like

<?php
//test.php
phpinfo();
?>

Call it through your browser like,
http://localhost/test.php

It should display PHP information !! If it does, then its configured !!

I hope you get it done by these instructions !!

JD
0
 
LVL 1

Expert Comment

by:jajej
ID: 6840845
Have you tried PHPTriad?  It is a combo of Apache, PHP, MySQL, Perl and PHPMyAdmin.  Unless you truly have to use IIS I would avoid it like the plague.

I have installed PHPTriad on XP, 2000, and ME without any problems.

you can find it at www.phpgeek.com

Hope this helps!
0
 
LVL 5

Expert Comment

by:dkjariwala
ID: 6840952
Does he want to configure PHP on IIS or a new setup all togther ???

JD
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 9

Author Comment

by:ornicar
ID: 6842344
Thanks dkjariwala, that did it!
jajej, thanks for the link anyway. Will make it an option.
0
 
LVL 9

Author Comment

by:ornicar
ID: 6842345
Thanks dkjariwala, that did it!
jajej, thanks for the link anyway. Will make it an option.
0
 
LVL 9

Author Comment

by:ornicar
ID: 6842347
Thanks dkjariwala, that did it!
jajej, thanks for the link anyway. Will make it an option.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question