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

11 yıl önce
11 yıl önce
11 yıl önce
11 yıl önce
11 yıl önce
11 yıl önce
11 yıl önce
9 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
9 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  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. Disabled by default on opensuse need server:php repo
  19. ``php.apcu``
  20. ------------
  21. Installs the php-apcu package.
  22. Disabled by default on opensuse need server:php repo
  23. ``php.adodb``
  24. -------------
  25. Installs the php-adodb package.
  26. ``php.cgi``
  27. -----------
  28. Installs the php-cgi package.
  29. Disabled on opensuse not available, only fastcgi
  30. ``php.cli``
  31. -----------
  32. Installs the php-cli package.
  33. ``php.composer``
  34. -----------
  35. Installs [composer](https://getcomposer.org) and keeps it updated.
  36. ``php.curl``
  37. ------------
  38. Installs the php5-curl package on Debian, and ensures that curl itself is
  39. installed for RedHat systems, this is due to the curl libs being provided by
  40. php-common, which will get installed with the main php package.
  41. ``php.fpm``
  42. -----------
  43. Installs the php-fpm package, starts the service, and enables it.
  44. ``php.gd``
  45. ----------
  46. Installs the php-gd package.
  47. ``php.intl``
  48. ------------
  49. Installs the php-intl package.
  50. ``php.imagick``
  51. ---------------
  52. Installs the php-imagick package.
  53. Disabled on opensuse not available.
  54. ``php.imap``
  55. ------------
  56. Installs the php-imap package.
  57. ``php.json``
  58. ------------
  59. Installs the php-json package.
  60. ``php.ldap``
  61. ------------
  62. Installs the php-ldap package.
  63. ``php.mbstring``
  64. ----------------
  65. Installs the php-mbstring package.
  66. ``php.mcrypt``
  67. --------------
  68. Installs the php-mcrypt package.
  69. ``php.memcache``
  70. ----------------
  71. Installs the php-memcache package.
  72. Disabled on opensuse need server:php:extensions repo
  73. ``php.memcached``
  74. -----------------
  75. Installs the php-memcached package.
  76. Disabled on opensuse need server:php:extensions repo
  77. ``php.mysql``
  78. -------------
  79. Installs the php-mysql package.
  80. ``php.mysqlnd``
  81. ---------------
  82. Installs the php-mysqlnd package.
  83. Disabled on opensuse no package.
  84. ``php.pear``
  85. ------------
  86. Installs the php-pear package.
  87. ``php.redis``
  88. ------------
  89. Installs the php-redis package.
  90. Disabled on opensuse need server:php:extensions repo
  91. ``php.pgsql``
  92. -------------
  93. Installs the php-pgsql package.
  94. ``php.soap``
  95. ------------
  96. Installs the php-soap package.
  97. ``php.sqlite``
  98. --------------
  99. Installs the php-sqlite package,
  100. ``php.suhosin``
  101. ---------------
  102. Installs the php-suhosin package.
  103. ``php.mongo``
  104. -------------
  105. Installs the php-mongo package.
  106. Disabled on opensuse need server:php:extensions repo
  107. ``php.xml``
  108. -----------
  109. Installs the php-xml package.
  110. Next-generation, alternate approach
  111. ===================================
  112. The following states provide an alternate approach to managing PHP and FPM
  113. pools, as well as code organization. Please provide feedback by filing issues,
  114. discussing in ``#salt`` in Freenode and the mailing list as normal.
  115. **Note:** php.ng states require the merge parameter of salt.modules.pillar.get(),
  116. first available in the Helium release.
  117. .. contents::
  118. :local:
  119. ``php.ng``
  120. ----------
  121. Installs the php package.
  122. ``php.ng.adodb``
  123. ----------------
  124. Installs the php-adodb package.
  125. ``php.ng.apc``
  126. --------------
  127. Installs the php-apc package.
  128. Disabled on opensuse need server:php repo
  129. ``php.ng.apcu``
  130. ---------------
  131. Installs the php-apcu package.
  132. Disabled on opensuse need server:php repo
  133. ``php.ng.cgi``
  134. --------------
  135. Installs the php-cgi package.
  136. Disabled on opensuse only php5-fastcgi available.
  137. ``php.ng.cli``
  138. --------------
  139. Meta-state that combines `php.ng.cli.install`_ and `php.ng.cli.ini`_.
  140. ``php.ng.cli.install``
  141. ----------------------
  142. Installs the php-cli package.
  143. ``php.ng.cli.ini``
  144. ------------------
  145. Manages the php-cli ini file.
  146. ``php.ng.curl``
  147. ---------------
  148. Installs the php5-curl package on Debian, and ensures that curl itself is
  149. installed for RedHat systems, this is due to the curl libs being provided by
  150. php-common, which will get installed with the main php package.
  151. ``php.ng.fpm``
  152. --------------
  153. Meta-state that combines all php.ng.fpm states.
  154. ``php.ng.fpm.config``
  155. ---------------------
  156. Manages the (non-pool) php-fpm config files.
  157. ``php.ng.fpm.install``
  158. ----------------------
  159. Installs the php-fpm package.
  160. ``php.ng.fpm.pools``
  161. --------------------
  162. Meta-state that combines `php.ng.fpm.service`_ and `php.ng.fpm.pools_config`_
  163. ``php.ng.fpm.pools_config``
  164. ---------------------------
  165. Manages php-fpm pool config files.
  166. ``php.ng.fpm.service``
  167. ----------------------
  168. Manages the php-fpm service.
  169. ``php.ng.hhvm``
  170. ---------------
  171. Meta-state that combines php.ng.hhvm states
  172. ``php.ng.hhvm.config``
  173. ----------------------
  174. Manages the php-hhvm config files
  175. ``php.ng.hhvm.install``
  176. -----------------------
  177. Installs the php-hhvm package
  178. ``php.ng.hhvm.repo``
  179. --------------------
  180. Configures the hhvm repo for debian/ubuntu
  181. ``php.ng.hhvm.service``
  182. -----------------------
  183. Manages the php-hhvm service.
  184. ``php.ng.gd``
  185. -------------
  186. Installs the php-gd package.
  187. ``php.ng.imagick``
  188. ------------------
  189. Installs the php-imagick package.
  190. Disabled on opensuse no package.
  191. ``php.ng.imap``
  192. ---------------
  193. Installs the php-imap package.
  194. ``php.ng.intl``
  195. ---------------
  196. Installs the php-intl package.
  197. ``php.ng.json``
  198. ---------------
  199. Installs the php-json package.
  200. ``php.ng.ldap``
  201. ---------------
  202. Installs the php-ldap package.
  203. ``php.ng.mbstring``
  204. -------------------
  205. Installs the php-mbstring package.
  206. ``php.ng.mcrypt``
  207. -----------------
  208. Installs the php-mcrypt package.
  209. ``php.ng.memcache``
  210. -------------------
  211. Installs the php-memcache package.
  212. Disabled on opensuse need server:php:extensions repo
  213. ``php.ng.memcached``
  214. --------------------
  215. Installs the php-memcached package.
  216. Disabled on opensuse need server:php:extensions repo
  217. ``php.ng.mysql``
  218. ----------------
  219. Installs the php-mysql package.
  220. ``php.ng.mysqlnd``
  221. ------------------
  222. Installs the php-mysqlnd package.
  223. Disabled on opensuse no package.
  224. ``php.ng.pear``
  225. ---------------
  226. Installs the php-pear package.
  227. ``php.ng.redis``
  228. ---------------
  229. Installs the php-redis package.
  230. Disabled on opensuse need server:php:extensions repo
  231. ``php.ng.pgsql``
  232. ----------------
  233. Installs the php-pgsql package.
  234. ``php.ng.soap``
  235. ---------------
  236. Installs the php-soap package.
  237. ``php.ng.sqlite``
  238. -----------------
  239. Installs the php-sqlite package,
  240. ``php.ng.suhosin``
  241. ------------------
  242. Installs the php-suhosin package.
  243. ``php.ng.xml``
  244. --------------
  245. Installs the php-xml package.