Re: apc 3.1.4 beta for windows
| From: | Pierre Joye | Date: | Tue, 24 Aug 2010 21:34:46 +0000 |
| Subject: | Re: apc 3.1.4 beta for windows | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7515@lists.php.net to get a copy of this message | ||
hi,
Something is wrong in your setup, our tests show a significant (2-3x)
performance increase on Windows using apache 2.2.16 and 5.3.3.
What are your exact settings?
Cheers,
On Tue, Aug 24, 2010 at 11:29 PM, Tomasz Krawczyk <tomkrawc@gmail.com> wrote:
> 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
>
> --
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org