View Full Version : APC cache install not working?
eva2000
Thu 25th Oct '01, 2:36pm
any ideas folks
i'm getting this error in my error_logs when i restarted apache after installing APC cache 1.10.0pl1 from source using mmap implementation
http://apc.communityconnect.com/index.html
APC Caching designed to be used with the Zend Engine API 20001120 is outdated
It requires a more recent version of the Zend Engine
The installed Zend Engine API version is 20001224
Contact Dan Cowgill and George Schlossnagle at http://apc.communityconnect.com for a later version of this module.
i'm using PHP 4.05
Swamper
Thu 25th Oct '01, 4:57pm
I'm using PHP 4.0.6 and my phpinfo says this in case you're curious:
This program makes use of the Zend scripting language engine:
Zend Engine v1.0.6, Copyright (c) 1998-2001 Zend Technologies
with APC Caching v1.1.0, Copyright (c) 2000-2001 Community Connect Inc., by Dan Cowgill and George Schlossnagle
...I only installed APC after putting in 4.0.6 so I can't say if 4.05 has an issue with that version or not...
eva2000
Fri 26th Oct '01, 5:27am
yeah i got upgraded to php 4.06 and it now works but only for shm implementation using mmap implementation i get in my error_log
httpd: apc_serialize.c:1468: apc_deserialize_zend_function: Assertion `0' failed.
[Fri Oct 26 01:41:40 2001] [notice] child pid 10711 exit signal Aborted (6)
httpd: apc_serialize.c:1468: apc_deserialize_zend_function: Assertion `0' failed.
[Fri Oct 26 01:41:46 2001] [notice] child pid 10718 exit signal Aborted (6)
httpd: apc_serialize.c:1468: apc_deserialize_zend_function: Assertion `0' failed.
httpd: apc_serialize.c:1468: apc_deserialize_zend_function: Assertion `0' failed.
[Fri Oct 26 01:41:47 2001] [notice] child pid 10719 exit signal Aborted (6)
[Fri Oct 26 01:41:47 2001] [notice] child pid 10716 exit signal Aborted (6)
httpd: apc_serialize.c:1468: apc_deserialize_zend_function: Assertion `0' failed.
httpd: apc_serialize.c:1468: apc_deserialize_zend_function: Assertion `0' failed.
[Fri Oct 26 01:41:48 2001] [notice] child pid 10717 exit signal Aborted (6)
[Fri Oct 26 01:41:48 2001] [notice] child pid 10701 exit signal Aborted (6)
httpd: apc_serialize.c:1468: apc_deserialize_zend_function: Assertion `0' failed.
httpd: apc_serialize.c:1468: apc_deserialize_zend_function: Assertion `0' failed.
[Fri Oct 26 01:41:49 2001] [notice] child pid 10722 exit signal Aborted (6)
[Fri Oct 26 01:41:49 2001] [notice] child pid 10721 exit signal Aborted (6)
httpd: apc_serialize.c:1468: apc_deserialize_zend_function: Assertion `0' failed.
httpd: apc_serialize.c:1468: apc_deserialize_zend_function: Assertion `0' failed.
[Fri Oct 26 01:41:50 2001] [notice] child pid 10725 exit signal Aborted (6)
with shm implementation i have
apc_sem_unlock: semop(77853) failed: Invalid argument
apc_sem_unlock: semop(77853) failed: Invalid argument
apc_sem_unlock: semop(77853) failed: Invalid argument
apc_sem_unlock: semop(77853) failed:apc_sem_unlock: semop(77853) failed: Invalid argument
Invalid argument
apc_sem_unlock: semop(77853) failed:apc_sem_unlock: semop(77853) failed: Invalid argument
Invalid argument
apc_sem_unlock: semop(77853) failed: Invalid argument
apc_sem_unlock: semop(77853) failed: Invalid argument
apc_sem_unlock: semop(77853) failed:apc_sem_unlock: semop(77853) failed: Invalid argument
Swamper
Fri 26th Oct '01, 5:34pm
I dunno why you get those errors, did you make sure to disable Zend Optimizer?
This is all I have in my php.ini for apc:
apc.mode = shm
zend_extension="/usr/lib/apache/php_apc.so"
apc.shm_segments = 1
apc.shm_segment_size = 6250000
...running on raq3...
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.