Ok, so after a day of messing about with various things such as Fink, Macports, Pecl, etc. I have managed to install the oauth.so module on OSX.
However, I use MAMP locally, which I think uses its own version (i.e. in its own location) of PHP, and the module has installed to the main system version of PHP?
So I have run the version of PECL from the MAMP folders:
sudo /Applications/MAMP/bin/php5.2/bin/pecl install oauth
But it seems to have installed it in the generic folder anyway
...
Build process completed successfully
Installing '/usr/lib/php/extensions/no-debug-non-zts-20090626/oauth.so'
install ok: channel://pecl.php.net/oauth-1.0.0
configuration option "php_ini" is not set to php.ini location
You should add "extension=oauth.so" to php.ini
Note the /usr/lib/... folder. But the php.ini MAMP is using, actually looks in /Applications/MAMP/bin/php5.2/lib/php/extensions/no-debug-non-zts-20060613
I thought it would be as easy as just copying the .so file over... but that was hoping for too much..
Can anyone help me, how can I install this extension in the correct folder and let php know about it??
Thanks