Installing OAuth on CentOS
Installing OAuth on CentOS 5.4
I've recently needed to install the OAuth libarary on CentOS for use in creating Twitter applications and using the Linkedin API.
Here's how to do it.
Next, install oauth using pecl
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
2. Alternatively, place the following line in /etc/php.ini
Here's how to do it.
$ yum install curl-devel gccNext, install oauth using pecl
$ pecl install oauth-betaAfter 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.so2. Alternatively, place the following line in /etc/php.ini
extension=oauth.so
References:
http://developer.linkedin.com/message/1610
评论