Ryan Ewen (2011-07-15 10:28:24)
Here is what I had to do to get it to install on CentOS
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
waitman at waitman dot net (2011-06-23 05:51:39)
`pecl install oauth` had problems locating curl/curl.h installed in /usr/local/include
this seems to work:
1) download source from http://pecl.php.net/package/oauth
2) build
tar xzvf oauth-1.1.0.tgz
cd oauth-1.1.0
phpize
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
make && make install
matthew dot general at gmail dot com (2011-01-15 19:48:10)
installing using pecl:
# pecl install oauth
may need to install pcre headers (debian based)
# apt-get install libpcre3-dev
kosso1 at gmail dot com (2010-01-04 19:38:00)
installing oauth pecl extension on fedora:
yum install php-devel
yum install libcurl-devel
pecl install -R /usr/lib/php oauth-0.99.9
add extension=oauth.so to php.ini or create and add to/etc/php.d/oauth.ini
restart apache