Chapter 2. Installing PHP

Listings of this chapter can be found in the buildin subdirectory.

The current chapter will discuss the installation procedure for PHP on Windows, Mac OS X and Linux (Ubuntu distribution). The presence of a PHP interpreter will allow you to run PHP programs, however, a Web server will also be required to launch Web applications. In earlier versions of PHP, an industrial Web server was used for these purposes: Apache or nginx. Starting with version 5.4, the PHP distribution kit is supplied with an embedded server, the capabilities of which are quite enough for local development and testing of Web applications.