removed redundant PhpExtensions check