I've installed PHP's
pecl_http extension using the Amazon Linux
php54-pecl-http Yum package.
php -ishows the
extension=http.soline in it
php -mshows the HTTP module as installed
pecl_http 2.0.0beta1as installed.
However, when I attempt to use any of its functions -
http_build_url(), etc. - they come back as nonexistent. I am running everything on the CLI (this is a utility server) so no chance of disparate
php.ini files between environments.
php -i's http block states:
http HTTP Support => enabled Extension Version => 2.0.0beta1 Used Library => Compiled => Linked libz => 1.2.5 => 1.2.5 libcurl => 7.24.0 => 7.24.0 libevent => 1.4 or greater => 2.0.18-stable libserf => disabled => disabled Persistent Handles Provider => Ident => Used => Free http_client.curl => N/A => 0 => 0 http_client_pool.curl => N/A => 0 => 0 http_client_datashare.curl => N/A => 0 => 0 Directive => Local Value => Master Value http.etag.mode => crc32b => crc32b http.persistent_handle.limit => -1 => -1
Has anyone experienced this? Any ideas?