Here's how to do it.
$ yum install curl-devel gcc
Next, install oauth using pecl
$ pecl install oauth-beta
After oauth installs, you will need to do 1 of the below 2 things
1. If the directory /etc/php.d exists, create a new file oauth.ini inside the folder.
Paste the following in oauth.ini
extension=oauth.so
2. Alternatively, place the following line in /etc/php.ini
extension=oauth.so
References:
http://developer.linkedin.com/message/1610
when i give "pecl install oauth-beta" it shows pecl command not found... How to reslove of this???
ReplyDelete