I try to install oAuth on OS X, but I get this error in the terminal:
Unable to set, php_dir for channel "pecl.php.net" cannot be written by current user
How to allow recording for recording?
First find where php_dir is located. You can do this using the "config-get" command:
pecl config-get php_dir
After that you can:
Change ownership of this folder (and all necessary child folders)
sudo chown <username> <php_dir>
or
Set php_dir to another folder
pecl config-set php_dir /path/to/new/dir
The easiest way is to possibly add sudo to the top of your installation command.
sudo
See http://linux.about.com/od/commands/l/blcmdl8_sudo.htm to learn more about the convenient super user command.