Jukebox - Installation Instructions

  1. Install Apache

    Download from http://httpd.apache.org/download.cgi
  2. Install PHP

    Download from http://www.php.net/downloads.php
  3. Install Winamp

    Download from http://www.winamp.com/player/
  4. Install WinampCOM

    1. Download WinampCOM.zip from download
    2. Extract WinampCOM.zip to somewhere (c:\Program Files\Winamp will do)
    3. run register.bat
  5. Install Sams Jukebox

    1. Download jukebox.zip from download
    2. Extract jukebox.zip to somewhere (c:\web\jukebox)
  6. Configure Apache

    Start->Programs->Apache HTTP Server 2.054->Edit the Apache httpd.conf Configuration File

    1. Set up PHP

      Find the list of LoadModule's, and add these lines to the end
      LoadModule php5_module c:/bin/php/php5apache2.dll
      AddType application/x-httpd-php .php 
                    
      (adjust the path of c:/bin/php to the path of the php dll)
    2. Fix Internet Explorer image flicker bug

      Add these lines just below the lines you've just added
      #this stops background-image flicker in IE
      BrowserMatch "MSIE" brokenvary=1
      BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1
      BrowserMatch "Opera" !brokenvary
      SetEnvIf brokenvary 1 force-no-vary
      ExpiresActive On
      ExpiresByType image/gif A2592000
      ExpiresByType image/jpeg A2592000
      ExpiresByType image/png A2592000
                    
    3. Set the document root

      Find the <DocumentRoot> directive, edit it to suit your document root
      DocumentRoot "C:/web/"
                    
      Then find the matching <Directory> entry which usually just below the <DocumentRoot>. Edit it to match the <DocumentRoot> path
      <Directory "C:/web/sp/data">
                    
    4. Set the document root

      Finally, find the <DirectoryIndex> directive, add index.php to the list
      DirectoryIndex index.html index.php
                    

    Close and save the config file.

  7. Restart Apache

    1. Control Panel->Administrative Tools->Services
    2. Right Click Apache2->Properties.
    3. Go to the Log On Tab
    4. Tick "Allow service to interact with desktop".
    5. Click ok.
    6. Right Click Apache2->Restart.
  8. Configure Sams Jukebox

    1. Go to c:\web\jukebox
    2. Create a subfolder playlists
    3. Edit settings.inc to reflect the paths for your setup.
  9. Run Winamp

    Winamp needs to be running! You may want to make it run at startup.

  10. Test Sams Jukebox

    Browse to http://localhost/jukebox. The current version of the jukebox works in Opera 8, Firefox, and Internet Explorer.