Back

Install For IIS or Personal Web Server

A few simple steps:

MicroSoft distributes Internet Information Server or IIS in two forms:

Install IIS

Consult your Windows documentation. Then skip to step two and follow the PHP installation guide.

Install Personal Web Server

Installation of Personal Web Server is very simple. It is part of Windows.
  1. Click: Start / Settings / Control Panel
  2. Click: Add/Remove Programs
  3. Click: Add/Remove Windows Components
  4. From the list of Components select the checkbox for Internet Information Services
  5. Click: Next
  6. Windows will spin and churn and install Personal Web Server or PWS (This may take a few minutes)
  7. The Windows installer does not ask you to, but reboot anyway

PWS is installed, now we need to turn it on

  1. Click: Start / Settings / Control panel
  2. Click: Administrative Tools
  3. Click: Personal Web Manager
  4. Click: Start - This will start the web server
  5. You will probably want to add the tray Icon control

Your PWS server should be running. Time for a Sanity check

Click
http://localhost

This should bring up Windows Explorer and a bunch of Windows

Copy YoDJ

Install PHP

The official php.org binary install and PHP requires quite a bit of hand installation

I recommend the PHP Everywhere EasyWindows Installer. (This will open in a second window)

The current release of this excellent installer is .80

Just download it to your desktop so you can find it easily and delete it when you are done

Direct Link to SourceForge.net to download EasWindows Win32 PHP Installer (This will open in a second window)

Run the PHP installer

You will get the following prompts:
  1. SMTP Email Address: Just leave the default
  2. Email From: Just enter your own email address
  3. Web Server Version: Select IIS
  4. Where to Install PHP: The default is \PHP4, but you can install it anywhere you like
  5. Keep clicking until the install starts installing

Test PHP:

Click http://localhost/yodj/phptest.php or http://localhost/phpadmin/test.php

This should bring up a screen with all sorts of PHP status information

Two more steps and we are done!

Create a web Alias to your music

  1. Bring up the PWS manager (use the tray icon if you closed it)
  2. Click: Advanced
  3. Click: Add
  4. Use the Browse button to point to the physical location of your music
  5. Change the Alias text to Music with the Min caps.
  6. Click: OK

This has created an alias for the webserver:

It knows that http://server-address/Music really refers to the physical location of your music.

Edit the yoDJ.ini file

Remember we copied it into the Webserver document directory earlier. If you didn't, do it now!

This should be found in c:\inetpub\wwwroot\yodj

There are two fields we are concerned with:

  1. Webroot - This matches the Name of the alias that we just created and should be Music. You shouldn't need to change this.
  2. RootDir - This is the physical location of your music and should correspond to the location you gave in your alias. Make sure that you have a trailing slash. If you have any spaces in any part of the pathname, put quotes around the the path.
  3. Save your changes

That should do it!

Final Test

http://localhost/yodj/yodj.php. This should bring up YoDJ

Problems?

The Config Menu will walk you through all the options available to you once you are up and running.

Back to Top


Last Modified  03/15/2010      Questions? email