apache_2.0.59-win32-x86-no_ssl.msi php-5.1.2-Win32.zip mysql-5.0.41.win32.zip or mysql-5.0.41-win32.exe Used - apache_2.0.59-win32-x86-no_ssl.msi Go to your desktop to the previously created folder and double click apache_2.0.59- win32-x86-no_ssl.msi . This will start installation of Apache web server. Follow the instructions: Fig. 0- !n the first two fields type in localhosand in the last one in!o"localhos. "e will be installing Apache as a service which starts auto#atically when co#puter starts therefore we select #or80. !f you are about to use your web server $ust fro# ti#e to ti#e then you #ay choose #or8080. This way you would need to start Apache #anually everyti#e you are going to use it. Fig. 0% - &elect $%somand click nex.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Go to your desktop to the previously created folder and double click apache_2.0.59-
win32-x86-no_ssl.msi.This will start installation of Apache web server. Follow the instructions:
Fig. 0 - !n the first two fields type in localhos and in the last one in!o"localhos.
"e will be installing Apache as a service which starts auto#atically when co#puter
starts therefore we select #or 80.
!f you are about to use your web server $ust fro# ti#e to ti#e then you #ay choose #or8080. This way you would need to start Apache #anually everyti#e you are going to use
*nce you have done this click +, in all of the windows until you close the (ysem
#roperies window. )ow you need to restart the co#puter.
)e+t step will be to find out if our 2>2 is working. Go to (ar / %n and type cm. !nthe co##and pro#pt window type php -). 7ou should see so#ething like Fig. '.
Fig. '
"e still have so#e tweaking to do before we finish our installation.
Go to <:=&erver=2hp and find file called php.ini-recommene. 5ena#e that file to
php.ini.*pen this file and #ake the following a#end#ents:
. identify line with oc_roo and change it to:
oc_roo <:=&erver=Apache'hocs
. identify line with exension_ir :.: and change it to:
)ow we need to #ake sure that Apache knows where to search for php #odules.
To do that first go to $&'(er)er'pache2'con! and open file hp.con! in your te+t
editor.
(ecause we will be running 2>2 as an Apache #odule which is faster and #ore secureoption co#paring to <G! binary? we will need to do the following changes to hp.con!
file:
. identify @oao%le section and add the following line at the top of this section:
@oao%le php5_mo%le :$&(er)er#hpphp5apache2.ll:
. identify ype section and add the following line at the top of this section:
ype applicaionx-hp-php .php
9. lastly place the following line so#ewhere within the content:##AniBir :$&(er)er#hp: - ensure you have a closing slash at the end of the
path.
&ave and close file. 5estart Apache by going to (ar / ll #ro*rams / pache #
(er)er 2.0.59 / $onrol pache (er)er and click esar.
)ow go to $&'(er)er'pache2'hocs folder and select all files by pressing $rl C on
your keyboard. 5ight click on any of the selected files and choose #roperies. !n
ri%es section of the Deneral tab tick ien checkbo+ and click pply and +, toclose the window. This way you will only see your own files in this folder which is the
roo of our web server and the place where you will be setting up all your pro$ects.
!nside $&'(er)er'pache2'hocs create a file and give it a na#e phpin!o.php. *pen
this file with your te+t editor and place the following line:
EFphp phpin!oGH7 F/. &ave and close the file.
5estart Apache
*pen your browser and type the following line in the U56:
hp&localhosphpin!o.php . 7ou should see now a 2>2 infor#ation page 1Fig. /4.
Fig. / )ow that our Apache and 2>2 is installed lets #ove on to the ne+t section where we