Using HTTP/2 with PHP 7 on Mac
if you want to use HTTP/2 with PHP on OS X, you need a version of curl compiled with HTTP/2 support. You can then link your PHP's curl extension to this version. The easiest way to do this is to use Homebrew: $ brew install openssl $ brew install curl –with-nghttp2 $ brew install php70 –with-homebrew-curl At the time of writing, this will install PHP 7.0.10 with Curl 7.50.1: $ php -i | grep cURL… continue reading.