Saltstack Official PHP Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

README.rst 4.8KB

11 år sedan
10 år sedan
10 år sedan
10 år sedan
10 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  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.xml``
  84. -----------
  85. Installs the php-xml package.
  86. Next-generation, alternate approach
  87. ===================================
  88. The following states provide an alternate approach to managing PHP and FPM
  89. pools, as well as code organization. Please provide feedback by filing issues,
  90. discussing in ``#salt`` in Freenode and the mailing list as normal.
  91. **Note:** php.ng states require the merge parameter of salt.modules.pillar.get(),
  92. first available in the Helium release.
  93. .. contents::
  94. :local:
  95. ``php.ng``
  96. ----------
  97. Installs the php package.
  98. ``php.ng.adodb``
  99. ----------------
  100. Installs the php-adodb package.
  101. ``php.ng.apc``
  102. --------------
  103. Installs the php-apc package.
  104. ``php.ng.cgi``
  105. --------------
  106. Installs the php-cgi package.
  107. ``php.ng.cli``
  108. --------------
  109. Meta-state that combines `php.ng.cli.install`_ and `php.ng.cli.ini`_.
  110. ``php.ng.cli.install``
  111. ----------------------
  112. Installs the php-cli package.
  113. ``php.ng.cli.ini``
  114. ------------------
  115. Manages the php-cli ini file.
  116. ``php.ng.curl``
  117. ---------------
  118. Installs the php5-curl package on Debian, and ensures that curl itself is
  119. installed for RedHat systems, this is due to the curl libs being provided by
  120. php-common, which will get installed with the main php package.
  121. ``php.ng.fpm``
  122. --------------
  123. Meta-state that combines all php.ng.fpm states.
  124. ``php.ng.fpm.config``
  125. ---------------------
  126. Manages the (non-pool) php-fpm config files.
  127. ``php.ng.fpm.install``
  128. ----------------------
  129. Installs the php-fpm package.
  130. ``php.ng.fpm.pools``
  131. --------------------
  132. Meta-state that combines `php.ng.fpm.service`_ and `php.ng.fpm.pools_config`_
  133. ``php.ng.fpm.pools_config``
  134. ---------------------------
  135. Manages php-fpm pool config files.
  136. ``php.ng.fpm.service``
  137. ----------------------
  138. Manages the php-fpm service.
  139. ``php.ng.gd``
  140. -------------
  141. Installs the php-gd package.
  142. ``php.ng.imagick``
  143. ------------------
  144. Installs the php-imagick package.
  145. ``php.ng.imap``
  146. ---------------
  147. Installs the php-imap package.
  148. ``php.ng.intl``
  149. ---------------
  150. Installs the php-intl package.
  151. ``php.ng.json``
  152. ---------------
  153. Installs the php-json package.
  154. ``php.ng.ldap``
  155. ---------------
  156. Installs the php-ldap package.
  157. ``php.ng.mbstring``
  158. -------------------
  159. Installs the php-mbstring package.
  160. ``php.ng.mcrypt``
  161. -----------------
  162. Installs the php-mcrypt package.
  163. ``php.ng.memcache``
  164. -------------------
  165. Installs the php-memcache package.
  166. ``php.ng.memcached``
  167. --------------------
  168. Installs the php-memcached package.
  169. ``php.ng.mysql``
  170. ----------------
  171. Installs the php-mysql package.
  172. ``php.ng.mysqlnd``
  173. ------------------
  174. Installs the php-mysqlnd package.
  175. ``php.ng.pear``
  176. ---------------
  177. Installs the php-pear package.
  178. ``php.ng.pgsql``
  179. ----------------
  180. Installs the php-pgsql package.
  181. ``php.ng.soap``
  182. ---------------
  183. Installs the php-soap package.
  184. ``php.ng.suhosin``
  185. ------------------
  186. Installs the php-suhosin package.
  187. ``php.ng.xml``
  188. --------------
  189. Installs the php-xml package.