pgtrex / php-formula

Install php

Home Page:http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php

Formulas to set up and configure php and various php libraries.

Available states

Installs the php package.

Installs the php-apc package.

Installs the php-adodb package.

Installs the php-cgi package.

Installs the php-cli package.

Installs the php5-curl package on Debian, and ensures that curl itself is installed for RedHat systems, this is due to the curl libs being provided by php-common, which will get installed with the main php package.

Installs the php-fpm package, starts the service, and enables it.

Installs the php-gd package.

Installs the php-imagick package.

Installs the php-imap package.

Installs the php-json package.

Installs the php-ldap package.

Installs the php-mbstring package.

Installs the php-mcrypt package.

Installs the php-memcache package.

Installs the php-memcached package.

Installs the php-mysql package.

Installs the php-mysqlnd package.

Installs the php-pear package.

Installs the php-pgsql package.

Installs the php-soap package.

Installs the php-suhosin package.

Installs the php-xml package.

Next-generation, alternate approach

The following states provide an alternate approach to managing PHP and FPM pools, as well as code organization. Please provide feedback by filing issues, discussing in #salt in Freenode and the mailing list as normal.

Note: php.ng states require the merge parameter of salt.modules.pillar.get(), first available in the Helium release.

Installs the php package.

Installs the php-adodb package.

Installs the php-apc package.

Installs the php-cgi package.

Meta-state that combines php.ng.cli.install and php.ng.cli.ini.

Installs the php-cli package.

Manages the php-cli ini file.

Installs the php5-curl package on Debian, and ensures that curl itself is installed for RedHat systems, this is due to the curl libs being provided by php-common, which will get installed with the main php package.

Meta-state that combines all php.ng.fpm states.

Manages the (non-pool) php-fpm config files.

Installs the php-fpm package.

Meta-state that combines php.ng.fpm.service and php.ng.fpm.pools_config

Manages php-fpm pool config files.

Manages the php-fpm service.

Installs the php-gd package.

Installs the php-imagick package.

Installs the php-imap package.

Installs the php-json package.

Installs the php-ldap package.

Installs the php-mbstring package.

Installs the php-mcrypt package.

Installs the php-memcache package.

Installs the php-memcached package.

Installs the php-mysql package.

Installs the php-mysqlnd package.

Installs the php-pear package.

Installs the php-pgsql package.

Installs the php-soap package.

Installs the php-suhosin package.

Installs the php-xml package.