Are you checking if this feature is available ? from the documentation "Added in cURL 7.16.2. Available since PHP 5.2.3." ... look not necessary to me