Environment Setup
To run PHP three main components must be installed in our computer system.
Web Server − PHP works in almost all Web Server software, including Microsoft’s Internet Information Server (IIS) but commonly it is used with the Apache Server which is available easily and is free to download. Download Apache for free here − https://httpd.apache.org/download.cgi
Database − PHP works in all database software, including Oracle and Sybase but most commonly used is the MySQL database which is available free. 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. This tutorial will guide you how to install PHP parser on your computer.
PHP Parser Installation
We must ensure that there is proper environment setup in the machine before developing web programs using PHP
This section will guide you to install and configure PHP over the following four platforms −