This repository is used to build the extension for queue-interop, so that it can be loaded as a module on your web server.
The extension has been written with Zephir.
- PHP must be installed already in your system
- Download the latest Zephir.phar from this page.
- Clone this repository
- Build the extension
$ php -v
PHP 7.2.17-0ubuntu0.18.04.1 (cli) (built: Apr 18 2019 14:12:38) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.17-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
$ wget --no-clobber -O ./zephir https://github.com/phalcon/zephir/releases/download/0.11.12/zephir.phar
$ chmod x ./zephir
$ git clone https://github.com/queue-interop/ext
$ cd ext/
$ ../zephir fullclean
$ ../zephir build
You will need to add extension=queue.so
in your php.ini
and restart your webserver.
The recommended installation method is using Zephir, but you can install the extension directly from the ext/
folder. You will need the php development sources to be installed in your system as well as make tools (automake
, make
etc.) and re2c
.
$ git clone https://github.com/queue-interop/ext
$ cd ext/ext/
$ ./install