AerisCloud.php
PHP
This role takes care of installing php on a web server to be able to run php application.
Configuration
Inventory
[web:children]
web-somedc-prod
[web-somedc-prod]
web1.somedc.prod ansible_ssh_host=10.0.1.111
[web-somedc-prod:vars]
# Unix user/group of php-fpm processes
php_fpm_user = apache
php_fpm_group = apache
# What PHP version to use. Available: 5.4, 5.5 and 5.6. Default: 5.6.
php_version = 5.4
# What folder to use to store sessions. Default: /tmp
php_sessions_dir = /tmp
Note: If you want to change the PHP version on an already provisioned server, you must first uninstall manually the previous version.
Also available is the php_custom_extensions variable, it is an array of extensions
and as such should be set in a ansible vars file as yaml. eg:
php_custom_extensions:
- mcrypt
- opcache
See also
Install
ansible-galaxy install AerisCloud.phpLicense
mit
Downloads
220
Owner
Integrated local development and production management
