So that would explain why the phirehose library is getting an error:
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Twitter did not send a chunking header. Is this really HTTP/1.1? Here are headers:
connection: close
Content-Type: application/json
transfer-encoding: chunked
date: Wed, 23 Apr 2014 00:52:11 UTC
x-connection-hash: e429d181bd6b89f18d185c81fe83d3a4
’ in /var/www/html/SE/140dev/libraries/phirehose/Phirehose.php:739
Stack trace:
#0 /var/www/html/SE/140dev/libraries/phirehose/Phirehose.php(830): Phirehose->connect()
#1 /var/www/html/SE/140dev/libraries/phirehose/Phirehose.php(409): Phirehose->reconnect()
#2 /var/www/html/SE/140dev/db/get_tweets.php(263): Phirehose->consume()
#3 {main}
thrown in /var/www/html/SE/140dev/libraries/phirehose/Phirehose.php on line 739