Skip to content

yahoojapan/k2hash_phpext

Repository files navigation

k2hash php extension

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

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

Overview

K2HASH is NoSQL(key value store) library and tools for this library by Yahoo! JAPAN.
This PHP Extension library is for using K2HASH from PHP.

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

k2HASH PHP Extension

Usage

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

Documents

Packages

License

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

AntPickax

K2HASH PHP Extension is one of AntPickax products.

Copyright(C) 2022 Yahoo Japan Corporation.