Comments on Integrating APC (Alternative PHP Cache) Into PHP5 (Fedora 8 & Apache2)

Integrating APC (Alternative PHP Cache) Into PHP5 (Fedora 8 & Apache2) This guide explains how to integrate APC (Alternative PHP Cache) into PHP5 on a Fedora 8 system (with Apache2). APC is a free and open PHP opcode cacher for caching and optimizing PHP intermediate code. It's similar to other PHP opcode cachers, such as eAccelerator and XCache.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Tierno Bah

Your step-by-step guide is right on the money. Even thoug my server is quite capable of displaying file upload progress using APC RFC1867, my Drupal configuration was complaining about the lack of uploadprogress. Luckily, I found your howto page. I'am glad I did.

Upon restarting Apache on Linux/Fedora 10 (apachectl graceful), everything is OK.

Thanks for taking the time to put this help file together.

By: Martin X. Moleski, SJ

I'm a new root admin slowly climbing a LOT of learning curves.

First, I can't thank you and all of the other open source or free software packages enough. You are absolutely amazing people!

This tutorial worked splendidly.

Two quirks for me:

1. When I first set up the server, php.ini was in /etc. Then I cooked up my own version of PHP and the new location of the active php.ini file changed to /opt/php5/lib/php.ini. I was pounding away at etc/php.ini with no results. :o(

2. Even though the active php.ini file says that dynamic extensions are loaded automatically if they have an .ini file in /etc/php.d, and even though I put an apc.ini in that folder, APC did not get loaded. I had to get the right php.ini file and add the line from the make output (extension=apc.so). Then I got the expected result from phpinfo.php.

Linux 2.6.24-19-xen #1 SMP Sat Jul 12 00:15:59 UTC 2008 x86_64
PHP Version 5.2.8
Server version: Apache/2.2.9 (Unix)

THANKS!

Marty (nearly clueless newbie)
"It is good to be root"

By: Jay Daugherty

Worked fine and dandy for me, too... thanks much for taking the time to do it... my system seemed to hang when running the transaction test portion of the install when groupinstalling the Development Libraries, but I just let it run and eventually it finished.

 Thanks again!

By: Kit Barker

Thanks for taking the time to post this.

 It saved me a lot of time!

By: Anonymous

Great post, very helpful.
Thank you so much.