Link to home
Start Free TrialLog in
Avatar of D F
D FFlag for United States of America

asked on

Set up PHP on local server

I have a Win 7 x64 laptop and I wanted to set it up so I can work on and test PHP sites. I already have MySQL installed. Can someone help me with details steps on how to do this. I have never use  PHP??

Thank you
Avatar of tsmgeek
tsmgeek
Flag of United Kingdom of Great Britain and Northern Ireland image

download WAMP
Avatar of D F

ASKER

tsmgeek:
Sorry to sound so new to PHP but I am. I tried installing WAMP but it did not seem to work. Let me tell you I have MySql 4.1, Dreamweaver, Coldfusion install already. Im a Coldfusion programmer.

This is my first time jumping into the world of PHP

Thank you
Avatar of Aaron Tomosky
Coldfusion and php can't run on the same port. I suggest xampp set to 8080. It comes with mysql but just don't use that part.
Avatar of D F

ASKER

Aarontomosky
Is there a way to walk me through what I need to do?
Download xampp. When you install I think it asks what port you want. If not, go to \xampp\apache\conf\ and edit the config file where it says 80 change to 8080 for the binding.
There are other ways than different ports but I think it's the easiest.
Avatar of D F

ASKER

Is xampp the same as WAMP? or should I uninstall it first?
Wamp and xampp are the top two easy to install servers. I prefer xampp but Wamp works fine. Just find the apache conf folder and change the port binding
Avatar of D F

ASKER

im getting this error

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

I believe "MySql 4.1" is unsupported now.  The current version, "MySql 5.5", is recommended unless you are developing for hosting that still uses ""MySql 4,1".
Avatar of D F

ASKER

I own the server and are hosting, but I can upgrade. So for now should I upgrade on my laptop? I never had before so I would have to learn how to upgrade MySQL
See if I understand you.  You have two computers, a server and a laptop.  You are trying to set up the laptop so you can develop code for the server.  Is that right?
Avatar of D F

ASKER

Yes, My Server is running Win 2003, Coldfusion 9, MySQL 4.1
My laptop Win 7 x64, Coldfusion 9, MySQL 4.1.

 I'm now trying to set them both to run PHP also, But please know I don't know anything about PHP or how to update MySQL. If you can give me details that will be great or guide me in the right area.
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of D F

ASKER

Ok that makes sense. Thank you