Unless you already use MySQL on the server, installing a database like that for something this simple is way overkill.
Try,
http://httpd.apache.org/docs/2.2/mod/mod_authn_dbm.html
Lightweight indexed files are the way to go really unless you want to go really hardcore.