What's Needed for This Book

This section shows you how to download and install our example database, all of the book code examples, the sample online winestore application, and the additional packages that are used throughout the book.

Installing PEAR Packages

The optional PEAR package HTML_Template_IT is required. It is needed to work with Chapter 7 and all later chapters.

Detailed instructions to install optional packages can be found in Chapter 7. You'll also find a discussion there about how to find about, install, and upgrade packages.

In brief, after you've installed EasyPHP, carry out the following steps:

  1. If you're not already, connect to the Internet.

  2. Run a command window. Do this by selecting the Run option from the Start Menu and typing command and then pressing OK. A window will appear that shows a prompt.

  3. Into the command window, type:

    C:\> C:\progra~1\easyph~1\php\pear\pear.bat install HTML_Template_IT

    Press Enter. The package will download and install. If something goes wrong, check that you've completed Steps 18 to 24 in Section B.2.

  4. Now, check if upgrades of the core packages used in this book are available. Into the command window, type:

    C:\> C:\progra~1\easyph~1\php\pear\pear.bat upgrade PEAR

    Press Enter and the package will be downloaded if required.

  5. Repeat Step 4, but type:

    C:\> C:\progra~1\easyph~1\php\pear\pear.bat upgrade Date
  6. Repeat Step 4, but type:

    C:\> C:\progra~1\easyph~1\php\pear\pear.bat upgrade DB
  7. Repeat Step 4, but type:

    C:\> C:\progra~1\easyph~1\php\pear\pear.bat ...

Get Web Database Applications with PHP and MySQL, 2nd 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.