...
Installing any web-application locally requires that you first install the adequate environment, namely the Apache web server, the PHP language interpreter, the MySQL database server, and ideally the phpMyAdmin tool. This is called an AMP package: Apache+MySQL+PHP +MySQL and the operating system, giving WAMP (Windows+Apache+MySQL+PHP+MySQL), MAMP (Mac+...) and LAMP (Linux+...). Since all of the items packaged are open-source, these installers are most of the time free.
...