Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@salt-lick
Created September 16, 2015 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salt-lick/2894a54d12c4a3bd7fac to your computer and use it in GitHub Desktop.
Save salt-lick/2894a54d12c4a3bd7fac to your computer and use it in GitHub Desktop.
include:
- remi
php_stack:
pkg.installed:
- name: php5-fpm --enablerepo=remi
service.running:
- name: php5-fpm
- watch:
- file: /etc/php5/fpm/php-fpm.conf
- file: /etc/php5/fpm/pool.d/www.conf
- file: /etc/php5/fpm/conf.d/apc.ini
- file: /etc/php5/fpm/conf.d/suhosin.ini
- file: /etc/php5/fpm/php.ini
php_gd:
pkg.installed:
- name: php5-gd --enablerepo=remi
php:
pkg.installed:
- name: php --enablerepo=remi
php-dev:
pkg.installed:
- name: php-dev --enablerepo=remi
php-mbstring:
pkg.installed:
- name: php-mbstring --enablerepo=remi
php-mcrypt:
pkg.installed:
- name: php-mcrypt --enablerepo=remi
php-soap:
pkg.installed:
- name: php-soap --enablerepo=remi
php-intl:
pkg.installed:
- name: php-intl --enablerepo=remi
php-pecl-zendopcache:
pkg.installed:
- name: php-pecl-zendopcache --enablerepo=remi
php-redis:
pkg.installed:
- name: php-redis --enablerepo=remi
php-mysql:
pkg.installed:
- name: php-mysql --enablerepo=remi
php-gd:
pkg.installed:
- name: php-gd --enablerepo=remi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment