check php and database version on install