EasyPHP – How good is that?

EasyPHP is a set of the most useful software known to the web: apache , mySql and PHP. Together these come in a package of less than 8Mb. Here’s my really easy guide to setting it up.

  1. Download the package from here .
  2. Find where you put it and click the .exe file to install.
  3. You need to install this in your windows equivalent of a root directory, so change the default C://Program Files/EasyPHP to this:
    C://PHP (but use backslashes)
  4. Now move all of your webfiles into a folder created by Easy PHP, which you’ll find here:
    C://PHP/www (but use backslashes)

That’s your lot. Now start up EasyPHP from the start menu, open your favourite browser, and type the following into the address bar:
/localhost/www/LOCATIONOF/FILE.php (forward slashes)

With a fast internet connection this took less than 30 minutes to set up, including the download time. Now that, is pretty damned cool.

Setting Up Dreamweaver with EasyPHP

This is pretty easy too. All you have to do is go into the ‘Edit Sites’ dialogue. Presumably you’ve already got a site set up, or create a new one.

  1. Select the appropriate site and click ‘Edit’.
  2. Choose the ‘Advanced’ tab, and click ‘Testing Server’ on the left hand side.
  3. Enter the obvious details: Server model is PHP/SQL; Access is Local/Network; and the Testing Server Folder is your local folder for your webside, e.g. C:/PHP/www/sitename/ (but use back slashes)
  4. Then your url prefix includes the local host, as above: http://localhost/sitename/ (forward slashes)
  5. Now just hit F12 in your php files and see them fly!

N.B. The forward slashes in the windows file references should, of course, be backslashes. But some unavoidable slash stripping in my blogware won’t let me print em that way