php-memcached VS docker-php-extension-installer

Compare php-memcached vs docker-php-extension-installer and see what are their differences.

php-memcached

memcached extension based on libmemcached library (by php-memcached-dev)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
php-memcached docker-php-extension-installer
1 12
985 3,940
0.1% -
3.9 8.9
2 months ago 6 days ago
C Shell
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

php-memcached

Posts with mentions or reviews of php-memcached. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-03.
  • What should do about this warning: symfony 5.2 please install the intl php extension for best performance?
    2 projects | /r/symfony | 3 May 2021
    # # Builds the PHP-FPM app image for our PHP Based web apps # # update the PHP version on the next line. FROM php:7.4-fpm # sets the Composer and NGINX versions to be installed. ENV COMPOSER_VER=1.10.21 \ NGINX_VER=1.18.0-2~buster # Install required packages RUN apt-get update && \ apt-get install --no-install-recommends --no-install-suggests -y \ apt-transport-https unzip zip gnupg2 dash \ libfreetype6-dev libjpeg62-turbo-dev less \ libmcrypt-dev libpng-dev libbz2-dev vim git\ libssl-dev autoconf libonig-dev supervisor \ ca-certificates curl g++ libicu-dev nano \ libmagickwand-dev libzip-dev openssh-client \ gnupg libcurl4-openssl-dev sudo git libxslt-dev \ zlib1g-dev graphviz zip libmcrypt-dev libicu-dev \ g++ libpcre3-dev libgd-dev libfreetype6-dev sqlite \ librabbitmq-dev ghostscript \ curl build-essential unzip gcc make autoconf \ libc-dev pkg-config libmemcached-dev libzip-dev \ libonig-dev libpq-dev && \ rm -r /var/lib/apt/lists/* && \ ln -s /bin/dash /bin/ash # Configure PHP GD Library RUN docker-php-source extract && docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg # Now install php extensions RUN docker-php-ext-install bcmath bz2 exif soap ftp gettext mbstring opcache \ shmop sockets sysvmsg sysvsem sysvshm zip iconv pdo_mysql gd intl xsl RUN docker-php-ext-configure intl RUN pecl install imagick-3.4.3 && docker-php-ext-enable imagick \ && pecl install amqp \ && docker-php-ext-enable amqp # Download and install memcached for PHP 7 RUN curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-memcached/archive/v3.1.5.tar.gz" \ && mkdir -p /usr/src/php/ext/memcached \ && tar -C /usr/src/php/ext/memcached -zxvf /tmp/memcached.tar.gz --strip 1 \ && docker-php-ext-configure memcached \ && docker-php-ext-install memcached \ && rm /tmp/memcached.tar.gz # Install Oracle MySQL client RUN MYSQL_GPGKEY=A4A9406876FCBD3C456770C88C718D3B5072E1F5; \ found=''; \ for server in \ ha.pool.sks-keyservers.net \ hkp://keyserver.ubuntu.com:80 \ hkp://p80.pool.sks-keyservers.net:80 \ pgp.mit.edu \ ; do \ echo "Fetching GPG key $MYSQL_GPGKEY from $server"; \ apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$MYSQL_GPGKEY" && found=yes && break; \ done; \ test -z "$found" && echo >&2 "error: failed to fetch GPG key $MYSQL_GPGKEY" && exit 1; \ echo "deb http://repo.mysql.com/apt/debian buster mysql-8.0" >> /etc/apt/sources.list.d/mysql.list && \ apt-get update && \ apt-get install --no-install-recommends --no-install-suggests -y \ mysql-client && rm -rf /var/lib/apt/lists/* # install nginx (copied from official nginx Dockerfile) RUN NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; \ found=''; \ for server in \ ha.pool.sks-keyservers.net \ hkp://keyserver.ubuntu.com:80 \ hkp://p80.pool.sks-keyservers.net:80 \ pgp.mit.edu \ ; do \ echo "Fetching GPG key $NGINX_GPGKEY from $server"; \ apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; \ done; \ test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; \ echo "deb http://nginx.org/packages/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list \ # echo "deb-src http://nginx.org/packages/debian/ stretch nginx" >> /etc/apt/nginx.list \ && apt-get update \ && apt-get install --no-install-recommends --no-install-suggests -y \ nginx=${NGINX_VER} \ nginx-module-xslt=${NGINX_VER} \ nginx-module-geoip=${NGINX_VER} \ nginx-module-image-filter=${NGINX_VER} \ gettext-base \ && rm -rf /var/lib/apt/lists/* # forward nginx request and error logs to docker log collector RUN ln -sf /dev/stdout /var/log/nginx/access.log \ && ln -sf /dev/stderr /var/log/nginx/error.log COPY ./nginx.conf /etc/nginx/nginx.conf COPY ./nginx-site.conf /etc/nginx/conf.d/nginx-site.conf RUN rm /etc/nginx/conf.d/default.conf # Install composer and installation parallelizer ENV PATH="/composer/vendor/bin:$PATH" \ COMPOSER_ALLOW_SUPERUSER=1 \ COMPOSER_VENDOR_DIR=/var/www/vendor \ COMPOSER_HOME=/composer RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \ && php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=${COMPOSER_VER} \ && php -r "unlink('composer-setup.php');" \ && composer --ansi --version --no-interaction \ && composer global require hirak/prestissimo # Adjust PHP settings for saner defaults RUN echo "upload_max_filesize = 10M" > /usr/local/etc/php/php.ini && \ echo "post_max_size = 10M" >> /usr/local/etc/php/php.ini && \ echo "max_execution_time = 300" >> /usr/local/etc/php/php.ini && \ echo "memory_limit = 256M" >> /usr/local/etc/php/php.ini # Adjust ImageMagick Policy RUN sed -i -E '//d' /etc/ImageMagick-6/policy.xml # Copy supervisord config into place # We use supervisord to keep PHP-FPM and NGINX running COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY healthcheck.php /usr/local/bin/healthcheck.php ## add the jenkins user and group (For using ssh while building images) RUN useradd -ms /bin/bash -u 1000 -U jenkins CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/conf.d/supervisord.conf"]

