Спасибо Владислав.
pecl uninstall apc
Failed loading opcache.so: opcache.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
pecl/apc not installed
pear install pecl/apc
Failed loading opcache.so: opcache.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
downloading APC-3.1.13.tgz ...
Starting to download APC-3.1.13.tgz (171,591 bytes)
..............................done: 171,591 bytes
55 source files, building
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
yum remove php-pecl-apc
Loaded plugins: etckeeper, fastestmirror, merge-conf, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-apcu.x86_64 0:4.0.11-2.el6.remi.5.4 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
============================================================
==================
Package Arch Version Repository Size
============================================================
==================
Removing:
php-pecl-apcu x86_64 4.0.11-2.el6.remi.5.4 @remi 248 k
Transaction Summary
============================================================
==================
Remove 1 Package(s)
Installed size: 248 k
Is this ok [y/N]: н
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
etckeeper: pre transaction commit
Erasing : php-pecl-apcu-4.0.11-2.el6.remi.5.4.x86_64 1/1
Failed loading opcache.so: opcache.so: cannot open shared object file: No suc h file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modu les/apc.so' - /usr/lib64/php/modules/apc.so: cannot open shared object file: N o such file or directory in Unknown on line 0
etckeeper: post transaction commit
Verifying : php-pecl-apcu-4.0.11-2.el6.remi.5.4.x86_64 1/1
Removed:
php-pecl-apcu.x86_64 0:4.0.11-2.el6.remi.5.4
Complete!
yum install php-pecl-apc
Loaded plugins: etckeeper, fastestmirror, merge-conf, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.h1host.ru
* epel: fedora-mirror01.rbc.ru
* extras: mirror.h1host.ru
* remi: mirror.h1host.ru
* remi-safe: mirror.h1host.ru
* updates: mirror.h1host.ru
Package php-pecl-apc is obsoleted by php-pecl-apcu, trying to install php-pecl-apcu-4.0.11-2.el6.remi.5.4.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-apcu.x86_64 0:4.0.11-2.el6.remi.5.4 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================
============================================================
============================================================
=========================================================
Package Arch Version Repository Size
============================================================
============================================================
============================================================
=========================================================
Installing:
php-pecl-apcu x86_64 4.0.11-2.el6.remi.5.4 remi 81 k
Transaction Summary
============================================================
============================================================
============================================================
=========================================================
Install 1 Package(s)
Total download size: 81 k
Installed size: 248 k
Is this ok [y/N]: y
\Downloading Packages:
php-pecl-apcu-4.0.11-2.el6.remi.5.4.x86_64.rpm | 81 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
etckeeper: pre transaction commit
Installing : php-pecl-apcu-4.0.11-2.el6.remi.5.4.x86_64 1/1
Failed loading opcache.so: opcache.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
Failed loading opcache.so: opcache.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
etckeeper: post transaction commit
Verifying : php-pecl-apcu-4.0.11-2.el6.remi.5.4.x86_64 1/1
Installed:
php-pecl-apcu.x86_64 0:4.0.11-2.el6.remi.5.4
Complete!