已安装CentOS 7上的OAuth,但无法识别扩展名

时间:2019-01-24 05:02:10

标签: php oauth

我已经坚持了大约4个小时...谷歌没有像往常那样提供有用的帮助。

我有一个相当标准的VPS,它运行CentOS 7和一个标准的LAMP配置,我正在尝试安装oauth。

yum install php-pecl-oauth
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.host-engine.com
 * epel: mirrors.kernel.org
 * extras: mirror.fileplanet.com
 * remi: mirrors.mediatemple.net
 * remi-php71: mirrors.mediatemple.net
 * remi-safe: mirrors.mediatemple.net
 * updates: sjc.edge.kernel.org
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-oauth.x86_64 0:2.0.3-1.el7.remi.7.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package                 Arch            Version                          Repository           Size
====================================================================================================
Installing:
 php-pecl-oauth          x86_64          2.0.3-1.el7.remi.7.1             remi-php71           71 k

Transaction Summary
====================================================================================================
Install  1 Package

Total download size: 71 k
Installed size: 246 k
Is this ok [y/d/N]: y
Downloading packages:
php-pecl-oauth-2.0.3-1.el7.remi.7.1.x86_64.rpm                               |  71 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : php-pecl-oauth-2.0.3-1.el7.remi.7.1.x86_64                                       1/1
  Verifying  : php-pecl-oauth-2.0.3-1.el7.remi.7.1.x86_64                                       1/1

Installed:
  php-pecl-oauth.x86_64 0:2.0.3-1.el7.remi.7.1

Complete!

我已将extension = oauth.so添加到我的php.ini文件中。我已经重新启动了Apache,但是oauth根本不在phpinfo上出现。我可以在phpinfo列出的扩展目录中看到oauth.so。

我正在拔头发-我错过了什么?

0 个答案:

没有答案