Git Product home page Git Product logo

ansible-apache-php's Introduction

Apache PHP (apache-php)

Part of the BAS Ansible Role Collection (BARC)

Installs the PHP module for Apache

Overview

  • Installs PHP Apache module
  • Explicitly enables the mcrypt module (others are auto-enabled) for the Apache SAPI
  • Configures the php.ini file for the Apache SAPI.

Availability

This role is designed for internal use but if useful can be shared publicly.

Usage

Requirements

BAS Ansible Role Collection (BARC)

  • apache
  • php

Variables

PHP SAPI configuration (CLI, Apache, etc. .ini configuration)

Overview

This role essentially adds an additional SAPI.

See this section in the php role for an overview of how PHP SAPI .ini files are managed.

All interfaces

See this section in the php role for details of what these do.

Apache SAPI apache2/php.ini

See here for documentation.

  • php_apache_ini_default_options
    • Default values for the Apache PHP SAPI.
    • Do NOT override this variable, use php_apache_ini_user_options instead.
    • Structured as an array of items where each item consists of a section name string and array of options and values
      • section
        • Name of section in INI file (e.g. "Error handling and logging")
      • options [array]
        • option
          • Name of option in INI file (e.g. "display_errors")
        • value
          • Value for option in INI file (e.g. "On")
    • Default: (see variable)
  • php_cli_apache_user_options
    • Use to change values set in php_cli_apache_default_options or where you want to change an option for the PHP Apache interface.
    • Structured as an array of items where each item consists of a section name string and array of options and values
      • section
        • Name of section in INI file (e.g. "Error handling and logging")
      • options [array]
        • option
          • Name of option in INI file (e.g. "display_errors")
        • value
          • Value for option in INI file (e.g. "On")
    • Default: "[] (empty array)"

Contributing

This project welcomes contributions, see CONTRIBUTING for our general policy.

Developing

Committing changes

The Git flow workflow is used to manage development of this package.

Discrete changes should be made within feature branches, created from and merged back into develop (where small one-line changes may be made directly).

When ready to release a set of features/changes create a release branch from develop, update documentation as required and merge into master with a tagged, semantic version (e.g. v1.2.3).

After releases the master branch should be merged with develop to restart the process. High impact bugs can be addressed in hotfix branches, created from and merged into master directly (and then into develop).

Issue tracking

Issues, bugs, improvements, questions, suggestions and other tasks related to this package are managed through the BAS Web & Applications Team Jira project (BASWEB).

License

Copyright 2015 NERC BAS. Licensed under the MIT license, see LICENSE for details.

ansible-apache-php's People

Contributors

felnne 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.