Installing WAMP Documentation – Personal use – eXeQzaLie
- go to www.apache.org pick the current stable version of apache http server, and click the msi installer, since the binary installer needs a some sort of compiler (which I don’t have, and most of us don’t have it). run the executable and fill the proper domain name, just type whatever you want. After that the computer prompted you to choose typical or custom, I chose typical, and installed it in the E:\ directory, the root is programfiles>apache2.2. oh btw the latest version is apache2.2.4-win32-x86-no ssl.msi (msi installer). ok the installation, open the browser (IE or mozilla), type in “http://127.0.0.1 or localhost”, and it appears as “It wokrs!” and you’re done with the step 1. please proceed to step 2.
- next step is configuring the httpd file. Firstly change the listening port to 1337. because it’s leet. Although the default of http port is 80, but it’s vulnerable to attack. So I’ll use 1337 instead. And some problem does occur because port 80 is used by another housemate computer, so port 80 is somewhat very busy.
- Next step is to change the DocumentRoot to your whatever directory you want. Mine is “E:/exeqzalie/” and after that change the and maybe you can set the AllowOverride functions to All. Try to open the browser, (localhost, or http://xxx.xxx.xxx.xxx/1337)it should appears an indexed of your directory. Walah! There you go! You’re now officially a server of your own!
- Becoming a server is a good thing, you can start making your own index.html, but for me, i’d prefer to use server side hypertext preprocessor (PHP) language to setup my index. so go to ww.php.net, download the latest MSI (php-5.2.0-win32-installer.msi) and install it right away! The installation process needs you to choose the server type, choose the 2.2.x module. And proceed. Choose the apache directory (the PHP will automatically updates your httpd.config files and all kinds of thing by default (last time I was stuck here configuring manually… WTF) ok. It should say “successfully configuring the httpd.config etc etc) after that, Restart the server.
(configuring manually) edit the httpd.conf file and add the ScriptAlias
ScriptAlias /PHP/ “C:/PHP/”
AddType application/x-httpd-php .php
Action application/x-httpd-php “/PHP/php-cgi.exe”
Save and close the httpd.conf file. Restart.
- Open a notepad and type in and save it using the name (phpinfo.php) into your default server directory, open browser, type in your http://localhost:1337 and click on the phpinfo.php. the page should be able to display the information regarding the whole thing about php and its module.
- The next thing is to install the MySQL community server. (www.dev.mysql.com/downloads/) and choose the windows (x86) ZIP/Setup.exe file. Pick the nearest mirror and omit the questionnaire. The size should be like 40mb, and choose your nearest mirror, clicking on the protocol http. After that install the thing, typical recommendation with unchanged installation directory. After that configure the thing, standart configuration, next, tick both service and windows PATH, type the root password and next, Execute.
- After that, you need to download the MySQL server management GUI tools, the most popular one is phpMyAdmin, current release 2.9.2 for mysql5 and php5 for MySQL 5.0, which includes Admin 1.2, Query browser 1.2, Migration Toolkit 1.1, and workbench 1.1, all in one package.
- the next step its pretty much difficult cause it needs us to embed the mysqli library into the php.ini file. I’ll update this later on.
Well, I just noticed that the community of webserver environment comes out with a predefined package which contains Apache, MySQL, PHP, its switch, OpenSSL, phpmyAdmin and ftp server, SMTP and lots more. Together contained in one package with a control panel which informs the user service type used… so powerful..