I needed to configure Oauth as part of a PHP project that I will be working on.
To do this, I ran;
sudo pecl install oauth
This completed OK, and I was asked to add extension=oauth.so to my php.ini file, which I made.
Then I restarted Apache and launched
php -i | grep oauth
To find out if it matches PHP, it looks like I get this as a result;
source version => $Id: oauth.c 325799 2012-05-24 21:07:51Z jawed $
But when I run the application (CodeIgniter), I get an error message:
Fatal error: Class 'Oauth' not found in...
Is there an important step I'm skipping?
source share