making sure all php extensions have the right permissions