Skip to content

OnEnable INI MH for opcache causing strangeness #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed

OnEnable INI MH for opcache causing strangeness #406

wants to merge 7 commits into from

Conversation

krakjoe
Copy link
Member

@krakjoe krakjoe commented Aug 12, 2013

making sure that checks are only carried out if opcache is currently disabled makes sense generally and fixes a specific error in pthreads ... any chance this can be merged ?

@laruence
Copy link
Member

is that possible to make a test script to show what this will cause?

@krakjoe
Copy link
Member Author

krakjoe commented Aug 12, 2013

Well its only been reported by a pthreads user, I guess there might be a SAPI out there that does the same thing, the logic seems sound to me anyway and doesn't interfere with anything else ...

@smalyshev
Copy link
Contributor

I'm not sure this patch is correct - does it mean if the cache is enabled it can never be disabled at runtime? I don't think this is right.

@krakjoe
Copy link
Member Author

krakjoe commented Aug 19, 2013

Apologies, logic makes sense now I think ... if it's enabled you can disable it, if it's disabled and you try to enable it, you still get an error ...

@smalyshev
Copy link
Contributor

Not quite, as this looks like if it's enabled and you try to enable it again, it will be disabled instead, which is not right.

@krakjoe
Copy link
Member Author

krakjoe commented Aug 19, 2013

Right yeah ... awful ...

@krakjoe
Copy link
Member Author

krakjoe commented Aug 19, 2013

This should have been simple ... I hate Mondays ...

@krakjoe
Copy link
Member Author

krakjoe commented Aug 19, 2013

I can't get whitespace right, if it's merged can someone fix it, I dunno whats going on ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants