You are still getting the curl error WITH the new code and with the php5-curl installed?
It's possible the module is not loaded correctly. Make a small file "info.php" and inside put "<?php phpinfo(); ?>" and then load that url in a web browser.
Not getting the curl error anymore. New code, php5-curl installed, but the string "curl" is not found in that phpinfo() output. Works, though -- but I dumped a bunch of mp3s in my opentape/songs folder and none of them are showing up. Not sure what's up with that. EDIT: okay, that was a stupid permissions error on my part.
Also, it no longer takes me to the admin page when I log in. If I put in the wrong password, it says "BAD PASSWORD :(" but if I put in the right password, nothing happens.