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