Home > Bookmarks, Linux, Tech > Installing APC Accelerator Into PHP5 (Fedora Core 11)

Installing APC Accelerator Into PHP5 (Fedora Core 11)

September 25th, 2009 Leave a comment Go to comments

APC is a PHP accelerator extension that can be installed using PECL.  PECL comes with the php-pear package, and must be installed

yum install php-pear

install APC dependencies so that PECL can build APC:

yum install php-devel httpd-devel

yum groupinstall ‘Development Tools’

yum groupinstall ‘Development Libraries’

Now that if all dependencies are installed, you can install APC php accelerator:

pecl install apc

now, you should add “extension=apc.so” to php.ini or create apc.ini file in /etc/php.d/ and add this line

extension=apc.so

now, restart httpd/apache:

/etc/init.d/httpd restart

  1. October 1st, 2009 at 06:17 | #1

    o3aVzc I want to say – thank you for this!

  1. September 27th, 2009 at 19:17 | #1
GoCache - ByREV-Cache v1.0 - live served in : 0.497814 sec (gzip)