{"repo":"geerlingguy/ansible-role-php","free":true,"listed":false,"github":"https://github.com/geerlingguy/ansible-role-php","clone":"git clone https://github.com/geerlingguy/ansible-role-php.git","description":"Ansible Role - PHP","language":"Jinja","stars":513,"topics":["ansible","role","php","php-fpm","playbook","lamp","lemp"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Ansible Role: PHP Installs PHP on RedHat/CentOS and Debian/Ubuntu servers. Requirements If you're using an older LTS release of Ubuntu or RHEL, with an old/outdated version of PHP, you need to use a repo or PPA with a maintained PHP version, as this role only works with PHP versions that are currently supported by the PHP community. Role Variables Available variables are listed below, along with default values (see defaults/main.yml ): php packages: [] A list of the PHP packages to install (OS-specific by default). You'll likely want to install common packages like php , php-cli , php-devel and php-pdo , and you can add in whatever other packages you'd like (for example, php-gd for image manipulation, or php-ldap if you need to connect to an LDAP server for authentication). Note: If you're using Debian/Ubuntu, you also need to install libapache2-mod-fastcgi (for cgi/PHP-FPM) or libapache2-mod-php7.0 (or a similar package depending on PHP version) if you want to use mod php with Apache. php packages extra: [] A list of extra PHP packages to install without overriding the default list. php enable webserver: true If your usage of PHP is tied to a web server (e.g. Apache or Nginx), leave this default value. If you are using PHP server-side or to run some small application, set this value to false so this role doesn't attempt to interact with a web server. php webserver daemon: \"httpd\" The default values for the HTTP server deamon are httpd (used by Apache) for RedHat/CentOS, or a","default_branch":null,"files":null,"tree":[],"storefront":"/r/geerlingguy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/geerlingguy/ansible-role-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}