Skip to content

yahoojapan/k2hdkc_phpext

Repository files navigation

k2hdkc php extension

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

  • K2HDKC PHP Extension library
    K2HDKC is NoSQL Key Value Store(KVS) library by Yahoo! JAPAN.

Overview

K2HDKC is a free and open-source distributed KVS(Key Value Store) clustering system created in Yahoo! JAPAN. This PHP Extension library is for using K2HDKC from PHP.

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

k2HASH PHP Extension

Usage

K2HDKC PHP Extension library is provided as RPM and Debian package.
Before installing this package, you need the K2HDKC package(RPM or Debian).
First of all, please install the k2hdkc developer package as described here.
Next, install the K2HDKC 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 k2hdkc php-pecl-k2hdkc
  • 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-k2hdkc

Documents

Packages

License

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

AntPickax

K2HDKC PHP Extension is one of AntPickax products.

Copyright(C) 2023 Yahoo Japan Corporation.