Saltstack Official PHP Formula
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README.rst 7.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  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.apache2``
  126. ----------------
  127. Meta-state that combines `php.ng.apache2.install`_ and `php.ng.apache2.ini`_.
  128. ``php.ng.apache2.ini``
  129. --------------
  130. Manages the apache2 php.ini file
  131. ``php.ng.apache2.install``
  132. --------------
  133. Installs the apache2 and libapache2-mod-php5 package. Debian Only.
  134. ``php.ng.apc``
  135. --------------
  136. Installs the php-apc package.
  137. Disabled on opensuse need server:php repo
  138. ``php.ng.apcu``
  139. ---------------
  140. Installs the php-apcu package.
  141. Disabled on opensuse need server:php repo
  142. ``php.ng.cgi``
  143. --------------
  144. Installs the php-cgi package.
  145. Disabled on opensuse only php5-fastcgi available.
  146. ``php.ng.cli``
  147. --------------
  148. Meta-state that combines `php.ng.cli.install`_ and `php.ng.cli.ini`_.
  149. ``php.ng.cli.ini``
  150. ------------------
  151. Manages the php-cli ini file.
  152. ``php.ng.cli.install``
  153. ----------------------
  154. Installs the php-cli package.
  155. ``php.ng.curl``
  156. ---------------
  157. Installs the php5-curl package on Debian, and ensures that curl itself is
  158. installed for RedHat systems, this is due to the curl libs being provided by
  159. php-common, which will get installed with the main php package.
  160. ``php.ng.fpm``
  161. --------------
  162. Meta-state that combines all php.ng.fpm states.
  163. ``php.ng.fpm.config``
  164. ---------------------
  165. Manages the (non-pool) php-fpm config files.
  166. ``php.ng.fpm.install``
  167. ----------------------
  168. Installs the php-fpm package.
  169. ``php.ng.fpm.pools``
  170. --------------------
  171. Meta-state that combines `php.ng.fpm.service`_ and `php.ng.fpm.pools_config`_
  172. ``php.ng.fpm.pools_config``
  173. ---------------------------
  174. Manages php-fpm pool config files.
  175. ``php.ng.fpm.service``
  176. ----------------------
  177. Manages the php-fpm service.
  178. ``php.ng.gd``
  179. -------------
  180. Installs the php-gd package.
  181. ``php.ng.geoip``
  182. ----------------------
  183. Installs the php-geoip package.
  184. ``php.ng.gmp``
  185. ----------
  186. Installs the php-gmp package. Debian Only.
  187. ``php.ng.hhvm``
  188. ---------------
  189. Meta-state that combines php.ng.hhvm states
  190. ``php.ng.hhvm.config``
  191. ----------------------
  192. Manages the php-hhvm config files
  193. ``php.ng.hhvm.install``
  194. -----------------------
  195. Installs the php-hhvm package
  196. ``php.ng.hhvm.repo``
  197. --------------------
  198. Configures the hhvm repo for debian/ubuntu
  199. ``php.ng.hhvm.service``
  200. -----------------------
  201. Manages the php-hhvm service.
  202. ``php.ng.imagick``
  203. ------------------
  204. Installs the php-imagick package.
  205. Disabled on opensuse no package.
  206. ``php.ng.imap``
  207. ---------------
  208. Installs the php-imap package.
  209. ``php.ng.intl``
  210. ---------------
  211. Installs the php-intl package.
  212. ``php.ng.json``
  213. ---------------
  214. Installs the php-json package.
  215. ``php.ng.ldap``
  216. ---------------
  217. Installs the php-ldap package.
  218. ``php.ng.mbstring``
  219. -------------------
  220. Installs the php-mbstring package.
  221. ``php.ng.mcrypt``
  222. -----------------
  223. Installs the php-mcrypt package.
  224. ``php.ng.memcache``
  225. -------------------
  226. Installs the php-memcache package.
  227. Disabled on opensuse need server:php:extensions repo
  228. ``php.ng.memcached``
  229. --------------------
  230. Installs the php-memcached package.
  231. Disabled on opensuse need server:php:extensions repo
  232. ``php.ng.mysql``
  233. ----------------
  234. Installs the php-mysql package.
  235. ``php.ng.mysqlnd``
  236. ------------------
  237. Installs the php-mysqlnd package.
  238. Disabled on opensuse no package.
  239. ``php.ng.oauth``
  240. ---------------
  241. Installs the php-oauth package.
  242. ``php.ng.pear``
  243. ---------------
  244. Installs the php-pear package.
  245. ``php.ng.pgsql``
  246. ----------------
  247. Installs the php-pgsql package.
  248. ``php.ng.pspell``
  249. ----------------
  250. Installs the php-pspell package.
  251. ``php.ng.redis``
  252. ---------------
  253. Installs the php-redis package.
  254. Disabled on opensuse need server:php:extensions repo
  255. ``php.ng.soap``
  256. ---------------
  257. Installs the php-soap package.
  258. ``php.ng.sqlite``
  259. -----------------
  260. Installs the php-sqlite package,
  261. ``php.ng.suhosin``
  262. ------------------
  263. Installs the php-suhosin package.
  264. ``php.ng.xcache``
  265. ---------------
  266. Meta-state that combines `php.ng.xcache.install`_ and `php.ng.xcache.ini`_.
  267. ``php.ng.xcache.ini``
  268. ---------------
  269. Manages the php-xcache ini file
  270. ``php.ng.xcache.install``
  271. ---------------
  272. Installs the php-xcache package.
  273. Disabled on opensuse need server:php:extensions repo
  274. ``php.ng.xdebug``
  275. --------------
  276. Installs the php-xdebug package.
  277. ``php.ng.xml``
  278. --------------
  279. Installs the php-xml package.
  280. ``php.ng.xsl``
  281. --------------
  282. Installs the php-xsl package.