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.

11 年之前
10 年之前
10 年之前
10 年之前
10 年之前
10 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  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/en/latest/topics/development/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.intl``
  39. ------------
  40. Installs the php-intl package.
  41. ``php.imagick``
  42. ---------------
  43. Installs the php-imagick package.
  44. ``php.imap``
  45. ------------
  46. Installs the php-imap package.
  47. ``php.json``
  48. ------------
  49. Installs the php-json package.
  50. ``php.ldap``
  51. ------------
  52. Installs the php-ldap package.
  53. ``php.mbstring``
  54. ----------------
  55. Installs the php-mbstring package.
  56. ``php.mcrypt``
  57. --------------
  58. Installs the php-mcrypt package.
  59. ``php.memcache``
  60. ----------------
  61. Installs the php-memcache package.
  62. ``php.memcached``
  63. -----------------
  64. Installs the php-memcached package.
  65. ``php.mysql``
  66. -------------
  67. Installs the php-mysql package.
  68. ``php.mysqlnd``
  69. ---------------
  70. Installs the php-mysqlnd package.
  71. ``php.pear``
  72. ------------
  73. Installs the php-pear package.
  74. ``php.pgsql``
  75. -------------
  76. Installs the php-pgsql package.
  77. ``php.soap``
  78. ------------
  79. Installs the php-soap package.
  80. ``php.suhosin``
  81. ---------------
  82. Installs the php-suhosin package.
  83. ``php.mongo``
  84. -------------
  85. Installs the php-mongo package.
  86. ``php.xml``
  87. -----------
  88. Installs the php-xml package.
  89. Next-generation, alternate approach
  90. ===================================
  91. The following states provide an alternate approach to managing PHP and FPM
  92. pools, as well as code organization. Please provide feedback by filing issues,
  93. discussing in ``#salt`` in Freenode and the mailing list as normal.
  94. **Note:** php.ng states require the merge parameter of salt.modules.pillar.get(),
  95. first available in the Helium release.
  96. .. contents::
  97. :local:
  98. ``php.ng``
  99. ----------
  100. Installs the php package.
  101. ``php.ng.adodb``
  102. ----------------
  103. Installs the php-adodb package.
  104. ``php.ng.apc``
  105. --------------
  106. Installs the php-apc package.
  107. ``php.ng.cgi``
  108. --------------
  109. Installs the php-cgi package.
  110. ``php.ng.cli``
  111. --------------
  112. Meta-state that combines `php.ng.cli.install`_ and `php.ng.cli.ini`_.
  113. ``php.ng.cli.install``
  114. ----------------------
  115. Installs the php-cli package.
  116. ``php.ng.cli.ini``
  117. ------------------
  118. Manages the php-cli ini file.
  119. ``php.ng.curl``
  120. ---------------
  121. Installs the php5-curl package on Debian, and ensures that curl itself is
  122. installed for RedHat systems, this is due to the curl libs being provided by
  123. php-common, which will get installed with the main php package.
  124. ``php.ng.fpm``
  125. --------------
  126. Meta-state that combines all php.ng.fpm states.
  127. ``php.ng.fpm.config``
  128. ---------------------
  129. Manages the (non-pool) php-fpm config files.
  130. ``php.ng.fpm.install``
  131. ----------------------
  132. Installs the php-fpm package.
  133. ``php.ng.fpm.pools``
  134. --------------------
  135. Meta-state that combines `php.ng.fpm.service`_ and `php.ng.fpm.pools_config`_
  136. ``php.ng.fpm.pools_config``
  137. ---------------------------
  138. Manages php-fpm pool config files.
  139. ``php.ng.fpm.service``
  140. ----------------------
  141. Manages the php-fpm service.
  142. ``php.ng.gd``
  143. -------------
  144. Installs the php-gd package.
  145. ``php.ng.imagick``
  146. ------------------
  147. Installs the php-imagick package.
  148. ``php.ng.imap``
  149. ---------------
  150. Installs the php-imap package.
  151. ``php.ng.intl``
  152. ---------------
  153. Installs the php-intl package.
  154. ``php.ng.json``
  155. ---------------
  156. Installs the php-json package.
  157. ``php.ng.ldap``
  158. ---------------
  159. Installs the php-ldap package.
  160. ``php.ng.mbstring``
  161. -------------------
  162. Installs the php-mbstring package.
  163. ``php.ng.mcrypt``
  164. -----------------
  165. Installs the php-mcrypt package.
  166. ``php.ng.memcache``
  167. -------------------
  168. Installs the php-memcache package.
  169. ``php.ng.memcached``
  170. --------------------
  171. Installs the php-memcached package.
  172. ``php.ng.mysql``
  173. ----------------
  174. Installs the php-mysql package.
  175. ``php.ng.mysqlnd``
  176. ------------------
  177. Installs the php-mysqlnd package.
  178. ``php.ng.pear``
  179. ---------------
  180. Installs the php-pear package.
  181. ``php.ng.pgsql``
  182. ----------------
  183. Installs the php-pgsql package.
  184. ``php.ng.soap``
  185. ---------------
  186. Installs the php-soap package.
  187. ``php.ng.suhosin``
  188. ------------------
  189. Installs the php-suhosin package.
  190. ``php.ng.xml``
  191. --------------
  192. Installs the php-xml package.