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
installing using pecl: # pecl install oauth may need to install pcre headers (debian based) # apt-get install libpcre3-dev
`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
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
Коментарии
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
installing using pecl:
# pecl install oauth
may need to install pcre headers (debian based)
# apt-get install libpcre3-dev
`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
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