Runkit + APC #14

Closed
tcz opened this Issue Jul 4, 2011 · 5 comments

Projects

None yet

5 participants

@tcz
tcz commented Jul 4, 2011

Hi,

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.

@magus424

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.

@zenovich
Owner

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.

@tony2001
Contributor

This issue was reopened by accident.

@everflux

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)

@zenovich
Owner

@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