Jukebox - Installation Instructions
Install Apache
Download from http://httpd.apache.org/download.cgiInstall PHP
Download from http://www.php.net/downloads.php
Install Winamp
Download from http://www.winamp.com/player/Install WinampCOM
- Download WinampCOM.zip from download
- Extract WinampCOM.zip to somewhere (c:\Program Files\Winamp will do)
- run
register.bat
Install Sams Jukebox
- Download jukebox.zip from download
- Extract jukebox.zip to somewhere (c:\web\jukebox)
Configure Apache
Start->Programs->Apache HTTP Server 2.054->Edit the Apache httpd.conf Configuration File
Set up PHP
Find the list ofLoadModule's, and add these lines to the endLoadModule 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)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 A2592000Set the document root
Find the<DocumentRoot>directive, edit it to suit your document rootDocumentRoot "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">Set the document root
Finally, find the<DirectoryIndex>directive, addindex.phpto the listDirectoryIndex index.html index.php
Close and save the config file.
Restart Apache
- Control Panel->Administrative Tools->Services
- Right Click Apache2->Properties.
- Go to the Log On Tab
- Tick "Allow service to interact with desktop".
- Click ok.
- Right Click Apache2->Restart.
Configure Sams Jukebox
- Go to
c:\web\jukebox - Create a subfolder playlists
- Edit settings.inc to reflect the paths for your setup.
- Go to
Run Winamp
Winamp needs to be running! You may want to make it run at startup.
Test Sams Jukebox
Browse to http://localhost/jukebox. The current version of the jukebox works in Opera 8, Firefox, and Internet Explorer.