Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

390 lines
9.5KB

  1. # yamllint disable rule:indentation rule:line-length
  2. # Ubuntu-16.04
  3. ---
  4. apache2:
  5. ini:
  6. opts: {}
  7. settings: {}
  8. cli:
  9. ini:
  10. opts: {}
  11. settings:
  12. Assertion:
  13. zend.assertions: -1
  14. Date:
  15. date.timezone: Europe/Paris
  16. PHP:
  17. default_charset: UTF-8
  18. fpm:
  19. config:
  20. conf:
  21. opts: {}
  22. settings: {}
  23. ini:
  24. opts: {}
  25. settings:
  26. Assertion:
  27. zend.assertions: -1
  28. Date:
  29. date.timezone: Europe/Paris
  30. PHP:
  31. cgi.fix_pathinfo: 0
  32. default_charset: UTF-8
  33. expose_php: 'Off'
  34. pools:
  35. ldap-admin.conf:
  36. enabled: true
  37. phpversion: '7.3'
  38. settings:
  39. ldap-admin:
  40. catch_workers_output: 'yes'
  41. group: www-data
  42. listen: /tmp/php-fpm-ldap-admin2.sock
  43. listen.mode: '0666'
  44. php_admin_value[date.timezone]: Europe/Paris
  45. ping.path: /php-ping
  46. pm: static
  47. pm.max_children: 3
  48. pm.max_requests: 500
  49. pm.status_path: /php-status
  50. security.limit_extensions: .php
  51. user: www-data
  52. radius-admin.conf:
  53. enabled: true
  54. phpversion: '5.6'
  55. settings:
  56. radius-admin:
  57. catch_workers_output: 'yes'
  58. group: www-data
  59. listen: /tmp/php-fpm-radius-admin.sock
  60. listen.mode: '0666'
  61. php_admin_value[date.timezone]: Europe/Paris
  62. ping.path: /php-ping
  63. pm: static
  64. pm.max_children: 3
  65. pm.max_requests: 500
  66. pm.status_path: /php-status
  67. security.limit_extensions: .php
  68. user: www-data
  69. service:
  70. enabled: true
  71. opts: {}
  72. hhvm:
  73. config:
  74. php:
  75. opts: {}
  76. settings: {}
  77. server:
  78. opts: {}
  79. settings: {}
  80. service:
  81. enabled: true
  82. opts: {}
  83. ini:
  84. defaults:
  85. CLI Server:
  86. cli_server.color: 'On'
  87. Date:
  88. date.timezone: America/New_York
  89. Interbase:
  90. ibase.allow_persistent: 1
  91. ibase.dateformat: '"%Y-%m-%d"'
  92. ibase.max_links: -1
  93. ibase.max_persistent: -1
  94. ibase.timeformat: '"%H:%M:%S"'
  95. ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
  96. MSSQL:
  97. mssql.allow_persistent: 'On'
  98. mssql.compatibility_mode: 'Off'
  99. mssql.max_links: -1
  100. mssql.max_persistent: -1
  101. mssql.min_error_severity: 10
  102. mssql.min_message_severity: 10
  103. mssql.secure_connection: 'Off'
  104. MySQL:
  105. mysql.allow_local_infile: 'On'
  106. mysql.allow_persistent: 'On'
  107. mysql.cache_size: '2000'
  108. mysql.connect_timeout: 60
  109. mysql.max_links: -1
  110. mysql.max_persistent: -1
  111. mysql.trace_mode: 'Off'
  112. MySQLi:
  113. mysqli.allow_persistent: 'On'
  114. mysqli.cache_size: 2000
  115. mysqli.default_port: 3306
  116. mysqli.max_links: -1
  117. mysqli.max_persistent: -1
  118. mysqli.reconnect: 'Off'
  119. ODBC:
  120. odbc.allow_persistent: 'On'
  121. odbc.check_persistent: 'On'
  122. odbc.defaultbinmode: 1
  123. odbc.defaultlrl: 4096
  124. odbc.max_links: '-1'
  125. odbc.max_persistent: '-1'
  126. PHP:
  127. allow_url_fopen: 'On'
  128. allow_url_include: 'Off'
  129. asp_tags: 'Off'
  130. auto_globals_jit: 'On'
  131. default_mimetype: '"text/html"'
  132. default_socket_timeout: 60
  133. disable_functions:
  134. - pcntl_alarm
  135. - pcntl_fork
  136. - pcntl_waitpid
  137. - pcntl_wait
  138. - pcntl_wifexited
  139. - pcntl_wifstopped
  140. - pcntl_wifsignaled
  141. - pcntl_wexitstatus
  142. - pcntl_wtermsig
  143. - pcntl_wstopsig
  144. - pcntl_signal
  145. - pcntl_signal_dispatch
  146. - pcntl_get_last_error
  147. - pcntl_strerror
  148. - pcntl_sigprocmask
  149. - pcntl_sigwaitinfo
  150. - pcntl_sigtimedwait
  151. - pcntl_exec
  152. - pcntl_getpriority
  153. - pcntl_setpriority
  154. display_errors: 'Off'
  155. display_startup_errors: 'Off'
  156. enable_dl: 'Off'
  157. engine: 'On'
  158. error_reporting:
  159. - E_ALL
  160. - ~E_DEPRECATED
  161. - ~E_STRICT
  162. expose_php: 'On'
  163. file_uploads: 'On'
  164. html_errors: 'On'
  165. ignore_repeated_errors: 'Off'
  166. ignore_repeated_source: 'Off'
  167. implicit_flush: 'Off'
  168. log_errors: 'On'
  169. log_errors_max_len: 1024
  170. max_execution_time: 30
  171. max_file_uploads: 20
  172. max_input_nesting_level: 64
  173. max_input_time: 60
  174. max_input_vars: 1000
  175. memory_limit: 128M
  176. output_buffering: 4096
  177. post_max_size: 8M
  178. precision: 14
  179. register_argc_argv: 'Off'
  180. report_memleaks: 'On'
  181. request_order: GP
  182. serialize_precision: 17
  183. short_open_tag: 'Off'
  184. track_errors: 'Off'
  185. upload_max_filesize: 2M
  186. variables_order: GPCS
  187. zend.enable_gc: 'On'
  188. zlib.output_compression: 'Off'
  189. Pdo_mysql:
  190. pdo_mysql.cache_size: 2000
  191. PostgreSQL:
  192. pgsql.allow_persistent: 'On'
  193. pgsql.auto_reset_persistent: 'Off'
  194. pgsql.ignore_notice: 0
  195. pgsql.log_notice: 0
  196. pgsql.max_links: -1
  197. pgsql.max_persistent: -1
  198. SQL:
  199. sql.safe_mode: 'Off'
  200. Session:
  201. session.auto_start: 0
  202. session.bug_compat_42: 'Off'
  203. session.bug_compat_warn: 'Off'
  204. session.cache_expire: '180'
  205. session.cache_limiter: nocache
  206. session.cookie_lifetime: 0
  207. session.cookie_path: /
  208. session.gc_divisor: 1000
  209. session.gc_maxlifetime: 1440
  210. session.gc_probability: 0
  211. session.hash_bits_per_character: 5
  212. session.hash_function: 0
  213. session.name: PHPSESSID
  214. session.save_handler: files
  215. session.serialize_handler: php
  216. session.use_cookies: 1
  217. session.use_only_cookies: 1
  218. session.use_strict_mode: 0
  219. session.use_trans_sid: 0
  220. url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
  221. Sybase-CT:
  222. sybct.allow_persistent: 'On'
  223. sybct.max_links: -1
  224. sybct.max_persistent: -1
  225. sybct.min_client_severity: 10
  226. sybct.min_server_severity: 10
  227. Tidy:
  228. tidy.clean_output: 'Off'
  229. bcmath:
  230. bcmath.scale: 0
  231. ldap:
  232. ldap.max_links: -1
  233. mail function:
  234. SMTP: localhost
  235. mail.add_x_header: 'On'
  236. mysqlnd:
  237. mysqlnd.collect_memory_statistics: 'Off'
  238. mysqlnd.collect_statistics: 'On'
  239. soap:
  240. soap.wsdl_cache_dir: '"/tmp"'
  241. soap.wsdl_cache_enabled: 1
  242. soap.wsdl_cache_limit: 5
  243. soap.wsdl_cache_ttl: 86400
  244. lookup:
  245. apache2:
  246. ini: /etc/php/5.6/apache2/php.ini
  247. cli:
  248. ini: /etc/php/5.6/cli/php.ini
  249. fpm:
  250. conf: /etc/php/5.6/fpm/php-fpm.conf
  251. defaults:
  252. global:
  253. error_log: /var/log/php5.6-fpm.log
  254. pid: /run/php/php5.6-fpm.pid
  255. include: /etc/php/5.6/fpm/pool.d/*.conf
  256. group: root
  257. ini: /etc/php/5.6/fpm/php.ini
  258. pools: /etc/php/5.6/fpm/pool.d
  259. service: php5.6-fpm
  260. user: root
  261. hhvm:
  262. conf: /etc/hhvm/server.ini
  263. defaults: {}
  264. ini: /etc/hhvm/php.ini
  265. php:
  266. hhvm.log.always_log_unhandled_exceptions: 'true'
  267. hhvm.log.level: Warning
  268. hhvm.log.runtime_error_reporting_level: '8191'
  269. hhvm.mysql.typed_results: 'false'
  270. session.gc_maxlifetime: '1440'
  271. session.save_handler: files
  272. session.save_path: /var/lib/hhvm/sessions
  273. server:
  274. hhvm.log.file: /var/log/hhvm/error.log
  275. hhvm.log.use_log_file: 'true'
  276. hhvm.repo.central.path: /var/run/hhvm/hhvm.hhbc
  277. hhvm.server.default_document: index.php
  278. hhvm.server.port: '9000'
  279. hhvm.server.type: fastcgi
  280. pid: /var/run/hhvm/pid
  281. service: hhvm
  282. pkgs:
  283. adodb: libphp-adodb
  284. apache2: libapache2-mod-php5.6
  285. apc: php-apcu
  286. apcu: php-apcu-bc
  287. auth-sasl: php-auth-sasl
  288. bcmath: php5.6-bcmath
  289. build_pkgs:
  290. - libssl-dev
  291. - libcurl4-openssl-dev
  292. - pkg-config
  293. - libsslcommon2-dev
  294. - gcc
  295. - make
  296. - autoconf
  297. - libc-dev
  298. - pkg-config
  299. bz2: php5.6-bz2
  300. cache-lite: php-cache-lite
  301. cgi: php5.6-cgi
  302. cli: php5.6-cli
  303. composer_bin: composer
  304. console-table: php-console-table
  305. curl: php5.6-curl
  306. dba: php5.6-dba
  307. dev: php5.6-dev
  308. ext_conf_path: /etc/php/5.6/mods-available
  309. fpm: php5.6-fpm
  310. gd: php5.6-gd
  311. gearman: php-gearman
  312. geoip: php-geoip
  313. geshi: php-geshi
  314. gettext: php5.6
  315. gmp: php5.6-gmp
  316. hhvm: hhvm
  317. imagick: php-imagick
  318. imap: php5.6-imap
  319. intl: php5.6-intl
  320. json: php5.6-json
  321. ldap: php5.6-ldap
  322. local_bin: /usr/local/bin
  323. mail: php-mail
  324. mbstring: php5.6-mbstring
  325. mcrypt: php5.6-mcrypt
  326. memcache: php-memcache
  327. memcached: php-memcached
  328. mongo: php-mongo
  329. mongodb: php-mongodb
  330. mysql: php5.6-mysql
  331. mysqlnd: php5.6-mysql
  332. net-smtp: php-net-smtp
  333. net4: php-net-ipv4
  334. net6: php-net-ipv6
  335. oauth: php-oauth
  336. odbc: php-odbc
  337. opcache: php5.6-opcache
  338. pear: php-pear
  339. pgsql: php5.6-pgsql
  340. php: php5.6
  341. phpenmod_command: phpenmod -v5.6
  342. pspell: php5.6-pspell
  343. readline: php5.6-readline
  344. redis: php-redis
  345. seclib:
  346. - php-phpseclib
  347. - php-seclib
  348. snmp: php5.6-snmp
  349. soap: php5.6-soap
  350. sqlite: php5.6-sqlite3
  351. ssh2: php-ssh2
  352. suhosin5_ext: suhosin.so
  353. suhosin5_repo: https://github.com/sektioneins/suhosin
  354. suhosin7_ext: suhosin7.so
  355. suhosin7_repo: https://github.com/sektioneins/suhosin7
  356. sybase: php5.6-sybase
  357. tcpdf: php-tcpdf
  358. temp_dir: /tmp
  359. tidy: php5.6-tidy
  360. xdebug: php-xdebug
  361. xml:
  362. - php5.6-xml
  363. - php5.6-xmlrpc
  364. xsl: php5.6-xsl
  365. zip: php5.6-zip
  366. modules:
  367. - bz2
  368. - cli
  369. - curl
  370. - gd
  371. - imagick
  372. - imap
  373. - intl
  374. - mbstring
  375. - mysql
  376. - readline
  377. - redis
  378. - xdebug
  379. - xml
  380. - zip
  381. repo:
  382. file: /etc/apt/sources.list.d/php-sury.list
  383. humanname: php-sury ppa
  384. key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x14aa40ec0831756756d7f66c4f4ea0aae5267a6c
  385. name: deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
  386. use_external_repo: true
  387. version:
  388. - '5.6'
  389. - '7.3'