Current time: 11-25-2024, 04:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
running APC php-caching for all virtual hosts?
Author Message
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #1
Question running APC php-caching for all virtual hosts?
I've always used APC php caching for acceleration of complex php sites (some of my sites are a combination of 3 embedded cms's)

now i've installed apc in my global php.ini (/etc/php5/php.ini) and it's up and running, but i have the impression that it's not loading the amount of items it did on my previous server...

When i look at the cached items i'm missing quite a few of the larger elements that it used to cache on my previous server (without fcgi/ispcp/...)

Question: do i have to enable the module in all my site specific php.ini files?

And if this is the case, i assume i should divide the amount of available memory for the caching among all the sites?

greetings,
Rik
01-28-2008 12:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #2
RE: running APC php-caching for all virtual hosts?
yes and yes
01-28-2008 02:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #3
RE: running APC php-caching for all virtual hosts?
raphael Wrote:yes and yes

thanks Smile

since i'm dividing memory here, does this also mean that i don't load in the general php.ini , and only in the site-specific php.ini files ?
01-28-2008 09:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #4
RE: running APC php-caching for all virtual hosts?
that's right. /etc/php5/cgi/php.ini isn't used at all by ispCP

Because of security reasons I don't recommend using the same shared cache for all the customers
01-29-2008 01:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)