docker-php-extension-installer

Posts with mentions or reviews of docker-php-extension-installer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-12.
  • Are there any plans on making PHP 8 a normal apt repository?
    5 projects | /r/PHP | 12 May 2023
    Our "fix" was eventually move away to containers (local dev docker, production k8s) and never look back. Essentially https://github.com/mlocati/docker-php-extension-installer fills the void perfectly.
  • Optimizing Bitbucket Pipelines with Custom Docker Images
    2 projects | dev.to | 15 Feb 2023
    From php:8.0.26-cli RUN apt-get update && apt-get install -qy \ unzip \ git \ curl \ rsync \ libmcrypt-dev \ libzip-dev \ zip \ default-mysql-client \ libfreetype6-dev \ libjpeg62-turbo-dev \ libpng-dev \ zlib1g-dev RUN curl -sSLf \ -o /usr/local/bin/install-php-extensions \ https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions && \ chmod +x /usr/local/bin/install-php-extensions && \ install-php-extensions grpc-1.45.0 RUN docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install pdo_mysql zip gd RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
  • A Python Script to connect to GitHub and Fetches Search Results
    57 projects | dev.to | 10 Feb 2023
    python3 new.py docker-php-extension-installer: https://github.com/mlocati/docker-php-extension-installer codechecker: https://github.com/Ericsson/codechecker SingleFileZ: https://github.com/gildas-lormeau/SingleFileZ china-dictatorship: https://github.com/cirosantilli/china-dictatorship vscode-docker: https://github.com/microsoft/vscode-docker flask-bones: https://github.com/cburmeister/flask-bones ProjectFib: https://github.com/anantdgoel/ProjectFib S3Mock: https://github.com/adobe/S3Mock home: https://github.com/gege-circle/home docker-php: https://github.com/chialab/docker-php dockbix-xxl: https://github.com/monitoringartist/dockbix-xxl wind-layer: https://github.com/sakitam-fdd/wind-layer powerstrip: https://github.com/ClusterHQ/powerstrip selenium-jupiter: https://github.com/bonigarcia/selenium-jupiter gnome-shell-extension-docker: https://github.com/gpouilloux/gnome-shell-extension-docker hacktoberfest-2022: https://github.com/docker/hacktoberfest-2022 azure-docker-extension: https://github.com/Azure/azure-docker-extension pgrocks-fdw: https://github.com/vidardb/pgrocks-fdw docker-php-yii2: https://github.com/dmstr/docker-php-yii2 docker-community-extensions: https://github.com/collabnix/docker-community-extensions alpine-php-fpm: https://github.com/joseluisq/alpine-php-fpm autoview-tradingview-chrome-docker-bot: https://github.com/IAMtheIAM/autoview-tradingview-chrome-docker-bot .config: https://github.com/zszszszsz/.config docker-phpfpm: https://github.com/adhocore/docker-phpfpm coc-docker: https://github.com/josa42/coc-docker china-dictatorhsip-6: https://github.com/cirosantilli/china-dictatorhsip-6 testcontainers-spock: https://github.com/testcontainers/testcontainers-spock Dockery: https://github.com/oslabs-beta/Dockery docker-extension: https://github.com/tailscale/docker-extension volumes-backup-extension: https://github.com/docker/volumes-backup-extension ajeetraina@Docker-Ajeet-Singh-Rainas-MacBook-Pro chatgpt % vi new.py ajeetraina@Docker-Ajeet-Singh-Rainas-MacBook-Pro chatgpt % python3 new.py .config: https://github.com/zszszszsz/.config Dockery: https://github.com/oslabs-beta/Dockery docker-extension: https://github.com/tailscale/docker-extension ransomware: https://github.com/abhir98/ransomware jfrog-docker-desktop-extension: https://github.com/jfrog/jfrog-docker-desktop-extension dd-extension-lgtm: https://github.com/cedricziel/dd-extension-lgtm openshift-dd-ext: https://github.com/redhat-developer/openshift-dd-ext k9s-dd-extension: https://github.com/spurin/k9s-dd-extension pgadmin4-docker-extension: https://github.com/marcelo-ochoa/pgadmin4-docker-extension trivy-docker-extension: https://github.com/aquasecurity/trivy-docker-extension drone-ci-docker-extension: https://github.com/harness/drone-ci-docker-extension docker-extension: https://github.com/loopDelicious/docker-extension swagger-editor-docker-extension: https://github.com/n-murphy/swagger-editor-docker-extension wasm-docker-extension: https://github.com/cmrigney/wasm-docker-extension microcks-docker-desktop-extension: https://github.com/microcks/microcks-docker-desktop-extension docker-extension-golang-playground: https://github.com/rumpl/docker-extension-golang-playground diveintoansible-extension: https://github.com/spurin/diveintoansible-extension docker-desktop-extension: https://github.com/okteto/docker-desktop-extension docker-extension-rabbitmq: https://github.com/Yogendra0Sharma/docker-extension-rabbitmq docker-storj-extension: https://github.com/elek/docker-storj-extension github-registry-docker-desktop-extension: https://github.com/peacecwz/github-registry-docker-desktop-extension docker-desktop-extension-issues: https://github.com/mutagen-io/docker-desktop-extension-issues sdw-docker-extension: https://github.com/marcelo-ochoa/sdw-docker-extension vcluster-dd-extension: https://github.com/loft-sh/vcluster-dd-extension extension-docker-desktop: https://github.com/epinio/extension-docker-desktop asyncapi-studio-docker-extension: https://github.com/thiyagu06/asyncapi-studio-docker-extension gefyra-docker-desktop-extension: https://github.com/gefyrahq/gefyra-docker-desktop-extension oraclexe-docker-extension: https://github.com/marcelo-ochoa/oraclexe-docker-extension docker-extensions-101: https://github.com/collabnix/docker-extensions-101 step-ca-docker-extension: https://github.com/hslatman/step-ca-docker-extension
  • PHP image can't install gRPC extension
    3 projects | /r/docker | 25 Jan 2023
    dockerfile using this script https://github.com/mlocati/docker-php-extension-installer
  • Answer: I am not able to install mbstring using docker file
    1 project | dev.to | 31 Mar 2022
    FROM php:8-fpm # Copy composer.lock and composer.json COPY composer.lock composer.json /var/www/ # Set working directory WORKDIR /var/www ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ RUN chmod +x /usr/local/bin/install-php-extensions && sync && \ install-php-extensions mbstring pdo_mysql zip exif pcntl gd #previous code # Install dependencies RUN apt-get update && apt-get install -y \ build-essential \
  • How do you install additional PHP extensions?
    3 projects | /r/PHP | 3 Jan 2022
    And https://github.com/mlocati/docker-php-extension-installer for every not supported extension
  • Debug Docker PHP Project on PHPStorm using Xdebug
    1 project | dev.to | 4 Dec 2021
  • Need help installing php APCU in a php-fpm:7.4 Debian based container
    1 project | /r/PHPhelp | 5 Oct 2021
    This helped me deal w/ installing missing extensions.
  • How to Enable PHP extensions via Dockerfile?
    1 project | /r/docker | 4 Oct 2021
    Take a look at Easy installation of PHP extensions in official PHP Docker images, since i stumble on it i didn't need nothing else for the job.
  • What should do about this warning: symfony 5.2 please install the intl php extension for best performance?
    2 projects | /r/symfony | 3 May 2021
    If you use Docker there's this great tool: https://github.com/mlocati/docker-php-extension-installer

What are some alternatives?

When comparing php-memcached and docker-php-extension-installer you can also consider the following projects:

lando - A development tool for all your projects that is fast, easy, powerful and liberating

Laradock - Full PHP development environment for Docker.

Laravel Homestead

takeout - Docker-based development-only dependency manager. macOS, Linux, and WSL2-only and installs via PHP's Composer... for now.

Vessel - Up and running with small Docker environments

Docker-Stack - This repo contains a simple Docker setup with minimal configuration and only few files you can drop into many PHP-based projects.

install - 📥 Homebrew (un)installer

codechecker - CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy

homebrew-extensions - :beers: Homebrew tap for PHP extensions

laravel-docker-app - A complete Laravel, PHP Docker based development environment with individual Nginx, Web app, Queue, Scheduler, Redis containers.

S3Mock - A simple mock implementation of the AWS S3 API startable as Docker image, TestContainer, JUnit 4 rule, JUnit Jupiter extension or TestNG listener