http://djpate.com/2010/10/07/how-to-install-oauth-support-for-php-on-ubuntu/
First of all you need to make sure you already have php-pear and php5-dev.
If you are unsure just run
1 | sudo apt-get install php-pear php5-dev make |
now run
Personnaly I had an error while compiling
1 | /usr/include/php5/ext/pcre/php_pcre.h:29: fatal error: pcre.h: |
To fix that just install : libpcre3-dev
1 | sudo apt-get install libpcre3-dev |
Once it’s done just add extension=oauth.so at the end of your php.ini (located in /etc/php5/apache2/php.ini) file and restart Apache.
No comments:
Post a Comment