Chapter 4. Installing and Configuring PHP

In this last of the three installation-related chapters, you will acquire, install, and configure PHP and make some basic changes to your Apache installation. In this chapter, you will learn

  • How to install PHP

  • How to test your PHP installation

  • How to find help when things go wrong

  • The basics of the PHP language

Current and Future Versions of PHP

The installation instructions in this chapter refer to PHP version 5.2.5, which is the current version of the software.

By the Way

If you are already using PHP 4.x.x in a production environment, or you want to stay with the 4.x.x development tree, please visit the Installation and Configuration section of the PHP Manual at http://www.php.net/install.

Because PHP 5 has been ...

Get Sams Teach Yourself PHP, MySQL and Apache All in One, Fourth Edition 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.