User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 426,017 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,688 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 77991 | Replies: 11
Reply
Join Date: Sep 2004
Posts: 14
Reputation: rackus is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
rackus rackus is offline Offline
Newbie Poster

Help Installing PHP on Win XP Pro

  #1  
Dec 24th, 2004
Hello,

Firstly, Merry Christmas to everyone! :cheesy:

I'm thinking of installing PHP on WinXP Pro, using IIS 5.1 as my web server. I have browsed around and there's 2 versions of PHP( i.e. PHP4 and PHP5). I have no prior knowledge or experience in PHP whatsoever. I only did some VBScript using IIS, some java and c programming. Neither of them needed much configuration at all.

My queries are:

1. Which would be a better version of PHP to install? (i.e. which version is more stable and has better functionality support.)

2. Is manual installation really that much better than using the installer?

I would be running PHP locally on my laptop to practise and learn the language from scratch. :o

Thank you very much in advance for your assistance and guidance!


Sincerely,
Rackus
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2004
Location: Boston,MA
Posts: 1,362
Reputation: mikeandike22 is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 17
Featured Blogger
mikeandike22's Avatar
mikeandike22 mikeandike22 is offline Offline
Nearly a Posting Virtuoso

Re: Installing PHP on Win XP Pro

  #2  
Dec 24th, 2004
Use php5 since it is the latest version. and on the php website they should tell you how to install it for your website.
My Daniweb Blog: This,That, and Everything Else (Blog contest winner)

GetFirefox!
GetOpera!






Reply With Quote  
Join Date: Dec 2004
Location: Fort Bragg, NC
Posts: 189
Reputation: mikeSQL is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 3
mikeSQL's Avatar
mikeSQL mikeSQL is offline Offline
Junior Poster

Re: Installing PHP on Win XP Pro

  #3  
Dec 24th, 2004
ERMMMM, just go and download MySQL at mysql.com Be sure to gget the latest also. If yo ujust want to run php and dont care wheather its php4 or php5 then search in google or sourcforge for PHPTrial or XAMPP.
dynastyCODERS#1 when it comes to Programming Tutorials, Database designs and discussions, Operating Systems, you name it, check us out and drop us a line to tell us your opinions on any and everything in mind!;)
Reply With Quote  
Join Date: Nov 2003
Location: Ohio
Posts: 778
Reputation: Zachery has a spectacular aura about Zachery has a spectacular aura about 
Rep Power: 7
Solved Threads: 20
Colleague
Zachery's Avatar
Zachery Zachery is offline Offline
The Geek Father

Re: Installing PHP on Win XP Pro

  #4  
Dec 24th, 2004
IT would be best to do everythinb by hand.

Are you going to be using IIS or apache?

If this is for testing on your local i suggest running apache esp if your regular webserver is linux based as IIS will be insanely differnt.


you can get and run apache + php + mysql really easily.

If your going to be using IIS run it as an ISAPI filter, as it is a much better choice overall, Not a fan of IIS so I can'te tell you how to get php setup, just dont set it up as CGI.

your going to want install php by hand, as most people have a hard time configuring php5 to work with mysql esp on windows, use php 4 and mysql 4.0.20/22/23

Firefox: no, its not the end all solution, it has its own issues and in time it will be just as insecure as IE, when its hit Firefox 6, if it makes it that far. Oh, and AOL pays for it, incase you didn't know.

Microsoft & Windows: If you hate it so much, move to linux, or bsd, or anything else, stop complaning and move on.
Good starting places: Gentoo Novell SUSE Fedora Core Apple
Reply With Quote  
Join Date: Dec 2004
Location: Fort Bragg, NC
Posts: 189
Reputation: mikeSQL is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 3
mikeSQL's Avatar
mikeSQL mikeSQL is offline Offline
Junior Poster

Re: Installing PHP on Win XP Pro

  #5  
Dec 24th, 2004


IT would be best to do everythinb by hand.

Are you going to be using IIS or apache?

If this is for testing on your local i suggest running apache esp if your regular webserver is linux based as IIS will be insanely differnt.


you can get and run apache + php + mysql really easily.

If your going to be using IIS run it as an ISAPI filter, as it is a much better choice overall, Not a fan of IIS so I can'te tell you how to get php setup, just dont set it up as CGI.

your going to want install php by hand, as most people have a hard time configuring php5 to work with mysql esp on windows, use php 4 and mysql 4.0.20/22/23


Another great post.
dynastyCODERS#1 when it comes to Programming Tutorials, Database designs and discussions, Operating Systems, you name it, check us out and drop us a line to tell us your opinions on any and everything in mind!;)
Reply With Quote  
Join Date: Sep 2004
Posts: 14
Reputation: rackus is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
rackus rackus is offline Offline
Newbie Poster

Re: Installing PHP on Win XP Pro

  #6  
Dec 25th, 2004
Hi everyone,

Thank you so much for the swift replies despite it being the holidays!

Just to confirm that I understood things right...

Its most ideal to run PHP on Apache. My OS is Win XP Pro with Service Pack 2 installed. Thus the recommended softwares are as follows:
1. apache_2.0.52-win32-x86-no_ssl
2. mysql-4.1.8-win-noinstall
3. php-5.0.3-Win32 but would most prob switch to PHP4 to reduce complications during setup as suggested Zachery.

The names are the names of the files that I downloaded. Have not started the installation process until I'm pretty sure what (configuration issues) I'm getting myself into.

As I already have IIS installed, I just don't run IIS when running Apache to avoid any conflict issues, right?

Anyone else has any additional suggestions or recommendations??

Once again thank you so much everyone for your swift responses!!


Sincerely,
Rackus
Reply With Quote  
Join Date: Sep 2004
Posts: 14
Reputation: rackus is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
rackus rackus is offline Offline
Newbie Poster

Re: Installing PHP on Win XP Pro

  #7  
Dec 28th, 2004
Hi everyone...

When you guys say install PHP by hand... are you guys referring to downloading the binary files and use C/C++ compiler to compile it? - OR - using the MSI installer to install and edit the configuration?

Actually what is the difference between binary files, source files and build files for Apache?

Thank you for your prompt and helpful replies!


Sincerely,
Rackus
Reply With Quote  
Join Date: Dec 2004
Location: Los Angeles,CA
Posts: 32
Reputation: helloadam is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
helloadam's Avatar
helloadam helloadam is offline Offline
Light Poster

Re: Installing PHP on Win XP Pro

  #8  
Dec 30th, 2004
http://ibsoftware.d2digitalmedia.com/ibserver/

lets you install MySql,Apache and PHP In an installer
Reply With Quote  
Join Date: Sep 2004
Posts: 14
Reputation: rackus is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
rackus rackus is offline Offline
Newbie Poster

Re: Installing PHP on Win XP Pro

  #9  
Jan 3rd, 2005
Hi Adam,

Thanks for the link!

Wanna ask you if I would still need to do additional configuration after using that "program" to install? As in all it does is the installation and bare basic setup, after which I need to edit the configuration files to add some lines here n there??

Thank you once again.


Sincerely,
Rackus
Reply With Quote  
Join Date: Dec 2004
Location: Los Angeles,CA
Posts: 32
Reputation: helloadam is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
helloadam's Avatar
helloadam helloadam is offline Offline
Light Poster

Re: Installing PHP on Win XP Pro

  #10  
Apr 19th, 2005
well it installs the basic as well as changes in Apache that index.php and index.htm are default too. Think that is about it....
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the PHP Forum

All times are GMT -4. The time now is 1:19 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC