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.0KB

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