Cleanup checking php extensions