Git Product home page Git Product logo

carlosbuenosvinos / opcache-dashboard Goto Github PK

View Code? Open in Web Editor NEW
137.0 1.0 44.0 905 KB

Set up properly and monitor your Zend OPcache with this dashboard that will help you checking memory, hits and status, configuring for optimal performance (warning you when cache full, validation, etc.) and reseting one or all scripts with one click.

License: MIT License

PHP 100.00%
php zend-opcache opcache-dashboard monitor dashboard opcache

opcache-dashboard's Introduction

❤️ Why, How, and What

LinkedIn followers Twitter Follow YouTube Channel Subscribers GitHub followers

I have a mission, teams that excel. I help tech teams become their best version.

I connect team, leadership, and customers's hearts, brains, and guts to maximize impact (customer value, delivery, speed, and quality) by reducing waste and use the right technology for the company moment.

I do that by running consultancy, writing books, organizing conferences, developing open-source tools, speaking at conferences, and vblogging public content.

💪 Consultant

Logos

📖 Book Author

Domain-Driven Design in PHP (2016) 📙

Discover DDD, Architectural Styles, Tactical Design Implementations, and Bounded Context Integration with PHP 7.4 examples

Website · Amazon · Code examples · Goodreads

CQRS by Example (2022) 📘

Command-Query Responsibility Segregation is an architectural style for developing applications that split the Domain Model in Read and Write operations in order to maximize semantics, performance, and scalability. What are all the benefits of CQRS? What are the drawbacks? In which cases does it worth applying it? How does it relate to Hexagonal Architecture? How do we properly implement the Write Model and Read Models? How do we keep in sync both sides? What are the following steps to move towards Event Sourcing? This book will answer all these questions and many more, guided through lots of practical examples.

Website · Code examples · Goodreads

🎭 Conference Organizer

DevOps Barcelona Conference 🚠

We feel passionated and inspired by everyone in the DevOps community. From the small Open Source Projects to the Big Cloud Players. This Conference is for every SysAdmin, Ops, DevOps, Developer, Manager or Techie who wants to level up. For those teams that want to leave a dent both in their companies and in the community.

Website

PHP Barcelona Conference 🐘

What an incredible 2018 and 2019 for the PHP community! Part of the PHP Core Team that was working for Zend left. Some of them found excellent companies and they are rocking more than ever, like Nikita at JetBrains. PHP 7.4 is about to be released, and PHP 8 has been branched. Laravel and Symfony have healthy growth. JIT is part of the imminent future, and I/O non-blocking frameworks are getting more often adopted in production.

Website

💻 Open Source Creator

Ansistrano 🏗

Ansistrano Stars Today Deployments Month Deployments Year Deployments Total Deployments

Ansistrano is an Ansible Galaxy roles to easily deploy and rollback your scripting applications written in PHP, Python, NodeJS, or Ruby.

Website · GitHub Repository

🎤 Talks

🎙 Interviews / Podcasts

📐 Rigor Talks (Season #2)

📐 Rigor Talks (Season #1)

📰 Press

opcache-dashboard's People

Contributors

carlosbuenosvinos avatar digitalkaoz avatar nicjansma avatar oriolgm avatar pborreli avatar stackpr avatar vasekpurchart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

opcache-dashboard's Issues

opcache.validate_timestamps problem

This is my current settings:

zend_extension=opcache.so
opcache.error_log=/var/log/php_opcache_error.log
opcache.enable=1
opcache.memory_consumption=256
opcache.interned_strings_buffer=8
opcache.max_wasted_percentage=5
opcache.max_accelerated_files=8000
opcache.use_cwd=1
opcache.validate_timestamps=0
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=0
opcache.save_comments=1
opcache.enable_file_override=1
opcache.validate_timestamps=1

But on my Opcache Dashboard, it is still showing this notice:
image

PHP 8.x warnings

PHP Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /www/example.com/httpdocs/opcache.php

To fix this :

Find :
uasort($status['scripts'], function ($a, $b) { return $a['hits'] < $b ['hits']; });

Replace :
uasort($status['scripts'], function ($a, $b) { return $b['hits'] <=> $a ['hits']; });

I hope this helps someone.

PHP 7.4 warnings

while (strlen($a) && strlen($b) && strlen($a) > $i && $a{$i} === $b{$i}) {

Warning: Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4. Found: $a{$i}
Warning: Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4. Found: $b{$i}

You can fix this by using $a[$i] and $b[$i] instead of $a{$i} and $b{$i}.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.