Saltstack Official PHP Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

11 anos atrás
11 anos atrás
11 anos atrás
11 anos atrás
11 anos atrás
11 anos atrás
11 anos atrás
9 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
9 anos atrás
9 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
9 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  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.gearman``
  161. ---------------
  162. Installs the php-gearman package.
  163. ``php.ng.fpm``
  164. --------------
  165. Meta-state that combines all php.ng.fpm states.
  166. ``php.ng.fpm.config``
  167. ---------------------
  168. Manages the (non-pool) php-fpm config files.
  169. ``php.ng.fpm.install``
  170. ----------------------
  171. Installs the php-fpm package.
  172. ``php.ng.fpm.pools``
  173. --------------------
  174. Meta-state that combines `php.ng.fpm.service`_ and `php.ng.fpm.pools_config`_
  175. ``php.ng.fpm.pools_config``
  176. ---------------------------
  177. Manages php-fpm pool config files.
  178. ``php.ng.fpm.service``
  179. ----------------------
  180. Manages the php-fpm service.
  181. ``php.ng.gd``
  182. -------------
  183. Installs the php-gd package.
  184. ``php.ng.geoip``
  185. ----------------------
  186. Installs the php-geoip package.
  187. ``php.ng.gmp``
  188. ----------
  189. Installs the php-gmp package. Debian Only.
  190. ``php.ng.hhvm``
  191. ---------------
  192. Meta-state that combines php.ng.hhvm states
  193. ``php.ng.hhvm.config``
  194. ----------------------
  195. Manages the php-hhvm config files
  196. ``php.ng.hhvm.install``
  197. -----------------------
  198. Installs the php-hhvm package
  199. ``php.ng.hhvm.repo``
  200. --------------------
  201. Configures the hhvm repo for debian/ubuntu
  202. ``php.ng.hhvm.service``
  203. -----------------------
  204. Manages the php-hhvm service.
  205. ``php.ng.imagick``
  206. ------------------
  207. Installs the php-imagick package.
  208. Disabled on opensuse no package.
  209. ``php.ng.imap``
  210. ---------------
  211. Installs the php-imap package.
  212. ``php.ng.intl``
  213. ---------------
  214. Installs the php-intl package.
  215. ``php.ng.json``
  216. ---------------
  217. Installs the php-json package.
  218. ``php.ng.ldap``
  219. ---------------
  220. Installs the php-ldap package.
  221. ``php.ng.mbstring``
  222. -------------------
  223. Installs the php-mbstring package.
  224. ``php.ng.mcrypt``
  225. -----------------
  226. Installs the php-mcrypt package.
  227. ``php.ng.memcache``
  228. -------------------
  229. Installs the php-memcache package.
  230. Disabled on opensuse need server:php:extensions repo
  231. ``php.ng.memcached``
  232. --------------------
  233. Installs the php-memcached package.
  234. Disabled on opensuse need server:php:extensions repo
  235. ``php.ng.mongo``
  236. --------------------
  237. Installs the php-mongo package.
  238. ``php.ng.mongodb``
  239. --------------------
  240. Installs the php-mongodb package.
  241. ``php.ng.mysql``
  242. ----------------
  243. Installs the php-mysql package.
  244. ``php.ng.mysqlnd``
  245. ------------------
  246. Installs the php-mysqlnd package.
  247. Disabled on opensuse no package.
  248. ``php.ng.oauth``
  249. ---------------
  250. Installs the php-oauth package.
  251. ``php.ng.pear``
  252. ---------------
  253. Installs the php-pear package.
  254. ``php.ng.pgsql``
  255. ----------------
  256. Installs the php-pgsql package.
  257. ``php.ng.pspell``
  258. ----------------
  259. Installs the php-pspell package.
  260. ``php.ng.redis``
  261. ---------------
  262. Installs the php-redis package.
  263. Disabled on opensuse need server:php:extensions repo
  264. ``php.ng.snmp``
  265. ---------------
  266. Installs the php-snmp package.
  267. ``php.ng.soap``
  268. ---------------
  269. Installs the php-soap package.
  270. ``php.ng.sqlite``
  271. -----------------
  272. Installs the php-sqlite package,
  273. ``php.ng.suhosin``
  274. ------------------
  275. Installs the php-suhosin package.
  276. ``php.ng.xcache``
  277. ---------------
  278. Meta-state that combines `php.ng.xcache.install`_ and `php.ng.xcache.ini`_.
  279. ``php.ng.xcache.ini``
  280. ---------------
  281. Manages the php-xcache ini file
  282. ``php.ng.xcache.install``
  283. ---------------
  284. Installs the php-xcache package.
  285. Disabled on opensuse need server:php:extensions repo
  286. ``php.ng.xdebug``
  287. --------------
  288. Installs the php-xdebug package.
  289. ``php.ng.xml``
  290. --------------
  291. Installs the php-xml package.
  292. ``php.ng.xsl``
  293. --------------
  294. Installs the php-xsl package.
  295. ``php.ng.dev``
  296. --------------
  297. Installs the php5-dev and build-essential package.
  298. ``php.ng.gettext``
  299. --------------
  300. Installs the php-gettext package.
  301. ``php.ng.geshi``
  302. --------------
  303. Installs the php-geshi package.
  304. ``php.ng.mdb2``
  305. --------------
  306. Installs the php-mdb2 package.
  307. ``php.ng.mdb2-driver-mysql``
  308. --------------
  309. Installs the php-mdb2-driver-mysql package.
  310. ``php.ng.mdb2-driver-pgsql``
  311. --------------
  312. Installs the php-mdb2-driver-pgsql package.
  313. ``php.ng.seclib``
  314. --------------
  315. Installs the php-seclib package.
  316. ``php.ng.tidy``
  317. --------------
  318. Installs the php-tidy package.
  319. ``php.ng.tcpdf``
  320. --------------
  321. Installs the php-tcpdf package.
  322. ``php.ng.cache-lite``
  323. --------------
  324. Installs the php-cache-lite package.
  325. ``php.ng.console-table``
  326. --------------
  327. Installs the php-console-table package.