I need to activate this option to solve a problem when trying to use IOS notification services with APN's
phpinfo()
error
Unexpected HTTP/1.x request: POST /3/device/
curl:
if (!defined('CURL_HTTP_VERSION_2_0')) {
define('CURL_HTTP_VERSION_2_0', 3);
}
//open ssl connection
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);