PHP & MySQL® Web Development All-in-One Desk Reference for Dummies®
by Janet Valade, Tricia Ballad, Bill Ballad
Chapter 2. Installing PHP
In This Chapter
Checking whether PHP needs to be installed
Installing PHP on Windows, the Mac OS, or Linux
Configuring PHP
Testing PHP
Activating MySQL support
Troubleshooting PHP and MySQL installations
You might or might not need to install PHP. In many cases, PHP is already installed. For instance, most recent Linux and Mac distributions automatically install PHP. PHP is not provided with the Windows operating system.
You can check to see whether PHP needs to be installed. 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:
Check to find out whether PHP needs to be installed.
Obtain the PHP software, usually by downloading it from a Web site.
Install PHP.
Configure your Web server for PHP.
Configure PHP.
Test PHP.
Activate MySQL support in PHP.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access