Solved

how to install mysql and php locally on local computer running on Windows 7

Posted on 2010-11-17
8
392 Views
Last Modified: 2012-05-10
Hello. I may have made up some mistakes on my system in order to get me to test a simple database scritpt I created online. I want to be able to create and test php/mysql script on my computer first before putting it online. The problem is that everyone has a different method of installing what in what order and this coupled with reading many different installation procedures have been giving me no end of problems. Here is what I did.
I installed IIS which was recommended and installed 3 different php servers with different settings from developer to server settings. I also installed mysql.
so I would like to remove all versions of mysql and php and ISS and start from scratch. I have files in a directory that work online and are stored in a directory on my computer. So what is the recommended course of action to resolve this????? Any help would be appreciated.
0
Comment
Question by:PawloA
8 Comments
 

Expert Comment

by:sangramp
ID: 34161680
Hi,

Just unstall php from control panel and remove the "php" viz folder on your c or d drive where your software gets installed. and re-install the php software.
0
 
LVL 3

Expert Comment

by:boraganesh
ID: 34161685
if you would like to use the IIS refer below
install php, mysql with IIS  
http://wiki.phpgedview.net/en/index.php?title=Install_IIS_with_PHP_and_MySQL
or if would like to use apache server insted of IIS
just try XAMP..one click to install everything..
0
 
LVL 5

Expert Comment

by:-null-
ID: 34162360
Hi,

Remove all of the versions of PHP and mysql, along with IIS and install WAMP (http://www.wampserver.com/en/).

This installer will install and configure mysql, php and apache web server for you, so that everything works out of the box.

hth

-null-
0
 
LVL 3

Expert Comment

by:boraganesh
ID: 34162588
using apache+php makes life easy and faster...so try with apache server insted of IIS
0
Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

 
LVL 4

Expert Comment

by:eli_cook
ID: 34164111
As -null- suggests WAMP is a very powerful testbed for PHP and MySQL - I find it a great solution as you can choose your version of apache, php and MySQL, this way if you are working with a CMS or another framework you can pick you specific versions of the software for testing.
0
 
LVL 3

Expert Comment

by:boraganesh
ID: 34170346
yes, you can choose the XAMP or WAMP
http://www.apachefriends.org/en/xampp-windows.html 
0
 
LVL 1

Author Comment

by:PawloA
ID: 34178500
great. I installed both wamp and xampp and none of them will start the php or mysql services and I can't go into the admin panel in mysql to create a database.
0
 
LVL 3

Accepted Solution

by:
boraganesh earned 500 total points
ID: 34178890
sorry for let reply...
you can start mysql, apache server and php through xamp control panel
also configure it to auto start on boot up.

To create database use phpmyadmin, its get installed with xamp
you can very welll access it through xampp control panel
http://localhost/xamp/
htpp://localhost/phpmyadmin/
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
Mapped Network Drive Multiplying - Windows 7 - 64 Bit 6 31
Connection String 16 43
app server have enough resources... 2 24
set url:tel to a website 3 9
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

895 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

14 Experts available now in Live!

Get 1:1 Help Now