安装oAuth获取依赖项错误

安装oAuth获取依赖项错误,oauth,ubuntu-12.04,php-5.6,Oauth,Ubuntu 12.04,Php 5.6,我正在PHP5.6上的Ubuntu12.04中安装PHPOuth。 我尝试了以下命令 apt-get update apt-get install libpcre3 libpcre3-dev apt-get install php5-oauth 我得到了这个错误: php5-oauth : Depends: phpapi-20121212 也试过pecl pecl install oauth pecl/oauth is already installed and is the same as

我正在PHP5.6上的Ubuntu12.04中安装PHPOuth。 我尝试了以下命令

apt-get update
apt-get install libpcre3 libpcre3-dev
apt-get install php5-oauth
我得到了这个错误:

php5-oauth : Depends: phpapi-20121212
也试过pecl

pecl install oauth
pecl/oauth is already installed and is the same as the released version 1.2.3
install failed
我在
php.ini
文件中添加了
extension=oauth.so
,并重新启动了apache

我尝试了这个命令
pecl list

Installed packages, channel pecl.php.net:
=========================================
Package Version State
mongo   1.1.4   stable
oauth   1.2.3   stable
它显示安装了oauth,但未在php信息文件中显示
oauth


请帮帮我。

有什么建议吗。