GithubHelp home page GithubHelp logo

schoeppe / ansible-role-php-pecl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from geerlingguy/ansible-role-php-pecl

0.0 1.0 0.0 49 KB

Ansible Role - PHP PECL extension

Home Page: https://galaxy.ansible.com/geerlingguy/php-pecl/

License: MIT License

PHP 35.89% Python 57.75% Jinja 6.35%

ansible-role-php-pecl's Introduction

Ansible Role: PHP PECL extensions

CI

Installs PHP PECL extensions (and optionally pecl itself) on servers with PHP already installed.

Requirements

PHP must already be installed on the server. This role works great with and is tested alongside geerlingguy.php.

Also, if you don't already have php-pear (RedHat) or php-pecl (Debian) installed, you should set php_pecl_install_pecl: true to force this role to install the proper package.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

php_pecl_install_pecl: false

Whether to install php-pecl (Debian-based OSes) or php-pear (RedHat-based OSes).

php_pecl_install_command: "pecl install"

The command that will be run to install extensions. The default is generally correct, but if you're running Ubuntu 14.04 LTS and run into this issue, you should override this default with "pecl install -Z"

php_pecl_extensions: []

A list of extensions that should be installed via pecl install. If you'd like to have this role install extensions like XDebug, just add it in the list, like so:

php_pecl_extensions:
  - redis
  - xdebug

Dependencies

  • geerlingguy.php

Example Playbook

- hosts: webservers
  vars_files:
    - vars/main.yml
  roles:
    - geerlingguy.php-pecl

Inside vars/main.yml:

php_pecl_extensions:
  - redis
  - xdebug

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.

ansible-role-php-pecl's People

Contributors

geerlingguy avatar mrwhelan avatar schoeppe avatar thepixeldeveloper avatar upbeta01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.