D
D
Dmitry Skogorev2015-12-21 02:01:24
PHP
Dmitry Skogorev, 2015-12-21 02:01:24

Why does the module not get up?

Good day,
I'm trying to install amqp for php7 on centos 7.x
yum install php*amqp,
I get the error
php70w-common conflicts with php-common-5.4.16-36.el7_1.x86_64,
do I understand correctly that such a package is only for 5.4 or what's wrong?
thanks in advance
upd output of yum.
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-amqp.x86_64 0:1.4.0-1.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package : php-pecl-amqp-1.4.0-1.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-amqp-1.4.0-1.el7.x86_64
-- > Running transaction check
---> Package php-common.x86_64 0:5.4.16-36.el7_1 will be installed
--> Processing Conflict: php70w-common-7.0.0-1.w7.x86_64 conflicts php-common < 5.5.0
- -> Finished Dependency Resolution
Error: php70w-common conflicts with php-common-5.4.16-36.el7_1.x86_64

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Skogorev, 2015-12-21
@EnterSandman

I will answer myself
yum install rabbitmq-devel
pecl install amqp-1.7.0alpha1 //because php7 support has been added here

S
Sergey, 2015-12-21
Protko @Fesor

Do I understand correctly that such a package is only for 5.4 or what is wrong?

You have the php-common-5.4 package installed. blah blah blah and php*amqp conflicts with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question