Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is pretty strange situation I am getting.

I have installed apc (with ./configure and make) on my LAMP gentoo with PHP 5.2.

To get apc loaded i need to place in my www php directory otherwise it just don't get loaded.

I don't even any idea of this, if you have even only tips please post an answer.

If you need the full series of command it's here: Failed installing APC?

share|improve this question

check the extensions_path variable in your php.ini. This defines where php will look for extensions.Gentoo might require you modify one of the include files

share|improve this answer
just checked: "./" (don't know which is the absolute path for that, thansk for input anyway) – dynamic May 28 '11 at 17:19

The best thing for you to do would be to remove all of the work you've done by hand on your Gentoo system, and install Apache, PHP, and APC through the Gentoo way: using Portage.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.