Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waldz/ansible-role.php_fpm
https://github.com/waldz/ansible-role.php_fpm
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/waldz/ansible-role.php_fpm
- Owner: Waldz
- Created: 2015-03-29T10:22:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-26T10:28:05.000Z (over 8 years ago)
- Last Synced: 2023-09-14T16:59:17.831Z (over 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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-mcryptphp_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"
```