Answer the question
In order to leave comments, you need to log in
How to install php-devel (Centos 6.9, php 5.6)?
Hello! I need to install php-devel in order to install the ZeroMQ PHP extension.
Trying to install it with the following command: yum install php-devel
I get the following error:
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos-mirror.rbc.ru
* extras: centos-mirror.rbc.ru
* remi: mirror.netsite.dk
* remi-safe: mirror.netsite.dk
* updates: centos-mirror.rbc.ru
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-devel.x86_64 0:5.4.45-13.el6.remi will be installed
--> Processing Dependency: php-cli(x86-64) = 5.4.45-13.el6.remi for package: php-devel-5.4.45-13.el6.remi.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.4.45-13.el6.remi will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.45-13.el6.remi for package: php-cli-5.4.45-13.el6.remi.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.4.45-13.el6.remi will be installed
--> Processing Conflict: php56w-common-5.6.31-1.w6.x86_64 conflicts php-common < 5.6
--> Finished Dependency Resolution
Error: php56w-common conflicts with php-common-5.4.45-13.el6.remi.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
running: phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
ERROR: `phpize' failed
Answer the question
In order to leave comments, you need to log in
https://www.google.com.ua/search?q=OSError%3A+libe...
https://stackoverflow.com/questions/32499491/pytho...sudo apt-get update && sudo apt-get install espeak
You are trying to install php-devel version 5.4 on php 5.6.
Try doing the following
yum-config-manager --enable remi-php56
yum update
yum install php-devel
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question