PHP Classes

File: ansible/roles/php/tasks/php-fpm.yml

Recommend this page to a friend!
  Classes of Omar Shaban   PHP Game of Three   ansible/roles/php/tasks/php-fpm.yml   Download  
File: ansible/roles/php/tasks/php-fpm.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Game of Three
Game of Three implementation using Websockets
Author: By
Last change:
Date: 3 years ago
Size: 848 bytes
 

Contents

Class file image Download
--- - name: Set permissions on socket - owner lineinfile: "dest=/etc/php5/fpm/pool.d/www.conf state=present regexp='^;?listen.owner' line='listen.owner = www-data'" - name: Set permissions on socket - group lineinfile: "dest=/etc/php5/fpm/pool.d/www.conf state=present regexp='^;?listen.group' line='listen.group = www-data'" - name: Set permissions on socket - mode lineinfile: "dest=/etc/php5/fpm/pool.d/www.conf state=present regexp='^;?listen.mode' line='listen.mode = 0660'" notify: restart php5-fpm - name: ensure timezone is set in fpm php.ini lineinfile: dest=/etc/php5/fpm/php.ini regexp='date.timezone =' line='date.timezone = {{ server.timezone }}' - name: enabling opcache lineinfile: dest=/etc/php5/fpm/php.ini regexp=';?opcache.enable=\d' line='opcache.enable=1'