You are running an older version of APC (3.1.9), newer version 3.1.10

phpfox

Пользователь
в freebsd достаточно Код: cd /usr/ports/www/pecl-APC make deinstall clean && make install clean && /usr/local/etc/rc.d/php-fpm restart или Код: pecl install apc

первый вариант вполне рабочий это факт, просто в партах нету еще 3.1.10

Код:
===>  pecl-APC-3.1.9_1 depends on file: /usr/local/include/php/main/php.h - found
===>  Generating temporary packing list
===>  Checking if www/pecl-APC already installed
install  -o root -g wheel -m 444 /usr/ports/www/pecl-APC/work/APC-3.1.9/CHANGELOG /usr/local/share/doc/APC
install  -o root -g wheel -m 444 /usr/ports/www/pecl-APC/work/APC-3.1.9/INSTALL /usr/local/share/doc/APC
install  -o root -g wheel -m 444 /usr/ports/www/pecl-APC/work/APC-3.1.9/NOTICE /usr/local/share/doc/APC
install  -o root -g wheel -m 444 /usr/ports/www/pecl-APC/work/APC-3.1.9/apc.php /usr/local/share/doc/APC
************************************************************************
You may edit /usr/local/etc/php.ini to change this variables:
 
apc.enabled="1"
            ^^^ -> Default value
 
apc.shm_size="30"
            ^^^^ -> Default value
 
* More information on /usr/local/share/doc/APC/INSTALL
 
Then restart your web server and consult the output of phpinfo().
If there is an informational section for APC, the installation was
successful.
************************************************************************
===>  Registering installation for pecl-APC-3.1.9_1
****************************************************************************
 
The following line has been added to your /usr/local/etc/php/extensions.ini
configuration file to automatically load the installed extension:
 
extension=apc.so
 
****************************************************************************
===>  Cleaning for pecl-APC-3.1.9_1
Stopping php_fpm.
Starting php_fpm.

второй вариант хз мне он выдал такою хрень

Код:
# pecl install apc
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Notice: Undefined index: honorsbaseinstall in Role.php on line 180
 
Notice: Undefined index: honorsbaseinstall in Role.php on line 180
 
Notice: Undefined index: honorsbaseinstall in Role.php on line 180
 
Notice: Undefined index: honorsbaseinstall in Role.php on line 180
 
Notice: Undefined index: honorsbaseinstall in Role.php on line 180
 
Notice: Undefined index: honorsbaseinstall in Role.php on line 180
 
Notice: Undefined index: honorsbaseinstall in Role.php on line 180
 
Notice: Undefined index: honorsbaseinstall in Role.php on line 180
 
Notice: Undefined index: honorsbaseinstall in Role.php on line 180
 
Notice: Undefined index: installable in Role.php on line 145
 
Notice: Undefined index: installable in Role.php on line 145
 
Notice: Undefined index: installable in Role.php on line 145
 
Notice: Undefined index: installable in Role.php on line 145
 
Notice: Undefined index: installable in Role.php on line 145
 
Notice: Undefined index: installable in Role.php on line 145
 
Notice: Undefined index: installable in Role.php on line 145
 
Notice: Undefined index: installable in Role.php on line 145
 
Notice: Undefined index: installable in Role.php on line 145
 
Notice: Undefined index: phpfile in Role.php on line 212
 
Notice: Undefined index: phpfile in Role.php on line 212
 
Notice: Undefined index: phpfile in Role.php on line 212
 
Notice: Undefined index: phpfile in Role.php on line 212
 
Notice: Undefined index: phpfile in Role.php on line 212
 
Notice: Undefined index: phpfile in Role.php on line 212
 
Notice: Undefined index: phpfile in Role.php on line 212
 
Notice: Undefined index: phpfile in Role.php on line 212
 
Notice: Undefined index: phpfile in Role.php on line 212
 
Notice: Undefined index: config_vars in Role.php on line 49
 
Notice: Undefined index: config_vars in Role.php on line 49
 
Notice: Undefined index: config_vars in Role.php on line 49
 
Notice: Undefined index: config_vars in Role.php on line 49
 
Notice: Undefined index: config_vars in Role.php on line 49
 
Notice: Undefined index: config_vars in Role.php on line 49
 
Notice: Undefined index: config_vars in Role.php on line 49
 
Notice: Undefined index: config_vars in Role.php on line 49
 
Notice: Undefined index: config_vars in Role.php on line 49
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 259
 
Warning: Invalid argument supplied for foreach() in /usr/local/lib/php/PEAR/Command.php on line 259
XML Extension not found
#
 
K

kenny

Гость
Удалять кто будет? Бисти?
phpfox, так если внимательно посмотреть то 3.1.10 и не факт что без багов.
А то будет, не было печали, обновлений накачали.
 

phpfox

Пользователь
kenny Все спасибо за подсказки теперь я во всем этом разобрался, без тупости тут не как я во фряхе вообще не как только учусь.
 
Сверху