Re: Re: APC under WinXP crashes
| From: | Robert Rothe | Date: | Tue, 13 Oct 2009 18:03:37 +0000 |
| Subject: | Re: Re: APC under WinXP crashes | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-6697@lists.php.net to get a copy of this message | ||
There is an apache log error, too. My bad. It is:
[apc-error] Cannot redeclare class sfcore
[crit] Parent: child process exited with status 2 -- Aborting.
-----Original Message-----
>From: Jaroslav Hanslík <konference@kukulich.net>
>Sent: Oct 13, 2009 10:12 AM
>To: pecl-dev@lists.php.net
>Subject: Re: [PECL-DEV] Re: APC under WinXP crashes
>
>No, it's error from apache log. My apache crashes too.
>
>Jaroslav Hanslik
>
>
>Robert Rothe napsal(a):
>> No. The bug report in the link you sent seems to manifest itself as a PHP error. In my
>> case, apache just crashes when apc.stat=1 is used. No PHP-style errors for me. Event viewer shows:
>>
>> Faulting application httpd.exe, version 2.2.13.0, faulting module php5ts..dll, version
>> 5.2.11.11, fault address 0x000f330d
>>
>> That's all I get.
>>
>>
>> -----Original Message-----
>>> From: Jaroslav Hanslík <konference@kukulich.net>
>>> Sent: Oct 13, 2009 9:34 AM
>>> To: pecl-dev@lists.php.net
>>> Subject: [PECL-DEV] Re: APC under WinXP crashes
>>>
>>> Did you see something like this error?
>>> http://pecl.php.net/bugs/bug.php?id=16860
>>>
>>> Jaroslav Hanslik
>>>
>>>
>>> Robert Rothe napsal(a):
>>>> I'm experiencing the following APC problem. Before I open a bug, I just
>>>> wanted to check to see if I was missing something obvious.
>>>>
>>>> ENVIRONMENT:
>>>>
>>>> WinXP
>>>> Apache 2.2.13
>>>> PHP 5.2.11
>>>> APC 3.0.19 (also applies to php_apc-3.1-svn-20091006-5.3-VC9-x86)
>>>>
>>>> PROBLEM:
>>>>
>>>> Apache crashes if APC's apc.stat config parameter is set to anything but 0.
>>>> When apc.stat is set to zero, everything appears to work fine. However, file changes are obviously
>>>> not automatically detected by APC, thus requiring an APC flush.
>>>>
>>>> I have tried playing with other APC config settings, but none solve the problem and
>>>> crashes always relate back to the setting of apc.stat.
>
>>>>
>>>> Here is an extract of the non-working httpd.conf:
>>>>
>>>> [APC]
>>>> extension=php_apc.dll
>>>>
>>>> apc.enabled = 1
>>>> apc.shm_segments = 1
>>>> apc.shm_size = 64
>>>> apc.optimization = 0
>>>> apc.num_files_hint = 1000
>>>> apc.ttl = 0
>>>> apc.gc_ttl = 3600
>>>> apc.cache_by_default = On
>>>> apc.slam_defense = 0
>>>> apc.file_update_protection = 2
>>>> apc.enable_cli = 0
>>>> apc.stat=1
>>>>
>>>> Any help or pointers would be appreciated.
>>>>
>>>> Thank you.
>>>>
>>>>
>>>>
>>> --
>>> PECL development discussion Mailing List (http://pecl.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>
>
>--
>PECL development discussion Mailing List (http://pecl.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>