yum install pcre prce-devel pecl install oauth Create a file in /etc/php.d/ called oauth.ini containing: extension=oauth.so server httpd restart