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

Recommend this page to a friend!
  Classes of Omar Shaban  >  PHP Game of Three  >  ansible/roles/php/tasks/php-cli.yml  >  Download  
File: ansible/roles/php/tasks/php-cli.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 months ago
Size: 349 bytes
 

Contents

Class file image Download
---
- name: ensure timezone is set in cli php.ini
  lineinfile: dest=/etc/php5/cli/php.ini
              regexp='date.timezone ='
              line='date.timezone = {{ server.timezone }}'

- name: enabling opcache cli
  lineinfile: dest=/etc/php5/cli/php.ini
              regexp=';?opcache.enable_cli=\d'
              line='opcache.enable_cli=1'
For more information send a message to info at phpclasses dot org.