Re: apc 3.1.4 beta for windows
| From: | Tomasz Krawczyk | Date: | Wed, 25 Aug 2010 06:58:01 +0000 |
| Subject: | Re: apc 3.1.4 beta for windows | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7516@lists.php.net to get a copy of this message | ||
Hi
I use WampServer with Apache 2.2.14, PHP 5.3.1 (x32 VC6) on Windows 7 x64. Here is my phpinfo screenshot http://www.euroinpoland2012.com/fileadmin/phpinfo.png (608KB).
--
regards
Tomek
Pierre Joye pisze:
> 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
>>