Solved

Installing PHP on Win XP

Posted on 2002-03-04
6
208 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
File submission to SQL Server 1 39
simplest php form 3 63
How can I upload multiple images from a HTML form? 2 18
Wordpress errors showing up, hacked? 4 12
Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
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.

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now