hatamiarash7 / memcached-admin Goto Github PK
View Code? Open in Web Editor NEWMemcached admin for docker
License: GNU General Public License v3.0
Memcached admin for docker
License: GNU General Public License v3.0
This is best GUI tool for Memcached, Hope it has more people participating
Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in /var/www/html/Library/Loader.php on line 11
Simply run this docker command:
docker run --rm -p 8080:80 -e MEMCACHED_HOST='<my_aws_host>' -e MEMCACHED_PORT='11211' hatamiarash7/memcached-admin:master
It seems that your PHP version is too old. Please update your Docker image.
Thank you.
As per my understanding, we are using stats cachedump here to retrieve items from the server. This method is known to be limited and I recently found that memcache offers a better way: https://github.com/memcached/memcached/wiki/ReleaseNotes1431#new-features
When I add an aws node that has encription-transit enabled, I get the error that it cannot connect. Have you encountered this problem?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
docker-compose.yml
docker.io/bitnami/memcached 1
Dockerfile
php 8.3-apache
.github/workflows/docker-image.yml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
github/codeql-action v2
.github/workflows/docker-publish.yml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
docker/login-action v3.1.0
docker/metadata-action v4.6.0
docker/build-push-action v5.3.0
.github/workflows/dockerhub.yml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
docker/login-action v3.1.0
docker/metadata-action v4.6.0
docker/build-push-action v5.3.0
Currently it's not possible to connect to a SASL enabled server.
Being able to set SASL user and password, preferably per server or cluster, but could be globally.
I actually built an image on top of this that adds the following code to Library_Command_Memcached::__construct():
$user = getenv('MEMCACHED_SASL_USER');
$pass = getenv('MEMCACHED_SASL_PASS');
if ($user && $pass) {
self::$_memcache->setOption(Memcached::OPT_BINARY_PROTOCOL, true);
self::$_memcache->setSaslAuthData($user, $pass);
}
and runs the following inside its Dockerfile:
RUN apt-get update && apt-get install --no-install-recommends -y \
libmemcached-dev \
libsasl2-modules \
libzip-dev \
zip \
&& pecl install memcached \
&& docker-php-ext-enable memcached.so \
&& docker-php-ext-install zip \
&& rm -rf /var/lib/apt/lists/*
and setting the env variables MEMCACHED_SASL_USER and MEMCACHED_SASL_PASS, and configuring the GUI to use PECL Memcached for each function did get me connected to the SASL authenticated server. However all the stat graphs are broken, showing instead Warning: A non-numeric value encountered in /var/www/html/Library/Data/Analysis.php on line 56
However, the table near the bottom with the NAME, SIZE, %MEM (etc.) columns does work, so there's probably some incompatibility in the PECL Memcached code pathway.
There are many PHP warnings:
Warning: A non-numeric value encountered in /var/www/html/Library/Data/Analysis.php on line 56
in /stats.php
Warning: A non-numeric value encountered in /var/www/html/Library/Data/Analysis.php on line 28
Warning: Undefined array key "mem_requested" in /var/www/html/Library/Data/Analysis.php on line 196`
in index.php
Docker image (hatamiarash7/memcached-admin:master@sha256:91a587ae6b6de18b11eb739a48fc145aff312ad2fdccec838b37d9078fee487d)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.