security - PHP 7.0.8 missing Curl constant -
i installed php 7.0.8 version here: http://rpms.remirepo.net/wizard/
from phpinfo:
php version 7.0.8
then installed latest version curl, show in phpinfo:
curl information 7.49.1
this page shows new curl option has been added 7.0.7:
i.e. curlopt_pinnedpublickey
http://php.net/manual/en/function.curl-setopt.php
but when run code
echo curlopt_pinnedpublickey
its return string, not integer....
or using in curl:
curl_setopt($ch, curlopt_pinnedpublickey, "sha256//teyzgg/8dvpuksaescb3tsvlehby6w9q63txhoif0tg=");
it doesn't work either...
===== edit: add php info
and here phpinfo: https://www.dropbox.com/s/9xdmx9i67rabcql/phpinfo%28%29.html?dl=0
Comments
Post a Comment