juwai.php-zerorpc

Ansible Role: php-zerorpc

This role installs the PHP extensions needed for php-zerorpc on CentOS servers:

  • msgpack
  • zmq

Requirements

This role is written for Ansible version 2.3 or later.

Ensure that the PHP PECL command is installed.

Role Variables

Here are the variables you can set, along with their default values (find them in defaults/main.yml):

msgpack_source_version

The version of the msgpack PHP extension to install from the source.

Default: msgpack-2.0.2.

pecl_msgpack_version

Version of the MessagePack PHP extension.

Default: 0.5.7.

pecl_zmq_version

Version of the ZeroMQ PHP extension.

Default: 1.1.2.

php_extensions_config_path

Location of the folder that contains PHP extension configuration files.

Default: /etc/php.d.

php_fpm_daemon

The name of the php-fpm daemon.

Default: php-fpm.

php_opcache_config_filename

Name of the configuration file for the PHP opcache extension.

Default: 10-opcache.ini.

php_zerorpc_segfault_fix

Set this to true to prevent segfaults in PHP7 with opcache.

Default: false.

zmq_source_version

The version of the zmq PHP extension to install from the source.

Default: f2617063a4c007ca6073c0d09e9f36fd9b87ddaf.

Dependencies

Requires: juwai.libzmq

Example Playbook

- hosts: servers
  roles:
     - role: juwai.php-zerorpc

License

MIT / BSD

Author Information

This role was created in 2016 by Juwai Limited.

Informazioni sul progetto

Install zerorpc dependency packages for php

Installa
ansible-galaxy install juwai.php-zerorpc
Licenza
Unknown
Download
1.6k
Proprietario
Where Chinese find international property