Skip to content

Install PHP OAuth Library on Debian / Ubuntu

by Beni on Juni 22nd, 2011

The only way to install the PHP OAuth Libabry on your Debian / Ubuntu system is as follows:

  1. Install PECL:
    sudo apt-get install php-auth php5-dev libpcre3-dev
  2. Install PHP OAuth Library:
    sudo pecl install oauth
  3. Make PHP Load the OAuth Library on PHP Startup:
    sudo echo "extension=oauth.so" > /etc/php5/conf.d/oauth.ini

Now a look at php -m on the command line or phpinfo() in a .php file on your web server should point out that PHP OAuth is ready for use! :-)

Thanks to Darren, I found this easy solution.

Das wird dich vielleicht auch interessieren:

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS