-
Notifications
You must be signed in to change notification settings - Fork 3k
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
apc_sma_info() always returns an empty array #2976
Comments
APC generally works in HHVM, however we the apc_smc_info function is just a stub, and will always return an empty array in HHVM. Editing issue title to match. |
I'm not sure how much sense it makes in HHVM though - given HHVM doesn't use a multi-process model we're probably not using shared memory for APC. |
I am working in making apc_smc_info return useful data. Unfortunately we had other work to do around performance of APC and that was not high in priority. I should commit something this week though dario From: Fred Emmott <[email protected]mailto:[email protected]> APC generally works in HHVM, however we the apc_smc_info function is just a stub, and will always return an empty array in HHVM. Editing issue title to match. — |
As mentioned in the other thread we should have something for this committed this week. dario From: Fred Emmott <[email protected]mailto:[email protected]> I'm not sure how much sense it makes in HHVM though - given HHVM doesn't use a multi-process model we're probably not using shared memory for APC. — |
Using APC as an app cache, however when running HHVM the apc_sma_info returns an empty array. If running via php-fpm (extension=apc.so) it returns the correct size array, is there some config that needs to be set to enable HHVM to talk to apc or is this a bug - have tried them all and so far no success. Regards.
The text was updated successfully, but these errors were encountered: