PHP - Installation
In order to develop and run PHP Web pages three vital components need to be installed on your computer system.
Web Server − PHP will work with virtually all Web Server software, including Microsoft's Internet Information Server (IIS) but then most often used is freely available Apache Server. Download Apache for free here − https://httpd.apache.org/download.cgi
Database − PHP will work with virtually all database software, including Oracle and Sybase but most commonly used is freely available MySQL database. Download MySQL for free here − https://www.mysql.com/downloads/
PHP Parser − In order to process PHP script instructions a parser must be installed to generate HTML output that can be sent to the Web Browser.
It is important to make sure that you have proper environment setup on your machine to develop your web programs using PHP. This section will guide you how to install PHP parser on your computer.
PHP Installation on Linux or Unix with Apache
PHP Installation on Mac OS X with Apache