Chapter 3. Installing and Configuring PHP

In the last of the three “installation” hours, you will acquire, install, and configure PHP and make some basic changes to your Apache installation. In this hour, you will learn

  • How to install PHP with Apache on Linux/Unix

  • How to install PHP with Apache server on Windows

  • How to test your PHP installation

  • How to find help when things go wrong

  • The basics of the PHP language

Building PHP on Linux/Unix with Apache

In this section, we will look at one way of installing PHP with Apache on Linux/Unix. The process is more or less the same for any Unix operating system. While you might be able to find pre-built versions of PHP for your system, compiling PHP from the source gives you greater control over the features built ...

Get Sams Teach Yourself PHP, MySQL™ and Apache in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.