Runkit + APC #14

tcz opened this Issue Jul 4, 2011 · 5 comments


None yet

5 participants

tcz commented Jul 4, 2011


Using APC with runkit's runkit_method_redefine makes the script execution crash (silently stop).
I'm happy to provide any more information, just tell me what, 'cause I'm not quite sure.


Similar issue here - runkit_method_rename works twice, but the third call kills things, unless we disable APC. Would love to be able to use both at once.


Sorry, I can reproduce none of these issues using the runkit from the master branch. Could you please provide a code sample, which results in crash.


This issue was reopened by accident.


Using php-fpm with zend opcache leads to the problem as well that after two times the method renaming does no longer work until the php process is restarted. (Reason here is that the target function is already present. A work-around is to first remove the target function if it already exists. This seems to be unrelated to opcode caching but to the stateful usage with php-fpm)


@everflux, could you please provide me with your php's version, your zend opcache's version, your zend opcache's configuration, and a test example. Unfortunately, I can't reproduce the issue without this info.

@zenovich zenovich closed this Aug 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment