amnuts / opcache-gui

A clean, effective and responsive interface for Zend OPcache
1.21k stars 197 forks source link

memory_consumption not in MB #40

Closed Steve8291 closed 5 years ago

Steve8291 commented 5 years ago

Great script! I would like to suggest one change: Under the

Directives: memory consumption

This is not reporting in MB as I would expect. I have 128MB as the value in my php.ini settings and it is reporting 134217728 which is the value in bytes. It would make more sense to have it display in MB since that is how it is entered with opcache.memory_consumption=128

amnuts commented 5 years ago

Thanks!

That's now been fixed.