use php to deploy