douyanguo7964 2016-01-26 21:48
浏览 249

Centos 7 - Php56w - 以及一些php模块问题

We are setting up a server and it has a list of scripts and php modules which I just about have installed but there are a few things still giving issues.

We have Centos 7 and PHP56w installed

I need to install

extension=mailparse.so
extension=oauth.so

but am having issues.. php56w-common is installed but I can't seem to activate these extensions. When I try to yum install they give me either does not exist or php56w-common conflicts with php54-commmon. but we don't have 5.4 installed? I am trying to figure out why it is pulling that version even when forcing a php56w install.

In order to install mailparse I have other dependencies that are needed like php-zend-abi and php-api ...

When you go to install anything they either do not exist, give dependency issues to things you can't install or give the 56w 54 conflict.

I had to use the webtatic repo for some scripts not in the remi or centos options but there is no php54 that I can find anywhere.

I ran - rpm -qa | grep php and get this

php56w-tidy-5.6.17-1.w7.x86_64
php56w-mysqlnd-5.6.17-1.w7.x86_64
php56w-pear-1.10.1-1.w7.noarch
php56w-5.6.17-1.w7.x86_64
php56w-process-5.6.17-1.w7.x86_64
php56w-xml-5.6.17-1.w7.x86_64
php56w-pdo-5.6.17-1.w7.x86_64
php-tcpdf-6.2.11-1.el7.noarch
phpMyAdmin-4.4.15.2-1.el7.noarch
php56w-cli-5.6.17-1.w7.x86_64
php56w-devel-5.6.17-1.w7.x86_64
php56w-mbstring-5.6.17-1.w7.x86_64
php-php-gettext-1.0.11-12.el7.noarch
php56w-bcmath-5.6.17-1.w7.x86_64
php56w-gd-5.6.17-1.w7.x86_64
php-tcpdf-dejavu-sans-fonts-6.2.11-1.el7.noarch
php56w-common-5.6.17-1.w7.x86_64

Any ideas how I can get the mailparse and oauth modules enabled?

  • 写回答

1条回答 默认 最新

  • duanmen1887 2016-01-27 11:36
    关注

    If some extensions are missing in your provider repository, probably you should consider another repository with more features.

    Check extensions available in "remi-php56" repository on http://blog.remirepo.net/pages/PECL-extensions-RPM-status

    Yes, both mailparse and oauth are there.

    For configuration, see http://rpms.remirepo.net/wizard/

    评论

报告相同问题?

悬赏问题

  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题