For some reason pecl_http extension is not showing up in my test.php file with contains:
<?php phpinfo(); ?>
I just installed pecl_http using:
pecl install pecl_http
The install was successful and I verified it by running:
Installed packages, channel pecl.php.net: ========================================= Package Version State mongo 1.2.10 stable pecl_http 1.7.4 stable
I then located my php.ini file using:
php -i | grep 'Configuration File'
Configuration File (php.ini) Path => /etc/php5/cli Loaded Configuration File => /etc/php5/cli/php.ini
I edited it in vim and added:
Finally I restarted Nginx and PHP-FastCGI:
/etc/init.d/nginx restart /etc/init.d/php-fastcgi stop /etc/init.d/php-fastcgi start
My PHP extension_dir is :
I verified that "http.so" is located in that directory.
Any ideas why it's not loading?
My machine is running a Ubuntu 10.04 LTS 64bit Profile on Linode. The only other extensions I have installed are New Relic and Mongo.