Saltstack Official PHP Formula
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
9 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
9 роки тому
9 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
9 роки тому
7 роки тому
9 роки тому
8 роки тому
10 роки тому
10 роки тому
10 роки тому
9 роки тому
7 роки тому
9 роки тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  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.sybase``
  108. -----------
  109. Installs the php-sybase package for Sybase/MS-SQL. Debian / Ubuntu as RedHat has no similar package.
  110. ``php.xml``
  111. -----------
  112. Installs the php-xml package.
  113. Next-generation, alternate approach
  114. ===================================
  115. The following states provide an alternate approach to managing PHP and FPM
  116. pools, as well as code organization. Please provide feedback by filing issues,
  117. discussing in ``#salt`` in Freenode and the mailing list as normal.
  118. **Note:** php.ng states require the merge parameter of salt.modules.pillar.get(),
  119. first available in the Helium release.
  120. .. contents::
  121. :local:
  122. ``php.ng``
  123. ----------
  124. Installs the php package.
  125. ``php.ng.adodb``
  126. ----------------
  127. Installs the php-adodb package.
  128. ``php.ng.apache2``
  129. ----------------
  130. Meta-state that combines `php.ng.apache2.install`_ and `php.ng.apache2.ini`_.
  131. ``php.ng.apache2.ini``
  132. --------------
  133. Manages the apache2 php.ini file
  134. ``php.ng.apache2.install``
  135. --------------
  136. Installs the apache2 and libapache2-mod-php5 package. Debian Only.
  137. ``php.ng.apc``
  138. --------------
  139. Installs the php-apc package.
  140. Disabled on opensuse need server:php repo
  141. ``php.ng.apcu``
  142. ---------------
  143. Installs the php-apcu package.
  144. Disabled on opensuse need server:php repo
  145. ``php.ng.cgi``
  146. --------------
  147. Installs the php-cgi package.
  148. Disabled on opensuse only php5-fastcgi available.
  149. ``php.ng.cli``
  150. --------------
  151. Meta-state that combines `php.ng.cli.install`_ and `php.ng.cli.ini`_.
  152. ``php.ng.cli.ini``
  153. ------------------
  154. Manages the php-cli ini file.
  155. ``php.ng.cli.install``
  156. ----------------------
  157. Installs the php-cli package.
  158. ``php.ng.composer``
  159. -------------------
  160. Installs [composer](https://getcomposer.org) and keeps it updated.
  161. ``php.ng.curl``
  162. ---------------
  163. Installs the php5-curl package on Debian, and ensures that curl itself is
  164. installed for RedHat systems, this is due to the curl libs being provided by
  165. php-common, which will get installed with the main php package.
  166. ``php.ng.gearman``
  167. ---------------
  168. Installs the php-gearman package.
  169. ``php.ng.fpm``
  170. --------------
  171. Meta-state that combines all php.ng.fpm states.
  172. ``php.ng.fpm.config``
  173. ---------------------
  174. Manages the (non-pool) php-fpm config files.
  175. ``php.ng.fpm.install``
  176. ----------------------
  177. Installs the php-fpm package.
  178. ``php.ng.fpm.pools``
  179. --------------------
  180. Meta-state that combines `php.ng.fpm.service`_ and `php.ng.fpm.pools_config`_
  181. ``php.ng.fpm.pools_config``
  182. ---------------------------
  183. Manages php-fpm pool config files.
  184. ``php.ng.fpm.service``
  185. ----------------------
  186. Manages the php-fpm service.
  187. ``php.ng.gd``
  188. -------------
  189. Installs the php-gd package.
  190. ``php.ng.geoip``
  191. ----------------------
  192. Installs the php-geoip package.
  193. ``php.ng.gmp``
  194. ----------
  195. Installs the php-gmp package. Debian Only.
  196. ``php.ng.hhvm``
  197. ---------------
  198. Meta-state that combines php.ng.hhvm states
  199. ``php.ng.hhvm.config``
  200. ----------------------
  201. Manages the php-hhvm config files
  202. ``php.ng.hhvm.install``
  203. -----------------------
  204. Installs the php-hhvm package
  205. ``php.ng.hhvm.repo``
  206. --------------------
  207. Configures the hhvm repo for debian/ubuntu
  208. ``php.ng.hhvm.service``
  209. -----------------------
  210. Manages the php-hhvm service.
  211. ``php.ng.imagick``
  212. ------------------
  213. Installs the php-imagick package.
  214. Disabled on opensuse no package.
  215. ``php.ng.imap``
  216. ---------------
  217. Installs the php-imap package.
  218. ``php.ng.intl``
  219. ---------------
  220. Installs the php-intl package.
  221. ``php.ng.json``
  222. ---------------
  223. Installs the php-json package.
  224. ``php.ng.ldap``
  225. ---------------
  226. Installs the php-ldap package.
  227. ``php.ng.mbstring``
  228. -------------------
  229. Installs the php-mbstring package.
  230. ``php.ng.mcrypt``
  231. -----------------
  232. Installs the php-mcrypt package.
  233. ``php.ng.memcache``
  234. -------------------
  235. Installs the php-memcache package.
  236. Disabled on opensuse need server:php:extensions repo
  237. ``php.ng.memcached``
  238. --------------------
  239. Installs the php-memcached package.
  240. Disabled on opensuse need server:php:extensions repo
  241. ``php.ng.mongo``
  242. --------------------
  243. Installs the php-mongo package.
  244. ``php.ng.mongodb``
  245. --------------------
  246. Installs the php-mongodb package.
  247. ``php.ng.mysql``
  248. ----------------
  249. Installs the php-mysql package.
  250. ``php.ng.mysqlnd``
  251. ------------------
  252. Installs the php-mysqlnd package.
  253. Disabled on opensuse no package.
  254. ``php.ng.oauth``
  255. ---------------
  256. Installs the php-oauth package.
  257. ``php.ng.pear``
  258. ---------------
  259. Installs the php-pear package.
  260. ``php.ng.pgsql``
  261. ----------------
  262. Installs the php-pgsql package.
  263. ``php.ng.pspell``
  264. ----------------
  265. Installs the php-pspell package.
  266. ``php.ng.redis``
  267. ---------------
  268. Installs the php-redis package.
  269. Disabled on opensuse need server:php:extensions repo
  270. ``php.ng.snmp``
  271. ---------------
  272. Installs the php-snmp package.
  273. ``php.ng.soap``
  274. ---------------
  275. Installs the php-soap package.
  276. ``php.ng.sqlite``
  277. -----------------
  278. Installs the php-sqlite package,
  279. ``php.ng.suhosin``
  280. ------------------
  281. Installs the php-suhosin package.
  282. ``php.ng.sybase``
  283. -------------
  284. Installs the php-sybase package.
  285. ``php.ng.xcache``
  286. ---------------
  287. Meta-state that combines `php.ng.xcache.install`_ and `php.ng.xcache.ini`_.
  288. ``php.ng.xcache.ini``
  289. ---------------
  290. Manages the php-xcache ini file
  291. ``php.ng.xcache.install``
  292. ---------------
  293. Installs the php-xcache package.
  294. Disabled on opensuse need server:php:extensions repo
  295. ``php.ng.xdebug``
  296. --------------
  297. Installs the php-xdebug package.
  298. ``php.ng.xml``
  299. --------------
  300. Installs the php-xml package.
  301. ``php.ng.xsl``
  302. --------------
  303. Installs the php-xsl package.
  304. ``php.ng.dev``
  305. --------------
  306. Installs the php5-dev and build-essential package.
  307. ``php.ng.gettext``
  308. --------------
  309. Installs the php-gettext package.
  310. ``php.ng.geshi``
  311. --------------
  312. Installs the php-geshi package.
  313. ``php.ng.mdb2``
  314. --------------
  315. Installs the php-mdb2 package.
  316. ``php.ng.mdb2-driver-mysql``
  317. --------------
  318. Installs the php-mdb2-driver-mysql package.
  319. ``php.ng.mdb2-driver-pgsql``
  320. --------------
  321. Installs the php-mdb2-driver-pgsql package.
  322. ``php.ng.seclib``
  323. --------------
  324. Installs the php-seclib package.
  325. ``php.ng.tidy``
  326. --------------
  327. Installs the php-tidy package.
  328. ``php.ng.tcpdf``
  329. --------------
  330. Installs the php-tcpdf package.
  331. ``php.ng.cache-lite``
  332. --------------
  333. Installs the php-cache-lite package.
  334. ``php.ng.console-table``
  335. --------------
  336. Installs the php-console-table package.