- May, 2008 (5)
- June, 2008 (2)
WampServer is a Windows web development environment. It allows you to create web applications with Apache, PHP and the MySQL database. It also comes with PHPMyAdmin and SQLiteManager to easily manage your databases. The setup process is very easy, just follow the on-screen instruction, but if you think it still make you some difficult to set it up, follow my image step-by-step installation guide, I'm sure you cannot lost :-)
For advanced reader:This is the very basic guideline to build up a PHP development environment for novice PHP learner who is as stupid as me in the beginning, please don't blame me why I write this very basic article :-)
Let start, firstly you will needs to download the latest WAMP package from http://www.en.wampserver.com/download.php
After done, double click on the downloaded file to run it. The following screen will appears

Setup Apache PHP MySQL on Windows step 1: WAMPServer warning about don't install WAMP 2.x over WAMP5 1.x, if you not installed WAMP5 in the past, just click Yes

Setup Apache PHP MySQL on Windows step 2:On the Welcome page, just click Next

Setup Apache PHP MySQL on Windows step 3:Choose as the above screen then click Next

Setup Apache PHP MySQL on Windows step 4: Change your installation directory if needs, then click Next

Setup Apache PHP MySQL on Windows step 5: Choose as your wish to place a shortcut on your desktop, or Quick Launch button, then click Next

Setup Apache PHP MySQL on Windows step 6: Everything is ok, now click Install to allow setup wizard copy needed files to your system

Setup Apache PHP MySQL on Windows step 7: Err, it's not exactly a step, the only thing you needs to do in this step is ... waiting :D

Setup Apache PHP MySQL on Windows step 8: If your system contains Firefox (as mine), setup wizard will detect it and ask if you want Firefox become default browser for WAMP, just click Yes :-)

Setup Apache PHP MySQL on Windows step 9: Enter your SMTP server if you have one, and the email where Apache needs to send from (the sender). If you don't have mail server yet, go through my article to setup your own development mail server with hMailServer, then enter your configured domain and account into those field, or just leave the default values.
I will have another article to help you setup mail server for your development environment. I already write an article to help you setup your own development mail server with hMailServer, check it out.

Setup Apache PHP MySQL on Windows 10: Phew, the installation is complete, just click Finish

Setup Apache PHP MySQL on Windows 11: In your system tray now will appear an half-pie icon, if it not white (a little red or yellow), click on it and choose Start All Services. It should become white
You will may cannot start WAMPServer, the most common problem is your IIS or another web server is started, and use port 80 the default port for web server, of course, Apache want it. Just stop IIS Admin and World Wide Web Publishing service then try again.
Almost done!!! We just finished setting up your very basic web development environment, let try it.
Open your favorite editor (e.g. notepad), enter the following:
Save it as helloworld.php under your www directory.
[
To open your www directory: Click on the half-pie icon, choose 'www directory'
Then open your browser, type in: http://localhost/helloworld.php
You will and must see similiar as the below screen

Hello World example
Please note: This is only the very basic installation, it may not enough for your development requirement, if you get any trouble to setup your environment, contact me, I will find the solution and revert back to you :-)