Skip to content

yahoojapan/chmpx_phpext

Repository files navigation

chmpx php extension

PHP AntPickax CI GitHub license GitHub forks GitHub stars GitHub issues debian packages RPM packages

Overview

CHMPX (Consistent Hashing Mq inProcess data eXchange) is communication middleware over the network for sending binary data. This PHP Extension library is for using CHMPX from PHP.

By CHMPX PHP Extension library, you can easily incorporate the functions and features of CHMPX into PHP based programs.
For the features and functions of CHMPX, see the chmpx documentation.

CHMPX PHP Extension

Usage

CHMPX PHP Extension library is provided as RPM and Debian package.
Before installing this package, you need the CHMPX package(RPM or Debian).
First of all, please install the chmpx developer package as described here.
Next, install the CHMPX PHP Extension library using the package manager command.

  • Debian based Linux users can install it by following the steps below:
$ sudo apt-get update -y

$ sudo apt-get install curl -y
$ curl -s https://packagecloud.io/install/repositories/antpickax/stable/script.deb.sh | sudo bash

$ sudo apt-get install -y php8.3 libapache2-mod-php8.3
$ sudo update-alternatives --set php-config /usr/bin/php-config8.3
$ sudo update-alternatives --set php /usr/bin/php8.3
$ sudo apt-get install -y chmpx php-pecl-chmpx
  • Fedora derived RPM based Linux(Fedora, CentOS, CentOS Stream, RHEL, etc.) users can install it by following the steps below:
$ sudo dnf update -y

$ curl -s https://packagecloud.io/install/repositories/antpickax/stable/script.rpm.sh | sudo bash

$ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
$ sudo dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
$ sudo dnf module reset php
$ sudo dnf module install php:remi-8.3
$ sudo dnf install -y php-pecl-chmpx

Documents

Packages

License

This software is released under the MIT License, see the license file.

AntPickax

CHMPX PHP Extension is one of AntPickax products.

Copyright(C) 2022 Yahoo Japan corporation.