Set php extensions contraints