PHPTriad Help

Welcome to PHPTriad 2.2. PHPTriad installs Apache, MySQL and PHP on Windows machines. It's primarily intended as a development and staging environment for building PHP applications. While you can use it to serve a real site, it is not recommended for public web sites. Security on a live web site can be complicated and therefore I recommend only using PHPTriad within a firewalled environment or for development purposes.

Because PHP is cross-platform, PHPTriad can be used (and I highly recommend it) to develop sites that will be deployed on Linux/BSD/other Unix machines and web hosts.

Getting Started

Apache and MySQL run as server daemons. They stay in the background waiting for requests. As a result, they need to be running in order for the whole server setup to work. We've provided the PHPTriad Control Panel to assist you in starting and stopping server daemons. You can launch it through the Start menu shortcut provided by the installer. The servers can also be started from the Start menu shortcuts for each application as well.

The most basic way to get started is this:

  1. Launch the PHPTriad Control Panel from the start menu.
  2. Click "Install Apache Service".
  3. Click "Start Apache".
  4. Click "Start MySQL". Choose the appropriate link based on your version of Windows.
  5. Click "Open site w/default browser".
  6. Edit your site by changing/replacing the files in c:/apache/htdocs. You can get there easily by clicking "Edit Site" in the PHPTriad Control Panel.
  7. Visit your site in the future at http://localhost.

Apache

MySQL

PHP

Frequent Problems

Several problems pop up frequently. If you're not used to server-side development, you may run into these issues.