-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
OpCache guy does only show #65
Comments
@snack753, there's nothing specifically in the opcache gui that would restrict showing so much information. At the very least you should be able to see the 'General information' and 'Directives' details about the 'Available functions'. So at the moment I would need more information before making any kind of guess as to what's going on. If you open the browser developer tools, does the console show any errors in the react stuff that would stop it working? If you get the output of a call to |
If you have a huge server with many many cached files, it may require tens of seconds for the gui to fully load. Maybe the page may also timeout and stop updating leaving the image you posted. |
What version are you running @FabioPedretti? I tried it locally with 60K+ files and it was snappy to respond. What version are you using? 2.x was slow to do that but 3.x is far more responsive. |
Indeed I am running 2.5.4, since 3.x is not compatible with PHP 7.0. |
If upgrading to new, and not EOL PHP versions is out of the question, then it shouldn't be too hard for you to use version 3 and then make it backwards compatible for your own needs. From a quick look through, I think that there are only a few lines you'd need to adjust for PHP 7.0:
It'll just be a case of getting rid of the |
I can confirm your suggested fix makes 3.2.0 working also on PHP 7.0. And indeed it's a lot faster to load than 2.5.4! Also it doesn't have the 2.5.4 behavior to only shows part of the page before fully loading. (Maybe fixing the code to also supports PHP 7.0, or at least printing an error in the web page that PHP 7.1 (it looks like a new 7.1 feature) is required or adding it in the doc could be useful to others) |
Glad that worked @FabioPedretti! I'm not really tempted to downgrade the code (even if it's only a few lines) because that's kind of supporting people using a much older version of PHP than really should be used. And shouldn't we all as developers try to improve what's out there where we can? :-) I really do appreciate, though, that sometimes developers just don't have the ability to change the version of PHP they use because it's out of their control. The PHP version restriction is in the But I feel like this has deviated enough from @snack753's original issue. So if you have any more feedback, please feel free to create a new issue! |
Using the OpCache gui in Moodle I only can see very limited information/links on the screen instead of the nice information that you present on your site.
Any idea why the details are missing for me?
The text was updated successfully, but these errors were encountered: