Install APC

we need the pecl command so we can download and install APC from the repositories.

  • use yum to install pecl

yum install php-pear php-devel httpd-devel

  • install APC

pecl install apc 
at the end you can read
Build process completed successfully
Installing '/usr/lib/php/modules/apc.so'
install ok: channel://pecl.php.net/APC-3.0.19
configuration option "php_ini" is not set to php.ini location
You should add "extension=apc.so" to php.ini
open php.ini, find
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
add this line under it extension=apc.so save & exit, and restart the service
/etc/init.d/php_cgi restart
for apache
/etc/init.d/httpd restart

en/install_apc.txt · Last modified: 2017/12/12 03:05 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki