Re: [PECL-DEV] apc 3.1.4 beta for windows
[email protected] (Tomasz Krawczyk)
| Newsgroups | php.pecl.dev,php.pecl.dev,php.pecl.dev |
|---|---|
| Message-ID | <[email protected]> |
Tomasz Krawczyk pisze: > I tried out the apc from your page and it works the same slow as mine. > On my laptop my test site on TYPO3 cms with apc works 2 to 4 times > slower than with two other open source accelerators. In case of all > accelerators I set 64MB for the cache. > This is why I asked about best settings or some debugging stuff in beta > version. > I think I know what was my problem. By default apc.cache_by_default is On and apc.filters is empty. Those parameters in conjunction are turning caching off. This significantly slows PHP down. But when I set apc.filters to "\.php$" PHP was still slower than PHP without APC. I followed Pierre's suggestion and compiled this extension on the "stepbystepbuild" way. I was turning on and off parameters --enable-fileinfo, --enable-memprotect and --enable-spinlocks with no success. Is this a bug or I messed something up? regards Tomek