Setup PHP and MySQL

To develop PHP/MySQL web application you definitely need to install the following: a web server, preferably Apache web server, follow by the PHP application server or engine then finally the MySQL server, I was one of the few people who have to  install all these individually this can be painful and time taken from a beginner, thankfully the PHP community is full of too many creative, concern and wonderful young minds, who have thought it through to develop a SINGLE installation program to do all this for you, and the project is called WAMP for Windows version or LAMP for Linux user, in case you don’t know, WAMP is an acronym  for:

W: Windows, the operating systems (or) L: for Linux
A: Apache an open server web server, from Apache software foundation, just like the Microsoft IIS web server
M: MySQL an open-source Relational Database Management System (RDBMS)
P: PHP the programming language and web application engine

The WAMP bundle is free just like most other Open source project, and can be Google and download WAMPserver, after downloading it, you can then install, below is what my version looks like while installing.

wamp install shot

As you can see in the screenshot above that WAMP is installed to C:\wamp by default. Later we will need to access the web server root from here.

Now that we have installed the server, we can now start and test it.
Note: there are several versions of WAMP bundles so your copy may not look exactly like mine, but never mind it will still work all the same.


Next »

Introduction to PHP and MySQL »

Setup PHP and MySQL »

Starting WAMP Server »

Testing the WAMPServer (First PHP Program) »

PHP Code block and Variables »

Form processing using PHP »

Sending e-mail with PHP »

PHP Interaction with a Database »

SAMPLE1: a Feedback system »

SAMPLE2: Authentication system »

More PHP sample code »