Friday, February 12, 2010

How to Install LAMP in Windows?

Install the Apache Web Server.
1) If you haven't done so already, download the Apache HTTPD Web Server from the Apache web site . Be sure to download the apache_2.2.11-win32-x86-no_ssl MSI installer here: (http://httpd.apache.org/download.cgi)

2) save & Double click the msi file saved on your Windows Desktop. click next
3) Next, fill in all the text boxes with the following information:
  1. "Network Domain": localhost
  2. "Server Name": localhost
  3. "Administrator's Email Address": your email address
 4) Make sure the radio button "for all users, on port 80, as a service - recommended" is selected.Click "Next>".On the next window, click the radio button "Custom", and then click "Next>".

 5) On the next window highlight "Apache HTTP Server" and click the "change" button.

6) We are going to install all the packages and scripts in the folder C:\Server\Apache2\ (assuming C: is your main hard drive). So in the text box "Folder name:" type in "C:\Server\Apache2\". The ending backslash is important.

7) After you have typed in the path, click "OK" and then click "Next>".

8)Click "Install" to begin the installation.

9)Once the Apache installation software has finished installing all the files on your computer, you will see a final window letting you know the installation was a success. Click the "Finish" button.

10)To check that the software was in fact installed successfully, open your favorite browser and type "http://localhost/" into the address bar. You should see a page that looks like this or the words "It Works!":

Install the MySQL Database Server.
1)If you havn't done so already, download the free MySQL Server Community Edition -- you can download the software from the MySQL website. Be sure to download the Windows (x86) version (way at the bottom of the page), which includes a Windows Installer. Save the file on your Windows Desktop.

2)It's time to install SQL Server. The installation file comes as a .zip file. Double click the file. Your unzipping software should open the file and show you a list of files inside the archive. There should be only 1, "Setup.exe". There is no need to extract the file from the archive, just go ahead and double click the "Setup.exe" file. click next > 

3)On the next window, click the radio button "Custom", and then click "Next>". Since we have installed Apache in C:\Server, we are going to install MySQL in the same directory.

4)On the next window, highlight "MySQL Server", and then click the "change" button. 

5)On the next window, in the text box "Folder name:", change the directory to "C:\Server\MySQL\". Make sure you include the ending backslash. Then click "OK".

6)On the next window, click "Next>". 

7)Now MySQL is ready to install.
Click "Install".

8)Once the installation is complete, you will be presented with a "MySQL Sign-Up" window. Click the radio button "Skip Sign-Up", and then click "Next>". You can sign-up for MySQL.com later if you like.

9)MySQL was successfully installed.

Then Install the PHP5 AND phpmyadmin.

No comments:

Post a Comment