Deployment framework for database-driven PHP applications