Skip to content

Instantly share code, notes, and snippets.

@sumardi
Created October 2, 2012 14:47
Show Gist options
  • Select an option

  • Save sumardi/3819725 to your computer and use it in GitHub Desktop.

Select an option

Save sumardi/3819725 to your computer and use it in GitHub Desktop.
Installing OAuth extension
cd /usr/local/directadmin/custombuild
wget http://pecl.php.net/get/oauth
tar xvzf oauth-1.2.3.tgz
cd oauth-1.2.3
/usr/local/bin/phpize
./configure --with-php-config=/usr/local/bin/php-config
make
make test
make install
cp modules/oauth.so /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
vi /usr/local/lib/php.ini
# extension=oauth.so
/etc/init.d/httpd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment