NYCPHP Meetup

NYPHP.org

[nycphp-talk] Using APC to improve performance.

Konstantin Rozinov krozinov at gmail.com
Fri Jul 17 13:47:06 EDT 2009


Hey guys,

Just a follow-up question about APC.

In production, I have apc.stat set to 0, so files aren't stat()ed
everytime they're accessed for improved performance.
Is it possible to have APC just re-stat() a single configuration file
if I made some changes to it  (without setting apc.stat to 0 and
restarting apache) ?

Thanks for any insights,
Konstantin



On Tue, Mar 31, 2009 at 12:49 AM, Tom Melendez<tom at supertom.com> wrote:
>> 4. Any links to really good APC howtos or tutorials would be greatly
>> appreciated!
>>
>
> Not at all what you asked, but....
>
> If you're using absolute paths in your require/include files and you
> turn this off you should see gains:
>
> http://us.php.net/manual/en/apc.configuration.php#ini.apc.stat
>
> In setting it to zero, you tell it not to stat the file.  If you are
> using some beefy framework with lots of includes this can be a big
> win.
>
> Leave it set to 1 for development though.
>
> Thanks,
>
> Tom
> http://www.liphp.org
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show_participation.php
>



More information about the talk mailing list