Solved

Installing PHP on Win XP

Posted on 2002-03-04
6
207 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
Comment Utility
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
Comment Utility
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
Comment Utility
Does he want to configure PHP on IIS or a new setup all togther ???

JD
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 9

Author Comment

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

Author Comment

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

Author Comment

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

744 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

9 Experts available now in Live!

Get 1:1 Help Now