Appendix A. Installing PHP and MySQL

Apache, PHP, and MySQL are available for many combinations of operating systems and web servers. In this appendix, we explain how to set up Apache, PHP, and MySQL on a few server platforms. We cover the most common options available for Unix and Windows XP.

Key topics covered in this appendix include

  • Running PHP as a CGI interpreter or as a module

  • Installing Apache, SSL, PHP, and MySQL under Unix

  • Installing Apache, PHP, and MySQL under Windows

  • Testing that it's working using phpinfo()

  • Adding PHP to Microsoft Internet Information Server

  • Installing PEAR

  • Considering other configurations

Our goal in this appendix is to provide you with an installation guide for a web server that will enable you to host multiple websites. ...

Get PHP and MySQL Web Development, Third 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.