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

11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
9 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
9 роки тому
9 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
9 роки тому
7 роки тому
9 роки тому
8 роки тому
8 роки тому
10 роки тому
10 роки тому
10 роки тому
9 роки тому
7 роки тому
9 роки тому
6 роки тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  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.adodb``
  16. -------------
  17. Installs the php-adodb package.
  18. ``php.apc``
  19. -----------
  20. Installs the php-apc package.
  21. Disabled by default on opensuse need server:php repo
  22. ``php.apcu``
  23. ------------
  24. Installs the php-apcu package.
  25. Disabled by default on opensuse need server:php repo
  26. ``php.bcmath``
  27. ------------
  28. Installs the php-bcmath package.
  29. ``php.cgi``
  30. -----------
  31. Installs the php-cgi package.
  32. Disabled on opensuse not available, only fastcgi
  33. ``php.cli``
  34. -----------
  35. Installs the php-cli package.
  36. ``php.composer``
  37. ----------------
  38. Installs [composer](https://getcomposer.org) and keeps it updated.
  39. ``php.curl``
  40. ------------
  41. Installs the php5-curl package on Debian, and ensures that curl itself is
  42. installed for RedHat systems, this is due to the curl libs being provided by
  43. php-common, which will get installed with the main php package.
  44. ``php.dev``
  45. ----------
  46. Installs the php-dev package.
  47. ``php.fileinfo``
  48. -----------
  49. Installs the php-fileinfo package and enables it.
  50. ``php.fpm``
  51. -----------
  52. Installs the php-fpm package, starts the service, and enables it.
  53. ``php.gd``
  54. ----------
  55. Installs the php-gd package.
  56. ``php.imagick``
  57. ---------------
  58. Installs the php-imagick package.
  59. Disabled on opensuse not available.
  60. ``php.imap``
  61. ------------
  62. Installs the php-imap package.
  63. ``php.intl``
  64. ------------
  65. Installs the php-intl package.
  66. ``php.json``
  67. ------------
  68. Installs the php-json package.
  69. ``php.ldap``
  70. ------------
  71. Installs the php-ldap package.
  72. ``php.mail``
  73. ------------
  74. Installs the php-mail package.
  75. ``php.mbstring``
  76. ----------------
  77. Installs the php-mbstring package.
  78. ``php.mcrypt``
  79. --------------
  80. Installs the php-mcrypt package.
  81. ``php.memcache``
  82. ----------------
  83. Installs the php-memcache package.
  84. Disabled on opensuse need server:php:extensions repo
  85. ``php.memcached``
  86. -----------------
  87. Installs the php-memcached package.
  88. Disabled on opensuse need server:php:extensions repo
  89. ``php.mongo``
  90. -------------
  91. Installs the php-mongo package.
  92. Disabled on opensuse need server:php:extensions repo
  93. ``php.mysql``
  94. -------------
  95. Installs the php-mysql package.
  96. ``php.mysqlnd``
  97. ---------------
  98. Installs the php-mysqlnd package.
  99. Disabled on opensuse no package.
  100. ``php.oauth``
  101. ------------
  102. Installs the php-oauth package.
  103. ``php.pear``
  104. ------------
  105. Installs the php-pear package.
  106. ``php.pgsql``
  107. -------------
  108. Installs the php-pgsql package.
  109. ``php.readline``
  110. -------------
  111. Installs the php-readline package.
  112. ``php.redis``
  113. ------------
  114. Installs the php-redis package.
  115. Disabled on opensuse need server:php:extensions repo
  116. ``php.soap``
  117. ------------
  118. Installs the php-soap package.
  119. ``php.sqlite``
  120. --------------
  121. Installs the php-sqlite package,
  122. ``php.suhosin``
  123. ---------------
  124. Installs the php-suhosin package.
  125. ``php.sybase``
  126. -----------
  127. Installs the php-sybase package for Sybase/MS-SQL. Debian / Ubuntu as RedHat has no similar package.
  128. ``php.tokenizer``
  129. -----------
  130. Installs the php-tokenizer package and enables it.
  131. ``php.xml``
  132. -----------
  133. Installs the php-xml package.
  134. ``php.zip``
  135. -----------
  136. Installs the php-zip package.
  137. Next-generation, alternate approach
  138. ===================================
  139. The following states provide an alternate approach to managing PHP and FPM
  140. pools, as well as code organization. Please provide feedback by filing issues,
  141. discussing in ``#salt`` in Freenode and the mailing list as normal.
  142. **Note:** php.ng states require the merge parameter of salt.modules.pillar.get(),
  143. first available in the Helium release.
  144. .. contents::
  145. :local:
  146. ``php.ng``
  147. ----------
  148. Installs the php package.
  149. ``php.ng.adodb``
  150. ----------------
  151. Installs the php-adodb package.
  152. ``php.ng.apache2``
  153. ----------------
  154. Meta-state that combines `php.ng.apache2.install`_ and `php.ng.apache2.ini`_.
  155. ``php.ng.apache2.ini``
  156. --------------
  157. Manages the apache2 php.ini file
  158. ``php.ng.apache2.install``
  159. --------------
  160. Installs the apache2 and libapache2-mod-php5 package. Debian Only.
  161. ``php.ng.apc``
  162. --------------
  163. Installs the php-apc package.
  164. Disabled on opensuse need server:php repo
  165. ``php.ng.apcu``
  166. ---------------
  167. Installs the php-apcu package.
  168. Disabled on opensuse need server:php repo
  169. ``php.ng.auth-sasl``
  170. ---------------
  171. Installs the php-auth-sasl package.
  172. ``php.ng.bcmath``
  173. ---------------
  174. Installs the php-bcmath package.
  175. ``php.ng.cache-lite``
  176. ---------------
  177. Installs the php-cache-lite package.
  178. ``php.ng.cgi``
  179. --------------
  180. Installs the php-cgi package.
  181. Disabled on opensuse only php5-fastcgi available.
  182. ``php.ng.cli``
  183. --------------
  184. Meta-state that combines `php.ng.cli.install`_ and `php.ng.cli.ini`_.
  185. ``php.ng.cli.ini``
  186. ------------------
  187. Manages the php-cli ini file.
  188. ``php.ng.cli.install``
  189. ----------------------
  190. Installs the php-cli package.
  191. ``php.ng.composer``
  192. -------------------
  193. Installs [composer](https://getcomposer.org) and keeps it updated.
  194. ``php.ng.console-table``
  195. ---------------
  196. Installs the php-console-table package.
  197. ``php.ng.ctype``
  198. ----------------
  199. Installs the php-ctype package.
  200. ``php.ng.curl``
  201. ---------------
  202. Installs the php5-curl package on Debian, and ensures that curl itself is
  203. installed for RedHat systems, this is due to the curl libs being provided by
  204. php-common, which will get installed with the main php package.
  205. ``php.ng.dev``
  206. --------------
  207. Installs the php5-dev and build-essential package.
  208. ``php.ng.filter``
  209. -----------------
  210. Installs the php-filter package.
  211. ``php.ng.fpm``
  212. --------------
  213. Meta-state that combines all php.ng.fpm states.
  214. ``php.ng.fpm.config``
  215. ---------------------
  216. Manages the (non-pool) php-fpm config files.
  217. ``php.ng.fpm.install``
  218. ----------------------
  219. Installs the php-fpm package.
  220. ``php.ng.fpm.pools``
  221. --------------------
  222. Meta-state that combines `php.ng.fpm.service`_ and `php.ng.fpm.pools_config`_
  223. ``php.ng.fpm.pools_config``
  224. ---------------------------
  225. Manages php-fpm pool config files.
  226. ``php.ng.fpm.service``
  227. ----------------------
  228. Manages the php-fpm service.
  229. ``php.ng.gd``
  230. -------------
  231. Installs the php-gd package.
  232. ``php.ng.gearman``
  233. ---------------
  234. Installs the php-gearman package.
  235. ``php.ng.geoip``
  236. ----------------------
  237. Installs the php-geoip package.
  238. ``php.ng.geshi``
  239. --------------
  240. Installs the php-geshi package.
  241. ``php.ng.gettext``
  242. --------------
  243. Installs the php-gettext package.
  244. ``php.ng.gmp``
  245. ----------
  246. Installs the php-gmp package. Debian Only.
  247. ``php.ng.hash``
  248. ---------------
  249. Installs the php-hash package.
  250. ``php.ng.http``
  251. ---------------
  252. Installs the php-http package.
  253. ``php.ng.hhvm``
  254. ---------------
  255. Meta-state that combines php.ng.hhvm states
  256. ``php.ng.hhvm.config``
  257. ----------------------
  258. Manages the php-hhvm config files
  259. ``php.ng.hhvm.install``
  260. -----------------------
  261. Installs the php-hhvm package
  262. ``php.ng.hhvm.repo``
  263. --------------------
  264. Configures the hhvm repo for debian/ubuntu
  265. ``php.ng.hhvm.service``
  266. -----------------------
  267. Manages the php-hhvm service.
  268. ``php.ng.imagick``
  269. ------------------
  270. Installs the php-imagick package.
  271. Disabled on opensuse no package.
  272. ``php.ng.imap``
  273. ---------------
  274. Installs the php-imap package.
  275. ``php.ng.intl``
  276. ---------------
  277. Installs the php-intl package.
  278. ``php.ng.json``
  279. ---------------
  280. Installs the php-json package.
  281. ``php.ng.ldap``
  282. ---------------
  283. Installs the php-ldap package.
  284. ``php.ng.mail``
  285. ---------------
  286. Installs the php-mail package.
  287. ``php.ng.mbstring``
  288. -------------------
  289. Installs the php-mbstring package.
  290. ``php.ng.mcrypt``
  291. -----------------
  292. Installs the php-mcrypt package.
  293. ``php.ng.mdb2``
  294. --------------
  295. Installs the php-mdb2 package.
  296. ``php.ng.mdb2-driver-mysql``
  297. --------------
  298. Installs the php-mdb2-driver-mysql package.
  299. ``php.ng.mdb2-driver-pgsql``
  300. --------------
  301. Installs the php-mdb2-driver-pgsql package.
  302. ``php.ng.memcache``
  303. -------------------
  304. Installs the php-memcache package.
  305. Disabled on opensuse need server:php:extensions repo
  306. ``php.ng.memcached``
  307. --------------------
  308. Installs the php-memcached package.
  309. Disabled on opensuse need server:php:extensions repo
  310. ``php.ng.mongo``
  311. --------------------
  312. Installs the php-mongo package.
  313. ``php.ng.mongodb``
  314. --------------------
  315. Installs the php-mongodb package.
  316. ``php.ng.mysql``
  317. ----------------
  318. Installs the php-mysql package.
  319. ``php.ng.mysqlnd``
  320. ------------------
  321. Installs the php-mysqlnd package.
  322. Disabled on opensuse no package.
  323. ``php.ng.net-smtp``
  324. ---------------
  325. Installs the php-net-smtp package.
  326. ``php.ng.net4``
  327. ---------------
  328. Installs the php-net4 package.
  329. ``php.ng.net6``
  330. ---------------
  331. Installs the php-net6 package.
  332. ``php.ng.oauth``
  333. ---------------
  334. Installs the php-oauth package.
  335. ``php.ng.opcache``
  336. ---------------
  337. Installs the php-opcache package.
  338. ``php.ng.openssl``
  339. ------------------
  340. Installs the php-openssl package.
  341. ``php.ng.pear``
  342. ---------------
  343. Installs the php-pear package.
  344. ``php.ng.pgsql``
  345. ----------------
  346. Installs the php-pgsql package.
  347. ``php.ng.phar``
  348. ---------------
  349. Installs the php-phar package.
  350. ``php.ng.posix``
  351. ----------------
  352. Installs the php-posix package.
  353. ``php.ng.pspell``
  354. ----------------
  355. Installs the php-pspell package.
  356. ``php.ng.readline``
  357. ----------------
  358. Installs the php-readline package.
  359. ``php.ng.redis``
  360. ---------------
  361. Installs the php-redis package.
  362. Disabled on opensuse need server:php:extensions repo
  363. ``php.ng.seclib``
  364. --------------
  365. Installs the php-seclib package.
  366. ``php.ng.session``
  367. ------------------
  368. Installs the php-session package.
  369. ``php.ng.snmp``
  370. ---------------
  371. Installs the php-snmp package.
  372. ``php.ng.soap``
  373. ---------------
  374. Installs the php-soap package.
  375. ``php.ng.sqlite``
  376. -----------------
  377. Installs the php-sqlite package,
  378. ``php.ng.ssh2``
  379. -----------------
  380. Installs the php-ssh2 package,
  381. ``php.ng.suhosin``
  382. ------------------
  383. Installs the php-suhosin package.
  384. ``php.ng.svn``
  385. ------------------
  386. Installs the php-svn package.
  387. ``php.ng.sybase``
  388. -------------
  389. Installs the php-sybase package.
  390. ``php.ng.tcpdf``
  391. -------------
  392. Installs the php-tcpdf package.
  393. ``php.ng.tidy``
  394. --------------
  395. Installs the php-tidy package.
  396. ``php.ng.uuid``
  397. --------------
  398. Installs the php-uuid package.
  399. ``php.ng.xcache``
  400. ---------------
  401. Meta-state that combines `php.ng.xcache.install`_ and `php.ng.xcache.ini`_.
  402. ``php.ng.xcache.ini``
  403. ---------------
  404. Manages the php-xcache ini file
  405. ``php.ng.xcache.install``
  406. ---------------
  407. Installs the php-xcache package.
  408. Disabled on opensuse need server:php:extensions repo
  409. ``php.ng.xdebug``
  410. --------------
  411. Installs the php-xdebug package.
  412. ``php.ng.xml``
  413. --------------
  414. Installs the php-xml package.
  415. ``php.ng.xsl``
  416. --------------
  417. Installs the php-xsl package.
  418. ``php.ng.zip``
  419. ----------------
  420. Installs the php-zip package.