Clement Habarurema blog
home blogs
Rate Message

Thanks for taking time and rate this article!

x

Send this blog to your friend!



Login or register if you haven't done so, we're sorry!



Go to clement.bubuface.com

RSS and Atom Feeds

RSS 1.0      RSS 2.0      Atom

User status
username:
password:
Today's...
Ads

advertise with bubuface.com

1. Since December 25, 2008, bubuface website is using more prittier urls
in the form of "bubuface_root/blog/view/id/artcile-title.html".

2. bubuface website has been just lunched. Your feedback is very important. Thanks for all supporters.
webmster: Clement Habarurema.

How to manually install apache, php, mysql and perl - part1

By Clement Habarurema, on 2009-10-12 23:03:16
Tags: mysql, php, apache, webpro
views: 720 | comments(2) | Email a friend

Total rates: (0)
Rate up
Rate down

How to manually install apache, php, mysql and perl - part1

In this first part of "How to manually install apache server, php and mysql on windows" is for those who want to install these softwares but kept on having troubles installing. Many will argue why one would manually install while there other simple ways to install php, apache anf mysql.

The easiest way to install is to use some packaging software like xampp, wamp, lamp etc. There are many reasons one would want to manually install though. For example you want to install different versions of softwares other than the ones listed in packages, another good reason is to learn and feel confident. When you install manually you go into details, which will make you understand more about these softwares configuration process, very important for any so called expert in php, apache and mysql.

Ok, for what reasons, let us manually install apache, php and myql now. This first part will install apache server, second part will enable php, third part will install and connect to mysql. The last part will enable perl. Let us start having fun!

Install Apachde:

First you need to download apache installer from apache website. As of this writing the current stable version is 2.2.14. You can download the one with SSl or without SSL. After you downloaded just click on the installer and follow the instructions. The steps are reproduced on pictures below for clarity.
Step1: click installer the dialog below will appear, click next.


Step2: nothing here just accept license and go next.

Step3: Read if you like reading, otherwise just click next.


Step4:
You must provide the inputs in the fields, put "localhost" in Network Domain, "localhost" in Server Name, and "youremail@someserver.com" in the Adminnistrator Email Address. Click next.


Step5: Accept default and go ahead or customize if you are familiar with apache.




Step6:Click next or change installation folder if you want


Step7: Happily click install and have a nice drink while waiting for installation to complete, it is fast though, it took me less than 2 minutes.


After all this steps you will seean apache icon in windows task bar which look like the image below when apache is running:

If the icon is red you click on it and see many options including restart. Apache uses port 80 by default, if this port is already in use, you will not be able to start your apache. This is easy to correct, just go to apache installation folder, mine is "C:\Program Files\Apache Software Foundation\Apache2.2". Open "conf" folder and then open "httpd.conf" using your favorite editor. Look got the line

Listen 80

change it to "Listen 81", you can use any number higher than 80. Save changes.

Last step: Assuming that all went ok and that apache is running, open your favorite browser, and then open this url "http://localhost/" or "http:localhost:81/" if you changed the port number. You will see welcome page like this:


Was simple right? Now let us go to next part where we will be able to run php from our apache server. If you try to serve any php file from apache at this stage , you will have an error. So, see you on next part for PHP.


#1 2012-01-14 18:49:29

best web hosting wrote:

Hi, I have thought a lot on this issue and i find your ideas similiar to mine! It is so cute! web hosting comparison web hosting plans

#2 2011-06-15 11:45:38

Eldora wrote:

BION I'm impessred! Cool post!

Add a comment

Leave a comment
*
*
*
*