|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 |
- ===
- php
- ===
-
- Formulas to set up and configure php and various php libraries.
-
- .. note::
-
- See the full `Salt Formulas installation and usage instructions
- <http://docs.saltstack.com/topics/conventions/formulas.html>`_.
-
- Available states
- ================
-
- .. contents::
- :local:
-
- ``php``
- -------
-
- Installs the php package.
-
- ``php.apc``
- -----------
-
- Installs the php-apc package.
-
- ``php.adodb``
- -------------
-
- Installs the php-adodb package.
-
- ``php.cgi``
- -----------
-
- Installs the php-cgi package.
-
- ``php.cli``
- -----------
-
- Installs the php-cli package.
-
- ``php.curl``
- ------------
-
- 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.
-
- ``php.fpm``
- -----------
-
- Installs the php-fpm package, starts the service, and enables it.
-
- ``php.gd``
- ----------
-
- Installs the php-gd package.
-
-
- ``php.imagick``
- ---------------
-
- Installs the php-imagick package.
-
- ``php.imap``
- ------------
-
- Installs the php-imap package.
-
- ``php.json``
- ------------
-
- Installs the php-json package.
-
- ``php.ldap``
- ------------
-
- Installs the php-ldap package.
-
- ``php.mbstring``
- ----------------
-
- Installs the php-mbstring package.
-
- ``php.mcrypt``
- --------------
-
- Installs the php-mcrypt package.
-
-
- ``php.memcache``
- ----------------
-
- Installs the php-memcache package.
-
- ``php.memcached``
- -----------------
-
- Installs the php-memcached package.
-
- ``php.mysql``
- -------------
-
- Installs the php-mysql package.
-
- ``php.mysqlnd``
- ---------------
-
- Installs the php-mysqlnd package.
-
- ``php.pear``
- ------------
-
- Installs the php-pear package.
-
- ``php.pgsql``
- -------------
-
- Installs the php-pgsql package.
-
- ``php.soap``
- ------------
-
- Installs the php-soap package.
-
- ``php.suhosin``
- ---------------
-
- Installs the php-suhosin package.
-
- ``php.xml``
- -----------
-
- 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.
-
- .. contents::
- :local:
-
- ``php.ng``
- ----------
-
- Installs the php package.
-
- ``php.ng.adodb``
- ----------------
-
- Installs the php-adodb package.
-
- ``php.ng.apc``
- --------------
-
- Installs the php-apc package.
-
- ``php.ng.cgi``
- --------------
-
- Installs the php-cgi package.
-
- ``php.ng.cli``
- --------------
-
- Meta-state that combines `php.ng.cli.install`_ and `php.ng.cli.ini`_.
-
- ``php.ng.cli.install``
- ----------------------
-
- Installs the php-cli package.
-
- ``php.ng.cli.ini``
- ------------------
-
- Manages the php-cli ini file.
-
- ``php.ng.curl``
- ---------------
-
- 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.
-
- ``php.ng.fpm``
- --------------
-
- Meta-state that combines all php.ng.fpm states.
-
- ``php.ng.fpm.config``
- ---------------------
-
- Manages the (non-pool) php-fpm config files.
-
-
- ``php.ng.fpm.install``
- ----------------------
-
- Installs the php-fpm package.
-
-
- ``php.ng.fpm.pools``
- --------------------
-
- Meta-state that combines `php.ng.fpm.service`_ and `php.ng.fpm.pools_config`_
-
-
- ``php.ng.fpm.pools_config``
- ---------------------------
-
- Manages php-fpm pool config files.
-
-
- ``php.ng.fpm.service``
- ----------------------
-
- Manages the php-fpm service.
-
- ``php.ng.gd``
- -------------
-
- Installs the php-gd package.
-
-
- ``php.ng.imagick``
- ------------------
-
- Installs the php-imagick package.
-
- ``php.ng.imap``
- ---------------
-
- Installs the php-imap package.
-
- ``php.ng.json``
- ---------------
-
- Installs the php-json package.
-
- ``php.ng.ldap``
- ---------------
-
- Installs the php-ldap package.
-
- ``php.ng.mbstring``
- -------------------
-
- Installs the php-mbstring package.
-
- ``php.ng.mcrypt``
- -----------------
-
- Installs the php-mcrypt package.
-
-
- ``php.ng.memcache``
- -------------------
-
- Installs the php-memcache package.
-
- ``php.ng.memcached``
- --------------------
-
- Installs the php-memcached package.
-
- ``php.ng.mysql``
- ----------------
-
- Installs the php-mysql package.
-
- ``php.ng.mysqlnd``
- ------------------
-
- Installs the php-mysqlnd package.
-
- ``php.ng.pear``
- ---------------
-
- Installs the php-pear package.
-
- ``php.ng.pgsql``
- ----------------
-
- Installs the php-pgsql package.
-
- ``php.ng.soap``
- ---------------
-
- Installs the php-soap package.
-
- ``php.ng.suhosin``
- ------------------
-
- Installs the php-suhosin package.
-
- ``php.ng.xml``
- --------------
-
- Installs the php-xml package.
|