- Apache 1.3.41
- PHP 5.2.8
- Berkely DB XML 2.4.16
- getID3 2.0.0-b4
Set up Apache, PHP, and BDBXML to work nicely together. This can be difficult and changes depending on your system, so I won't cover it.
Create a web-accessible directory for everything:
Extract getID3 into that directory:
Create a symbolic link to your music directory:
ln -s /path/to/music/files library.
Make sure all your files are readable by Apache and PHP:
chmod -R o+r library.
Make update.php executeable:
chmod u+x update.php.
Create a directory for the database environment:
Create a group to access the database:
Add the web server and the updater (typically you) to the group:
usermod -a music www-data && usermod -a music updater.
Set permissions on the database environment's directory:
chgrp music db && chmod 2775 db.