make db file in php directory rather than pwd