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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.