Saltstack Official PHP Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

README.rst 11KB

11 lat temu
10 lat temu
10 lat temu
10 lat temu
10 lat temu
10 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
10 lat temu
10 lat temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  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.igbinary``
  269. ------------------
  270. Installs the php-igbinary package.
  271. ``php.ng.imagick``
  272. ------------------
  273. Installs the php-imagick package.
  274. Disabled on opensuse no package.
  275. ``php.ng.imap``
  276. ---------------
  277. Installs the php-imap package.
  278. ``php.ng.intl``
  279. ---------------
  280. Installs the php-intl package.
  281. ``php.ng.json``
  282. ---------------
  283. Installs the php-json package.
  284. ``php.ng.ldap``
  285. ---------------
  286. Installs the php-ldap package.
  287. ``php.ng.mail``
  288. ---------------
  289. Installs the php-mail package.
  290. ``php.ng.mbstring``
  291. -------------------
  292. Installs the php-mbstring package.
  293. ``php.ng.mcrypt``
  294. -----------------
  295. Installs the php-mcrypt package.
  296. ``php.ng.mdb2``
  297. --------------
  298. Installs the php-mdb2 package.
  299. ``php.ng.mdb2-driver-mysql``
  300. --------------
  301. Installs the php-mdb2-driver-mysql package.
  302. ``php.ng.mdb2-driver-pgsql``
  303. --------------
  304. Installs the php-mdb2-driver-pgsql package.
  305. ``php.ng.memcache``
  306. -------------------
  307. Installs the php-memcache package.
  308. Disabled on opensuse need server:php:extensions repo
  309. ``php.ng.memcached``
  310. --------------------
  311. Installs the php-memcached package.
  312. Disabled on opensuse need server:php:extensions repo
  313. ``php.ng.mongo``
  314. --------------------
  315. Installs the php-mongo package.
  316. ``php.ng.mongodb``
  317. --------------------
  318. Installs the php-mongodb package.
  319. ``php.ng.msgpack``
  320. --------------------
  321. Installs the php-msgpack package.
  322. ``php.ng.mysql``
  323. ----------------
  324. Installs the php-mysql package.
  325. ``php.ng.mysqlnd``
  326. ------------------
  327. Installs the php-mysqlnd package.
  328. Disabled on opensuse no package.
  329. ``php.ng.net-smtp``
  330. ---------------
  331. Installs the php-net-smtp package.
  332. ``php.ng.net4``
  333. ---------------
  334. Installs the php-net4 package.
  335. ``php.ng.net6``
  336. ---------------
  337. Installs the php-net6 package.
  338. ``php.ng.oauth``
  339. ---------------
  340. Installs the php-oauth package.
  341. ``php.ng.opcache``
  342. ---------------
  343. Installs the php-opcache package.
  344. ``php.ng.openssl``
  345. ------------------
  346. Installs the php-openssl package.
  347. ``php.ng.pear``
  348. ---------------
  349. Installs the php-pear package.
  350. ``php.ng.pgsql``
  351. ----------------
  352. Installs the php-pgsql package.
  353. ``php.ng.phar``
  354. ---------------
  355. Installs the php-phar package.
  356. ``php.ng.posix``
  357. ----------------
  358. Installs the php-posix package.
  359. ``php.ng.pspell``
  360. ----------------
  361. Installs the php-pspell package.
  362. ``php.ng.readline``
  363. ----------------
  364. Installs the php-readline package.
  365. ``php.ng.redis``
  366. ---------------
  367. Installs the php-redis package.
  368. Disabled on opensuse need server:php:extensions repo
  369. ``php.ng.seclib``
  370. --------------
  371. Installs the php-seclib package.
  372. ``php.ng.session``
  373. ------------------
  374. Installs the php-session package.
  375. ``php.ng.snmp``
  376. ---------------
  377. Installs the php-snmp package.
  378. ``php.ng.soap``
  379. ---------------
  380. Installs the php-soap package.
  381. ``php.ng.sqlite``
  382. -----------------
  383. Installs the php-sqlite package,
  384. ``php.ng.ssh2``
  385. -----------------
  386. Installs the php-ssh2 package,
  387. ``php.ng.suhosin``
  388. ------------------
  389. Installs the php-suhosin package.
  390. ``php.ng.svn``
  391. ------------------
  392. Installs the php-svn package.
  393. ``php.ng.sybase``
  394. -------------
  395. Installs the php-sybase package.
  396. ``php.ng.tcpdf``
  397. -------------
  398. Installs the php-tcpdf package.
  399. ``php.ng.tidy``
  400. --------------
  401. Installs the php-tidy package.
  402. ``php.ng.uuid``
  403. --------------
  404. Installs the php-uuid package.
  405. ``php.ng.xcache``
  406. ---------------
  407. Meta-state that combines `php.ng.xcache.install`_ and `php.ng.xcache.ini`_.
  408. ``php.ng.xcache.ini``
  409. ---------------
  410. Manages the php-xcache ini file
  411. ``php.ng.xcache.install``
  412. ---------------
  413. Installs the php-xcache package.
  414. Disabled on opensuse need server:php:extensions repo
  415. ``php.ng.xdebug``
  416. --------------
  417. Installs the php-xdebug package.
  418. ``php.ng.xml``
  419. --------------
  420. Installs the php-xml package.
  421. ``php.ng.xsl``
  422. --------------
  423. Installs the php-xsl package.
  424. ``php.ng.zip``
  425. ----------------
  426. Installs the php-zip package.