fixing an error at installPhpExtensions