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 5.1KB

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