DreamHost Web Hosting
Discussion Forum


Forums
   >> Programming
*Threaded Mode

Subject APC install problem  
Posted bymonkeyboy7706 (DH Enthusiast)
Posted on07/06/07 02:11 PM



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 DISCOM97
More codes


Subject Re: APC install problem new [re: monkeyboy7706]  
Posted byMousee (DH Smarty Pants)
Posted on07/06/07 03:02 PM



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:

In reply to:


; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"


To something like this:

In reply to:


; Directory in which the loadable extensions (modules) reside.
extension_dir = "~/php5/lib/php/extensions"


That should work for you anyways

--------------------------
Chips N Cheese - Custom PHP installs and the like!

Subject Re: APC install problem new [re: Mousee]  
Posted bymonkeyboy7706 (DH Enthusiast)
Posted on07/06/07 04:26 PM



That got it, something so simple too.

thanks

$97 DISCOUNT with DISCOM97
More codes



*Threaded Mode
Jump to