Chapter 5. Setting Up Your Web Development Environment with the XAMPP Package

In This Chapter

  • Downloading and installing XAMPP

  • Testing and configuring your development environment

  • Troubleshooting your XAMPP installation

XAMPP is a popular all-in-one kit that installs Apache, MySQL, and PHP in one procedure. XAMPP also installs phpMyAdmin, a Web application you can use to administer your MySQL databases.

XAMPP can greatly simplify the installation process. However, the software provided might not include the features, versions, and extensions that you need. For example, the current version of XAMPP installs Apache 2.2. If you plan to use a PHP extension that doesn't run on Apache 2.2, XAMPP won't work for you. (See Chapter 4 in this minibook for a discussion of Apache versions.) The XAMPP installation installs all the software you need for the applications discussed in this book.

According to the XAMPP Web site, XAMPP is intended as a development environment on a local computer. As a development environment, XAMPP is configured to be as open as possible. XAMPP isn't intended for production use — it isn't secure as a production environment. Before using XAMPP to make a Web site available to the public, you need to tighten the security. Security is discussed in detail in Book IV.

XAMPP has stable versions available for Windows, including Windows Vista, and for several versions of Linux. ...

Get PHP & MySQL® Web Development All-in-One Desk Reference 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.