I had php 5.3 installed and upgrade to 5.4 using this PPA https://launchpad.net/~ondrej/+archive/php5 - everything went smoothly.
My old pecl extensions, such as oauth, wern't enabled, so I uninstalled and reinstalled them. But they aren't getting loaded. Pecl is building the package fine, but installing the 'so' file to the wrong location - '/usr/lib/php5/20090626' instead of the new '/usr/lib/php5/20100525' even though the ext_dir is correctly set, appears to be a bug - https://bugs.php.net/bug.php?id=55196
I moved oauth.so to the new extension dir (from the php.ini file) and double checked extension=oauth.so in my php.ini - but it still won't load the extension.
pecl install oauth
I notice :
Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626
Is pecl compiling for the older version of php? Is this why the extension aren't being loaded?