fixed optional constants when php.excludes key found
fixed cURL reference about PHP 5.6 versions exclusions