APC install problem

I’ve been trying to install APC but can’t get it to work.

I have tried both php5 install scripts in the wiki ( install script and dev installand get the custom php install working fine with either one (phpinfo() shows the custom installation working fine with correct paths to php and php.ini).

APC installs with no errors using http://wiki.dreamhost.com/Pecl_APC and the module ends up in ~/php5/lib/php/extensions/apc.so which I think is correct. And the necessary changes have been made to php.ini

I have tried shutting down fcgi and restarting to no avail.

The only clue I have is the access log gives the following error

PHP Warning: PHP Startup: Unable to load dynamic library ‘./apc.so’ - ./apc.so: cannot open $

Any ideas what is wrong?

$97 DISCOUNT with [color=#CC0000]DISCOM97[/color]
More codes

Yes, it appears I need to go back into the wiki docs and add in some additional information about how to go about further modifying your php.ini file to correctly point to the extensions directory.

So to answer your question, you’ll want to modify the following setting in your php.ini:

To something like this:

That should work for you anyways :slight_smile:

Chips N Cheese - Custom PHP installs and the like!

That got it, something so simple too.


$97 DISCOUNT with [color=#CC0000]DISCOM97[/color]
More codes