Im not aware of any Application for PHP to do this. Most applications will create an (take a look at phpbb forum and other free software to give yourself an idea) install.php file which the user runs sets up the necessary information such as Database Name, host, user, pass etc and Admin user, pass if needbe then set up tables. Most of these are in .zip or .tar.gz archives.