Register your product to gain access to bonus material or receive a coupon.
A new edition of this title is available, ISBN-10: 067232976X ISBN-13: 9780672329760
You own your own business. You have also created a website for your business that details the products or services that you offer, but it doesn't allow potential customers to purchase anything online. Don't risk losing business-learn to create a dynamic online environment using only three programs. PHP, MySQL and Apache are three popular open-source tools that can work together to help you create a dynamic website, such as an online shopping experience. Sams Teach Yourself PHP, MySQL and Apache All in One is a complete reference manual for all three development tools. You will learn how to install, configure and set up the PHP scripting language, use the MySQL database system, and work with the Apache Web server. Then you'll take it a step further and discover how they work together to create a dynamic website. Use the book and the included CD to create a simple website, as well as a mailing list, online address book, shopping cart and storefront. Updated to reflect the most recent developments in PHP and MySQL, including the final stable release of MySQL 5.0, you will open your website to limitless possibilities with Sams Teach Yourself PHP, MySQL and Apache All in One.
Installing and Configuring Apache
Installing and Configuring Apache
Introduction
Who Should Read This Book?
How This Book Is Organized
Conventions Used in This Book
Part I: Laying the Groundwork
Chapter 1: Installation QuickStart Guide
Linux/UNIX Installation
Installing MySQL
Installing Apache
Installing PHP
Windows Installation
Installing MySQL
Installing Apache
Installing PHP
Mac OS X Installation
Installing MySQL
Installing PHP
Troubleshooting
Chapter 2: Installing and Configuring MySQL
Current and Future Versions of MySQL
How to Get MySQL
Installing MySQL on Linux/UNIX
Installing MySQL on Mac OS X
Installing MySQL on Windows
Troubleshooting Your Installation
Basic Security Guidelines
Starting MySQL
Securing Your MySQL Connection
Introducing the MySQL Privilege System
The Two-Step Authentication Process
Working with User Privileges
Adding Users
Removing Privileges
Chapter 3: Installing and Configuring Apache
Current and Future Versions of Apache
Choosing the Appropriate Installation Method
Building from Source
Installing a Binary
Installing Apache on Linux/UNIX
Downloading the Apache Source Code
Uncompressing the Source Code
Preparing to Build Apache
Building and Installing Apache
Installing Apache on Mac OS X
Installing Apache on Windows
Apache Configuration File Structure
Directives
Containers
Conditional Evaluation
The ServerRoot Directive
Per-Directory Configuration Files
Apache Log Files
The access_log File
The error_log File
Additional Files
Apache-Related Commands
Apache Server Binary
Apache Control Script
Starting Apache for the First Time
Check Your Configuration File
Starting Apache
Troubleshooting
Already an Existing Web Server
No Permission to Bind to Port
Access Denied
Wrong Group Settings
Chapter 4: Installing and Configuring PHP
Current and Future Versions of PHP
Building PHP on Linux/UNIX with Apache