Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.rst 4.6KB

11 anni fa
10 anni fa
10 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. ===
  2. php
  3. ===
  4. Formulas to set up and configure php and various php libraries.
  5. .. note::
  6. See the full `Salt Formulas installation and usage instructions
  7. <http://docs.saltstack.com/topics/conventions/formulas.html>`_.
  8. Available states
  9. ================
  10. .. contents::
  11. :local:
  12. ``php``
  13. -------
  14. Installs the php package.
  15. ``php.apc``
  16. -----------
  17. Installs the php-apc package.
  18. ``php.adodb``
  19. -------------
  20. Installs the php-adodb package.
  21. ``php.cgi``
  22. -----------
  23. Installs the php-cgi package.
  24. ``php.cli``
  25. -----------
  26. Installs the php-cli package.
  27. ``php.curl``
  28. ------------
  29. Installs the php5-curl package on Debian, and ensures that curl itself is
  30. installed for RedHat systems, this is due to the curl libs being provided by
  31. php-common, which will get installed with the main php package.
  32. ``php.fpm``
  33. -----------
  34. Installs the php-fpm package, starts the service, and enables it.
  35. ``php.gd``
  36. ----------
  37. Installs the php-gd package.
  38. ``php.imagick``
  39. ---------------
  40. Installs the php-imagick package.
  41. ``php.imap``
  42. ------------
  43. Installs the php-imap package.
  44. ``php.json``
  45. ------------
  46. Installs the php-json package.
  47. ``php.ldap``
  48. ------------
  49. Installs the php-ldap package.
  50. ``php.mbstring``
  51. ----------------
  52. Installs the php-mbstring package.
  53. ``php.mcrypt``
  54. --------------
  55. Installs the php-mcrypt package.
  56. ``php.memcache``
  57. ----------------
  58. Installs the php-memcache package.
  59. ``php.memcached``
  60. -----------------
  61. Installs the php-memcached package.
  62. ``php.mysql``
  63. -------------
  64. Installs the php-mysql package.
  65. ``php.mysqlnd``
  66. ---------------
  67. Installs the php-mysqlnd package.
  68. ``php.pear``
  69. ------------
  70. Installs the php-pear package.
  71. ``php.pgsql``
  72. -------------
  73. Installs the php-pgsql package.
  74. ``php.soap``
  75. ------------
  76. Installs the php-soap package.
  77. ``php.suhosin``
  78. ---------------
  79. Installs the php-suhosin package.
  80. ``php.xml``
  81. -----------
  82. Installs the php-xml package.
  83. Next-generation, alternate approach
  84. ===================================
  85. The following states provide an alternate approach to managing PHP and FPM
  86. pools, as well as code organization. Please provide feedback by filing issues,
  87. discussing in ``#salt`` in Freenode and the mailing list as normal.
  88. **Note:** php.ng states require the merge parameter of salt.modules.pillar.get(),
  89. first available in the Helium release.
  90. .. contents::
  91. :local:
  92. ``php.ng``
  93. ----------
  94. Installs the php package.
  95. ``php.ng.adodb``
  96. ----------------
  97. Installs the php-adodb package.
  98. ``php.ng.apc``
  99. --------------
  100. Installs the php-apc package.
  101. ``php.ng.cgi``
  102. --------------
  103. Installs the php-cgi package.
  104. ``php.ng.cli``
  105. --------------
  106. Meta-state that combines `php.ng.cli.install`_ and `php.ng.cli.ini`_.
  107. ``php.ng.cli.install``
  108. ----------------------
  109. Installs the php-cli package.
  110. ``php.ng.cli.ini``
  111. ------------------
  112. Manages the php-cli ini file.
  113. ``php.ng.curl``
  114. ---------------
  115. Installs the php5-curl package on Debian, and ensures that curl itself is
  116. installed for RedHat systems, this is due to the curl libs being provided by
  117. php-common, which will get installed with the main php package.
  118. ``php.ng.fpm``
  119. --------------
  120. Meta-state that combines all php.ng.fpm states.
  121. ``php.ng.fpm.config``
  122. ---------------------
  123. Manages the (non-pool) php-fpm config files.
  124. ``php.ng.fpm.install``
  125. ----------------------
  126. Installs the php-fpm package.
  127. ``php.ng.fpm.pools``
  128. --------------------
  129. Meta-state that combines `php.ng.fpm.service`_ and `php.ng.fpm.pools_config`_
  130. ``php.ng.fpm.pools_config``
  131. ---------------------------
  132. Manages php-fpm pool config files.
  133. ``php.ng.fpm.service``
  134. ----------------------
  135. Manages the php-fpm service.
  136. ``php.ng.gd``
  137. -------------
  138. Installs the php-gd package.
  139. ``php.ng.imagick``
  140. ------------------
  141. Installs the php-imagick package.
  142. ``php.ng.imap``
  143. ---------------
  144. Installs the php-imap package.
  145. ``php.ng.json``
  146. ---------------
  147. Installs the php-json package.
  148. ``php.ng.ldap``
  149. ---------------
  150. Installs the php-ldap package.
  151. ``php.ng.mbstring``
  152. -------------------
  153. Installs the php-mbstring package.
  154. ``php.ng.mcrypt``
  155. -----------------
  156. Installs the php-mcrypt package.
  157. ``php.ng.memcache``
  158. -------------------
  159. Installs the php-memcache package.
  160. ``php.ng.memcached``
  161. --------------------
  162. Installs the php-memcached package.
  163. ``php.ng.mysql``
  164. ----------------
  165. Installs the php-mysql package.
  166. ``php.ng.mysqlnd``
  167. ------------------
  168. Installs the php-mysqlnd package.
  169. ``php.ng.pear``
  170. ---------------
  171. Installs the php-pear package.
  172. ``php.ng.pgsql``
  173. ----------------
  174. Installs the php-pgsql package.
  175. ``php.ng.soap``
  176. ---------------
  177. Installs the php-soap package.
  178. ``php.ng.suhosin``
  179. ------------------
  180. Installs the php-suhosin package.
  181. ``php.ng.xml``
  182. --------------
  183. Installs the php-xml package.