ansible-roles/lxc-php
Ludovic Poujol e6f2bbb331 lxc-php: An almost complete rewrite ** BREAKING **
This is a breaking change as lxc-php should now be called for *each* php 
containers we want, with the correct lxc_php_version variable.

Current valid values are : 
- php56
- php70
- php73

Other changes includes : 
- LXC Containers are created by calling lxc as a dependency of the role.
- Relying on lxc_container module to do commands into the container 
(instead of the command module)
- PHP 7.3 container is now a Debian Buster container
- All containers will have opensmtpd to relay emails to postfix on the 
host system.
2020-04-01 17:17:00 +02:00
..
defaults lxc-php: An almost complete rewrite ** BREAKING ** 2020-04-01 17:17:00 +02:00
handlers lxc-php: An almost complete rewrite ** BREAKING ** 2020-04-01 17:17:00 +02:00
meta lxc-php: An almost complete rewrite ** BREAKING ** 2020-04-01 17:17:00 +02:00
tasks lxc-php: An almost complete rewrite ** BREAKING ** 2020-04-01 17:17:00 +02:00
templates lxc-php: An almost complete rewrite ** BREAKING ** 2020-04-01 17:17:00 +02:00
README.md Add lxc-php README file 2019-06-18 18:19:45 +02:00

lxc-php

Create LXC containers and install all the required PHP packages as a way to use multiple PHP version on Debian.

note : this role depend on the lxc role.

Tasks

Everything is in the tasks/main.yml file.

Available variables

As this role depend on the lxc role, please refer to it for a variable exhaustive list.

Here is the list of available variables for the PHP part:

  • php_conf_short_open_tag Default: "Off"
  • php_conf_expose_php Default: "Off"
  • php_conf_display_errors Default: "Off"
  • php_conf_log_errors Default: "On"
  • php_conf_html_errors Default: "Off"
  • php_conf_allow_url_fopen Default: "Off"
  • php_conf_disable_functions Default: "exec,shell-exec,system,passthru,putenv,popen"