Hoping someone can provide assistance in getting pecl_http to work.
I'm completely baffled.
I'm trying to just confirm it works from the CLI, but can get nothing
but "Fatal error: Call to undefined function http_get()"
pecl tells me it's installed:
$ pecl install pecl_http
Ignoring installed package pecl/pecl_http
Nothing to install
phpinfo() *seems* to tell me its installed and enabled, but I wonder
if there's some detail there that isn't correct:
http://pastebin.com/m53ed94e5
In /etc/php5/cli/php.ini, I left extension_dir commented out, and
http.so is listed:
extension=http.so
When I try to use http_get in the CLI, I get:
$ php -a
Interactive shell
php > http_get('
http://www.google.com');
Fatal error: Call to undefined function http_get() in php shell code
on line 1
Googling seems to indicate this is a common problem, but I couldn't
find any solutions. Much thanks for any assistance...
dwh