Installing OAuth on CentOS 5

I’ve recently needed to install the PHP OAuth library on CentOS.

Here’s how to do it.

$ yum install gcc php53-devel php-pear pcre-devel.x86_64 curl-devel.x86_64

Next, install oauth using pecl

$ pecl install oauth-beta

After oauth installs, you will need to add the following line in /etc/php.ini

extension=oauth.so

Advertisements

2 thoughts on “Installing OAuth on CentOS 5

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s