Install OAuth for PHP with PECL

Bit of a ball ache to get this installed… still not sure mine is right. But here’s what I did anyway.

mount -o remount,exec /tmp
pecl install oauth
mount -o remount /tmp

You might need to set up autoconf and autoheader. Do the following
yum install autoconf

after installing, find where it went.
which autoconf
export PHP_AUTOCONF=/usr/bin/autoconf
export PHP_AUTOHEADER=/usr/bin/autoheader

echo “extension=oauth.so” > /etc/php.d/oauth.ini

 

 

Advertisement

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 )

Connecting to %s