Modifying php for hosting