September 28, 2003
Ampache - Setting PHP Execution Time
Installing a new version of Ampache today, a small service we run on the kruckenberg to let family and friends listen to shared mp3s. We have a nice stash of music on the server, and as I was importing (saving id3 info in MySQL) I started to see errors like:
Fatal error: Maximum execution time of 30 seconds exceeded in /newroot/home/kruckenberg/web/ampache/modules/id3.php on line 433I went to php.ini suspecting a the limit was configurable and quickly found
max_execution_time = 30Upping that to 60 seconds gives enough time to finish the import.
Ampache is a php frontend for managing a collection of mp3s on a server, allowing the user to click on links to generate .m3u or .pls playlists for artists, albums, songs and even customized playlists. It runs alongside mod_mp3, which is a module for Apache which will stream mp3 tunes to any capable player. Ampache and mod_mp3 are a great way to combine music libraries.
Posted by mike at September 28, 2003 3:07 PM