Chapter 3: Installing PHP

In This Chapter

arrow.png Checking whether PHP needs to be installed

arrow.png Installing PHP on Windows, Mac OS X, and Linux

arrow.png Configuring your web server for PHP

arrow.png Configuring PHP

arrow.png Testing PHP

arrow.png Troubleshooting the PHP installation

You might or might not need to install PHP, depending on which operating system you’re using. PHP isn’t provided with the Windows operating system. In many cases with other operating systems, however, PHP is already installed. For instance, some recent Linux and Mac distributions automatically install PHP.

You can check to see whether PHP needs to be installed by following the instructions in this chapter. If it isn’t currently installed or if you have an older version that needs to be updated, you need to install PHP.

Installing PHP includes the following steps, which are explained in detail in this chapter:

1. Check to find out whether PHP needs to ...

Get PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies 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.