I need help with installation of php-devel (I need it, cause it has phpize, which is necessary to install eAccelerator). But when I try to install php-devel with yum i
yum --enablerepo=remi,remi-php55 install php55-devel
worked for me
About the initial question (install eAccelerator).
This project is dead, and have never work with PHP >= 5.4.
So if you need an opcode cache, please choose a maintained one. I would recommend "opcache", the official cache maintained by the PHP project, included in php-src since 5.5, and available in pecl for 5.4.
And if you use "remi" repository, before trying to build an extension, check first if it is available in the repository, as most of the PECL extensions are available as RPM, see http://blog.remirepo.net/pages/PECL-extensions-RPM-status
What I did was:
yum search php53
and it showed the php-devel file to install. Once I did the search and found the correct devel package, I simply copied and pasted the entire name after yum install. I executed
yum install php53-devel.x86_64
to get it
Rather than running yum install php-devel
you needed to run yum --enablerepo=remi,remi-php54 install php-devel
.
In short, just specifying which php-devel version you wanted from the remi repo. In your case you had php54 installed from remi so you needed to add in "remi-php54" . That would have successfully installed php-devel without the downtime.
If you have php 5.5.x, centos 6.5 64 try this
yum install php55w-devel
You will need also gcc
yum install gcc.x86_64
php
was installed from Remi's repository. You will need to either downgrade to the stock php
, or get php-devel
from the same place.