为了从我的QuickBooks应用程序连接到OAuth,我需要安装OAuth。我遵循这些指示 (用yum代替apt-get),但在第一行之后
sudo yum install gcc make autoconf libc-dev pkg-config我看到了:
No package libc-dev available.
No package pkg-config available.
这些包是否有兼容Amazon的对等程序?我该怎么做?
编辑:运行sudo yum install php-pecl-oauth之后,我看到:
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
—> Running transaction check
> Package php-pecl-oauth.x86_64 0:1.2.2-3.3.amznl will be installed
—> Processing Dependency: php(api) = 20090626-x86-64 for package: php-pecl-oaut
h-1.2.2-3.3.amznl.x86_64
—> Processing Dependency: php(zend-abi) = 20090626-x86-64 for package: php-pecl
-oauth-1.2.2-3.3.amznl.x86_64
—> Running transaction check
> Package php-common.x86_64 0:5.3.29-1.8.amznl will be installed
—> Processing Conflict: php56-common-5.6.14-1.119.amznl.x86_64 conflicts php-co
mmon < 5.5.22-1.98
—> Finished Dependency Resolution
Error: php56-common conflicts with php-common-5.3.29-1.8.amznl.x86_64
You could try using —skip-broken to work around the problem
You could try running: rpm -Va —nofiles —nodigest发布于 2015-11-01 18:19:35
这些说明不是针对Amazon的。你不应该指望他们工作。
而且在任何情况下,大多数使用yum的发行版都已经打包了php-oauth,所以您不需要这样做。在Amazon上,包名是php-pecl-oauth。
yum install php-pecl-oauth鲍勃是你叔叔。
发布于 2015-11-02 21:07:43
php -m | grep -i oauth -这是怎么说的?
此外,根据您配置Apache的方式,我建议创建一个phpinfo.php文件w/以下内容,并检查是否实际启用了OAuth扩展:
<?php
phpinfo();
?>https://serverfault.com/questions/733135
复制相似问题