Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/waldz/ansible-role.php_fpm


https://github.com/waldz/ansible-role.php_fpm

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# ansible-role.php_fpm

Install
========
```
git submodule add [email protected]:Waldz/ansible-role.php_fpm.git roles/php_fpm
```

Example
========
```
- name: Install PHP to all servers
hosts: all
sudo: true
vars_files:
- vars/defaults/php.yml
roles:
#- role: nginx
- role: php_fpm
tags: [php]
```

Variables
========
vars/defaults/php.yml
```
---
php_extensions:
- php5-mysql
- php5-mcrypt

php_config:
- option: display_errors
value: Off
- option: error_reporting
value: "E_ALL & ~E_DEPRECATED & ~E_STRICT"
- option: error_log
value: "{{ php_path_log }}/php-errors.log"
- option: short_open_tag
value: "On"
```