Using CURLFile class if it exists
TEST_PHP_CGI environment variable