• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

How to install ZeroMQ for PHP on an Alpine Linux container?

phpdockerzeromqalpineratchet


PHP Snippet 1:

FROM php:8.0-fpm-alpine
ENV COMPOSER_ALLOW_SUPERUSER 1
RUN set -eux && \
  apk add --update-cache --no-cache libzmq zeromq-dev zeromq && \
  apk add --update-cache --no-cache --virtual=.build-php-dependencies \
  autoconf gcc coreutils build-base git && \
  git clone https://github.com/mkoppanen/php-zmq.git && \
  cd php-zmq && \
  phpize && \
  ./configure && \
  make && \
  make install && \
  docker-php-ext-enable zmq && \
  apk del .build-php-dependencies

Related Snippets

Laravel: Why is my variable not being set while it's in the construct function of the controller?

Ajax GET request fails in laravel 8

Split comma separated value from table column into rows using mysql?

Laravel Schedule not sending email

Laravel 5.1 how to use {{ old('') }} helper on blade file for radio inputs

How to solve cURL error 60: SSL certificate in Laravel 5 while Facebook authentication

Error converting docx to pdf using Unoconv

Symfony process run throws exception - executing on command line works

PHP DOTENV unable to load env vars

Getting public posts of a random user from Facebook API

image source not readable

Call to a member function fetch_field() on a non-object MySQLiDB

php code to send checkbox form results to email

Don't show recurring price for WooCommerce subscriptions worth 0$

Display Link Title Instead of URL in XSL

About Contact Privacy policy Terms and conditions