Good, so after a day of mess with things like Fink, Macports, Pecl, etc. I managed to install the oauth.so module on OSX.
However, I use MAMP locally, which I think uses its own version (that is, in its own location) of PHP, and the module is installed on the main system version of PHP?
So, I launched the PECL version from the MAMP folders:
sudo /Applications/MAMP/bin/php5.2/bin/pecl install oauth
But it looks like it is still installed in the public folder
...
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
Pay attention to the folder / usr / lib / .... But php.ini MAMP uses, actually scans / Applications / MAMP / bin / php 5.2 / lib / php / extensions / no-debug-non-zts-20060613
I thought it would be as simple as just copying the .so file ... but that was too much.
- , php ?