Appendix A. Obtaining and Installing Software

Appendix A. Obtaining and Installing Software

This appendix describes how to obtain the sampdb distribution that is used for setting up the sample database that serves for examples throughout this book. To use the distribution, you'll also need to have MySQL running; to that end, the appendix also discusses how to obtain and install MySQL and related software, such as the Perl DBI and CGI.pm modules, PHP, and Apache. It provides information for both UNIX and Windows. For these packages, the purpose of this appendix is to bring together summary installation instructions for each of them in one place, not to replace the instructions that come with them. In fact, I encourage you to read those instructions. This appendix provides general information that should suffice for many situations, but each package also contains instructions to help you troubleshoot problems when a standard installation procedure fails. For example, the MySQL manual contains an extensive chapter dealing with installation procedures and includes solutions for many system-specific problems.