ansible-roles/lxc-php
Mathieu Trossevin 5e13f8da4e lxc-php: Make mysql socket binding work on fresh install
/var/run/mysqld only exist after mysql is installed, as such the role
lxc-php need to run after the role mysql.

Also only cause a restart of the containers when their configuration has
been changed.

For now socket binding might only work for mysql and not mysql-oracle
(it's default socket seems to be /tmp/mysql.sock).
2020-06-17 16:06:54 +02:00
..
defaults lxc-php: Have mysqld.sock inside of a directory 2020-06-17 16:06:54 +02:00
handlers lxc-php: fix php56-fpm handler name 2020-04-01 17:17:00 +02:00
meta lxc-php & webapps/evoadmin-web: Commit missing fixes 2020-04-01 17:17:00 +02:00
tasks lxc-php: Make mysql socket binding work on fresh install 2020-06-17 16:06:54 +02: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

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"