OAuth
在线手册:中文 英文
PHP手册

安装/配置

Table of Contents


OAuth
在线手册:中文 英文
PHP手册
PHP手册 - N: 安装/配置

用户评论:

Ryan Ewen (15-Jul-2011 06:28)

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 (23-Jun-2011 01:51)

`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 (16-Jan-2011 03:48)

installing using pecl:

# pecl install oauth

may need to install pcre headers (debian based)

# apt-get install libpcre3-dev

kosso1 at gmail dot com (05-Jan-2010 03:38)

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