ansible-roles/lxc-php
Mathieu Trossevin 2e29dc2440
continuous-integration/drone/pr Build is failing Details
lxc-php: Do not bind the mysql socket by default
The lxc-php role can be run on a server without mysql. Attempting to
bindmount the mysql socket in such a case cause the lxc container to
fail to start.

This commit add a variable, lxc_php_create_mysql_link defaulting to
false telling ansible if it should bindmount the MySQL socket to the
container.
2021-01-11 15:20:25 +01:00
..
defaults lxc-php: Do not bind the mysql socket by default 2021-01-11 15:20:25 +01:00
handlers Make container restart an handler 2020-10-19 14:16:53 +02:00
meta lxc-php & webapps/evoadmin-web: Commit missing fixes 2020-04-01 17:17:00 +02:00
tasks lxc-php: Do not bind the mysql socket by default 2021-01-11 15:20:25 +01:00
templates lxc-php: Have mysqld.sock inside of a directory 2020-06-17 16:06:54 +02:00
README.md Add lxc-php README file 2019-06-18 18:19:45 +02:00

README.md

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"