fixing php restart
creating default database