Sams Teach Yourself PHP, MySQL, and Apache All in One, Fifth Edition. I’m
happy to report that the PHP language and its community of developers and users
continues to grow every day—hence the need for a refresh of this book.
Since the previous edition of this book, the “end of life” of PHP 4 finally set in; with
the help of a GoPHP5 initiative, web hosting providers and application developers
migrated their services and code away from PHP 4–specific features and coding prac-
tices and into the world of PHP 5—full of speed and an even greater feature set. As
with the previous edition, all the code in this edition is based on the latest version of
PHP available at the time of this writing (5.4.0, in this case).
Some of you might have heard of PHP 6 or have seen books touting PHP 6 as the
core language used. Well, a version of the language called PHP 6 never material-
ized—the functionality planned for a version 6 release was added to PHP 5.3 and
PHP 5.4. So, have no fear; you’re not missing anything if you hear PHP 6 and can-
not find anything about it online or at the PHP.net website.
Over the course of this book, you learn the concepts necessary for configuring
and managing the Apache web server, the basics of programming in PHP, and the
methods for using and administering the MySQL relational database system. The
overall goal of the book is to provide you with the foundation you need to under-
stand how seamlessly these technologies integrate with one another and to give you
practical knowledge of how to integrate them into functioning websites and web
applications. This book should be a first step—not your only step—to more
advanced site development.
Who Should Read This Book?
This book is geared toward individuals who possess a general understanding of the
concepts of working in a web-based development environment, be it Linux/UNIX,
Windows, or Mac OS X. Installation and configuration instructions assume that you
have familiarity with your operating system and the basic methods of building (on
Linux/UNIX systems) or installing (on Windows and Mac OS X systems) software.