jamesnw / statstat

Analysis of stats from your thermostat
MIT License
13 stars 4 forks source link

CURLOPT_SSL_VERIFYHOST no longer accepts the value 1 #4

Closed sn3ak closed 9 years ago

sn3ak commented 9 years ago

php cron.php PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in ~/statstat/thermostats/honeywell/scrape.php on line 12

According to the php site: "Support for value 1 removed in cURL 7.28.1".

Resolution: Either change the value to 2 as default, or potentially use curl_version() to determine version and set dynamically.