Add --with-openssl to php configuration.