cloud-mu 1.9.0.pre.beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (618) hide show
  1. checksums.yaml +7 -0
  2. data/Berksfile +56 -0
  3. data/Berksfile.lock +250 -0
  4. data/Jenkinsfile +184 -0
  5. data/LICENSE.md +37 -0
  6. data/README.md +26 -0
  7. data/bin/mu-aws-setup +376 -0
  8. data/bin/mu-cleanup +68 -0
  9. data/bin/mu-configure +1133 -0
  10. data/bin/mu-deploy +166 -0
  11. data/bin/mu-firewall-allow-clients +30 -0
  12. data/bin/mu-gcp-setup +200 -0
  13. data/bin/mu-gen-docs +34 -0
  14. data/bin/mu-gen-env +42 -0
  15. data/bin/mu-load-config.rb +158 -0
  16. data/bin/mu-node-manage +683 -0
  17. data/bin/mu-self-update +228 -0
  18. data/bin/mu-ssh +23 -0
  19. data/bin/mu-tunnel-nagios +144 -0
  20. data/bin/mu-upload-chef-artifacts +757 -0
  21. data/bin/mu-user-manage +275 -0
  22. data/cookbooks/awscli/LICENSE +37 -0
  23. data/cookbooks/awscli/README.md +58 -0
  24. data/cookbooks/awscli/attributes/default.rb +1 -0
  25. data/cookbooks/awscli/libraries/instance_metadata.rb +21 -0
  26. data/cookbooks/awscli/metadata.rb +20 -0
  27. data/cookbooks/awscli/recipes/default.rb +56 -0
  28. data/cookbooks/awscli/templates/default/config.erb +18 -0
  29. data/cookbooks/mu-activedirectory/CHANGELOG.md +13 -0
  30. data/cookbooks/mu-activedirectory/LICENSE +37 -0
  31. data/cookbooks/mu-activedirectory/README.md +6 -0
  32. data/cookbooks/mu-activedirectory/attributes/default.rb +98 -0
  33. data/cookbooks/mu-activedirectory/files/default/password-auth +32 -0
  34. data/cookbooks/mu-activedirectory/files/default/sshd_pol.pp +0 -0
  35. data/cookbooks/mu-activedirectory/files/default/sshd_pol.te +32 -0
  36. data/cookbooks/mu-activedirectory/files/default/syslogd_oddjobd.pp +0 -0
  37. data/cookbooks/mu-activedirectory/files/default/syslogd_oddjobd.te +10 -0
  38. data/cookbooks/mu-activedirectory/files/default/system-auth +34 -0
  39. data/cookbooks/mu-activedirectory/files/default/winbindpol.pp +0 -0
  40. data/cookbooks/mu-activedirectory/files/default/winbindpol.te +37 -0
  41. data/cookbooks/mu-activedirectory/libraries/config.rb +106 -0
  42. data/cookbooks/mu-activedirectory/libraries/helper.rb +86 -0
  43. data/cookbooks/mu-activedirectory/metadata.rb +17 -0
  44. data/cookbooks/mu-activedirectory/providers/domain.rb +152 -0
  45. data/cookbooks/mu-activedirectory/providers/domain_controller.rb +89 -0
  46. data/cookbooks/mu-activedirectory/providers/domain_node.rb +275 -0
  47. data/cookbooks/mu-activedirectory/recipes/default.rb +8 -0
  48. data/cookbooks/mu-activedirectory/recipes/domain-controller.rb +44 -0
  49. data/cookbooks/mu-activedirectory/recipes/domain-node.rb +50 -0
  50. data/cookbooks/mu-activedirectory/recipes/domain.rb +43 -0
  51. data/cookbooks/mu-activedirectory/recipes/sssd.rb +185 -0
  52. data/cookbooks/mu-activedirectory/resources/domain.rb +25 -0
  53. data/cookbooks/mu-activedirectory/resources/domain_controller.rb +25 -0
  54. data/cookbooks/mu-activedirectory/resources/domain_node.rb +20 -0
  55. data/cookbooks/mu-activedirectory/templates/default/dhclient-eth0.conf.erb +4 -0
  56. data/cookbooks/mu-activedirectory/templates/default/interface +0 -0
  57. data/cookbooks/mu-activedirectory/templates/default/krb5.conf.erb +23 -0
  58. data/cookbooks/mu-activedirectory/templates/default/ntp.conf.erb +56 -0
  59. data/cookbooks/mu-activedirectory/templates/default/smb.conf.erb +33 -0
  60. data/cookbooks/mu-activedirectory/templates/default/sssd.conf.erb +60 -0
  61. data/cookbooks/mu-activedirectory/templates/windows/Backup.xml.erb +20 -0
  62. data/cookbooks/mu-activedirectory/templates/windows/bkupInfo.xml.erb +1 -0
  63. data/cookbooks/mu-activedirectory/templates/windows/gpreprt.xml.erb +198 -0
  64. data/cookbooks/mu-activedirectory/templates/windows/gptmpl.inf.erb +12 -0
  65. data/cookbooks/mu-activedirectory/templates/windows/manifest.xml.erb +1 -0
  66. data/cookbooks/mu-firewall/CHANGELOG.md +11 -0
  67. data/cookbooks/mu-firewall/LICENSE +37 -0
  68. data/cookbooks/mu-firewall/README.md +5 -0
  69. data/cookbooks/mu-firewall/attributes/default.rb +3 -0
  70. data/cookbooks/mu-firewall/metadata.rb +16 -0
  71. data/cookbooks/mu-firewall/recipes/default.rb +10 -0
  72. data/cookbooks/mu-glusterfs/CHANGELOG.md +13 -0
  73. data/cookbooks/mu-glusterfs/LICENSE +37 -0
  74. data/cookbooks/mu-glusterfs/README.md +5 -0
  75. data/cookbooks/mu-glusterfs/attributes/default.rb +34 -0
  76. data/cookbooks/mu-glusterfs/metadata.rb +17 -0
  77. data/cookbooks/mu-glusterfs/recipes/client.rb +62 -0
  78. data/cookbooks/mu-glusterfs/recipes/default.rb +16 -0
  79. data/cookbooks/mu-glusterfs/recipes/samba.rb +57 -0
  80. data/cookbooks/mu-glusterfs/recipes/server.rb +200 -0
  81. data/cookbooks/mu-glusterfs/templates/default/mu-gluster-client.erb +71 -0
  82. data/cookbooks/mu-glusterfs/templates/default/smb.conf.erb +14 -0
  83. data/cookbooks/mu-jenkins/CHANGELOG.md +13 -0
  84. data/cookbooks/mu-jenkins/LICENSE +37 -0
  85. data/cookbooks/mu-jenkins/README.md +105 -0
  86. data/cookbooks/mu-jenkins/attributes/default.rb +42 -0
  87. data/cookbooks/mu-jenkins/files/default/cleanup_deploy_config.xml +73 -0
  88. data/cookbooks/mu-jenkins/files/default/deploy_config.xml +44 -0
  89. data/cookbooks/mu-jenkins/metadata.rb +21 -0
  90. data/cookbooks/mu-jenkins/recipes/default.rb +195 -0
  91. data/cookbooks/mu-jenkins/recipes/node-ssh-config.rb +54 -0
  92. data/cookbooks/mu-jenkins/recipes/public_key.rb +24 -0
  93. data/cookbooks/mu-jenkins/templates/default/example_job.config.xml.erb +24 -0
  94. data/cookbooks/mu-jenkins/templates/default/org.jvnet.hudson.plugins.SSHBuildWrapper.xml.erb +14 -0
  95. data/cookbooks/mu-jenkins/templates/default/ssh_config.erb +6 -0
  96. data/cookbooks/mu-master/CHANGELOG.md +13 -0
  97. data/cookbooks/mu-master/LICENSE +37 -0
  98. data/cookbooks/mu-master/README.md +6 -0
  99. data/cookbooks/mu-master/attributes/default.rb +95 -0
  100. data/cookbooks/mu-master/files/default/0-mu-log-server.conf +19 -0
  101. data/cookbooks/mu-master/files/default/addRSA.ldif +8 -0
  102. data/cookbooks/mu-master/files/default/check_mem.pl +197 -0
  103. data/cookbooks/mu-master/files/default/cloudamatic.png +0 -0
  104. data/cookbooks/mu-master/files/default/dirsrv_admin.pp +0 -0
  105. data/cookbooks/mu-master/files/default/dirsrv_admin.te +13 -0
  106. data/cookbooks/mu-master/files/default/nagios_selinux.pp +0 -0
  107. data/cookbooks/mu-master/files/default/nagios_selinux.te +51 -0
  108. data/cookbooks/mu-master/files/default/nagios_selinux_7.pp +0 -0
  109. data/cookbooks/mu-master/files/default/nagios_selinux_7.te +17 -0
  110. data/cookbooks/mu-master/files/default/pam_sshd +18 -0
  111. data/cookbooks/mu-master/files/default/ssl_enable.ldif +18 -0
  112. data/cookbooks/mu-master/files/default/syslogd_oddjobd.pp +0 -0
  113. data/cookbooks/mu-master/files/default/syslogd_oddjobd.te +10 -0
  114. data/cookbooks/mu-master/files/default/vimrc +19 -0
  115. data/cookbooks/mu-master/libraries/mu.rb +29 -0
  116. data/cookbooks/mu-master/metadata.rb +30 -0
  117. data/cookbooks/mu-master/providers/user.rb +41 -0
  118. data/cookbooks/mu-master/recipes/389ds.rb +164 -0
  119. data/cookbooks/mu-master/recipes/basepackages.rb +58 -0
  120. data/cookbooks/mu-master/recipes/caching_nameserver.rb +37 -0
  121. data/cookbooks/mu-master/recipes/default.rb +451 -0
  122. data/cookbooks/mu-master/recipes/eks-kubectl.rb +41 -0
  123. data/cookbooks/mu-master/recipes/firewall-holes.rb +70 -0
  124. data/cookbooks/mu-master/recipes/init.rb +542 -0
  125. data/cookbooks/mu-master/recipes/ssl-certs.rb +109 -0
  126. data/cookbooks/mu-master/recipes/sssd.rb +89 -0
  127. data/cookbooks/mu-master/recipes/update_nagios_only.rb +242 -0
  128. data/cookbooks/mu-master/recipes/vault.rb +111 -0
  129. data/cookbooks/mu-master/resources/user.rb +19 -0
  130. data/cookbooks/mu-master/templates/default/389-directory-setup.inf.erb +28 -0
  131. data/cookbooks/mu-master/templates/default/chef-server.rb.erb +18 -0
  132. data/cookbooks/mu-master/templates/default/dhclient-eth0.conf.erb +9 -0
  133. data/cookbooks/mu-master/templates/default/mu-momma-cat.erb +149 -0
  134. data/cookbooks/mu-master/templates/default/mu.rc.erb +9 -0
  135. data/cookbooks/mu-master/templates/default/openssl.cnf.erb +354 -0
  136. data/cookbooks/mu-master/templates/default/sssd.conf.erb +44 -0
  137. data/cookbooks/mu-master/templates/default/web_app.conf.erb +90 -0
  138. data/cookbooks/mu-mongo/CHANGELOG.md +13 -0
  139. data/cookbooks/mu-mongo/LICENSE +37 -0
  140. data/cookbooks/mu-mongo/README.md +5 -0
  141. data/cookbooks/mu-mongo/attributes/default.rb +22 -0
  142. data/cookbooks/mu-mongo/files/default/keyfile +16 -0
  143. data/cookbooks/mu-mongo/files/default/remove_nodes.js +5 -0
  144. data/cookbooks/mu-mongo/metadata.rb +17 -0
  145. data/cookbooks/mu-mongo/recipes/default.rb +149 -0
  146. data/cookbooks/mu-mongo/recipes/yum-update-rule.rb +18 -0
  147. data/cookbooks/mu-mongo/templates/default/mongo_create_openfema_db.js.erb +2 -0
  148. data/cookbooks/mu-mongo/templates/default/mongo_init.js.erb +1 -0
  149. data/cookbooks/mu-mongo/templates/default/mongo_logrotate.erb +14 -0
  150. data/cookbooks/mu-mongo/templates/default/mongo_replset_addnodes.js.erb +6 -0
  151. data/cookbooks/mu-mongo/templates/default/replset_init.js.erb +2 -0
  152. data/cookbooks/mu-openvpn/CHANGELOG.md +13 -0
  153. data/cookbooks/mu-openvpn/LICENSE +37 -0
  154. data/cookbooks/mu-openvpn/README.md +6 -0
  155. data/cookbooks/mu-openvpn/attributes/default.rb +119 -0
  156. data/cookbooks/mu-openvpn/metadata.rb +18 -0
  157. data/cookbooks/mu-openvpn/recipes/default.rb +108 -0
  158. data/cookbooks/mu-openvpn/templates/default/users.json.erb +42 -0
  159. data/cookbooks/mu-php54/CHANGELOG.md +12 -0
  160. data/cookbooks/mu-php54/LICENSE +37 -0
  161. data/cookbooks/mu-php54/README.md +0 -0
  162. data/cookbooks/mu-php54/files/centos/php.ini +1802 -0
  163. data/cookbooks/mu-php54/files/ubuntu/php.ini +1870 -0
  164. data/cookbooks/mu-php54/metadata.rb +21 -0
  165. data/cookbooks/mu-php54/recipes/default.rb +97 -0
  166. data/cookbooks/mu-splunk/CHANGELOG.md +37 -0
  167. data/cookbooks/mu-splunk/LICENSE +37 -0
  168. data/cookbooks/mu-splunk/README.md +451 -0
  169. data/cookbooks/mu-splunk/attributes/default.rb +95 -0
  170. data/cookbooks/mu-splunk/attributes/upgrade.rb +49 -0
  171. data/cookbooks/mu-splunk/definitions/splunk_installer.rb +103 -0
  172. data/cookbooks/mu-splunk/files/default/splunk-nocheck +10 -0
  173. data/cookbooks/mu-splunk/libraries/helpers.rb +72 -0
  174. data/cookbooks/mu-splunk/libraries/splunk_app_provider.rb +156 -0
  175. data/cookbooks/mu-splunk/libraries/splunk_app_resource.rb +43 -0
  176. data/cookbooks/mu-splunk/metadata.json +30 -0
  177. data/cookbooks/mu-splunk/metadata.rb +17 -0
  178. data/cookbooks/mu-splunk/recipes/client.rb +143 -0
  179. data/cookbooks/mu-splunk/recipes/default.rb +31 -0
  180. data/cookbooks/mu-splunk/recipes/disabled.rb +41 -0
  181. data/cookbooks/mu-splunk/recipes/install_forwarder.rb +23 -0
  182. data/cookbooks/mu-splunk/recipes/install_server.rb +23 -0
  183. data/cookbooks/mu-splunk/recipes/server.rb +53 -0
  184. data/cookbooks/mu-splunk/recipes/service.rb +95 -0
  185. data/cookbooks/mu-splunk/recipes/setup_auth.rb +49 -0
  186. data/cookbooks/mu-splunk/recipes/setup_ssl.rb +63 -0
  187. data/cookbooks/mu-splunk/recipes/upgrade.rb +94 -0
  188. data/cookbooks/mu-splunk/recipes/user.rb +34 -0
  189. data/cookbooks/mu-splunk/templates/default/base_logs_unix_inputs.conf.erb +26 -0
  190. data/cookbooks/mu-splunk/templates/default/inputs.conf.erb +13 -0
  191. data/cookbooks/mu-splunk/templates/default/outputs.conf.erb +9 -0
  192. data/cookbooks/mu-splunk/templates/default/splunk-init.erb +74 -0
  193. data/cookbooks/mu-splunk/templates/default/system-web.conf.erb +7 -0
  194. data/cookbooks/mu-tools/CHANGELOG.md +12 -0
  195. data/cookbooks/mu-tools/LICENSE +37 -0
  196. data/cookbooks/mu-tools/README.md +188 -0
  197. data/cookbooks/mu-tools/attributes/default.rb +142 -0
  198. data/cookbooks/mu-tools/attributes/ebs_rolling_snapshots.rb +3 -0
  199. data/cookbooks/mu-tools/files/amazon/etc/freshclam.conf +235 -0
  200. data/cookbooks/mu-tools/files/centos/CentOS-Base.repo +52 -0
  201. data/cookbooks/mu-tools/files/centos/etc/bashrc +93 -0
  202. data/cookbooks/mu-tools/files/centos/etc/freshclam.conf +235 -0
  203. data/cookbooks/mu-tools/files/centos/etc/login.defs +72 -0
  204. data/cookbooks/mu-tools/files/centos/etc/profile +77 -0
  205. data/cookbooks/mu-tools/files/centos/etc/security/limits.conf +57 -0
  206. data/cookbooks/mu-tools/files/centos/etc/sysconfig/init +19 -0
  207. data/cookbooks/mu-tools/files/centos/etc/sysctl.conf +82 -0
  208. data/cookbooks/mu-tools/files/centos-6/README_MU +0 -0
  209. data/cookbooks/mu-tools/files/centos-6/etc/audit/stig.rules +173 -0
  210. data/cookbooks/mu-tools/files/centos-6/etc/bashrc +90 -0
  211. data/cookbooks/mu-tools/files/centos-6/etc/login.defs +70 -0
  212. data/cookbooks/mu-tools/files/centos-6/etc/pam.d/su +12 -0
  213. data/cookbooks/mu-tools/files/centos-6/etc/profile +83 -0
  214. data/cookbooks/mu-tools/files/centos-6/etc/securetty +12 -0
  215. data/cookbooks/mu-tools/files/centos-6/etc/sysconfig/init +30 -0
  216. data/cookbooks/mu-tools/files/centos-6/etc/sysctl.conf +40 -0
  217. data/cookbooks/mu-tools/files/default/Mu_CA.pem +34 -0
  218. data/cookbooks/mu-tools/files/default/PSWindowsUpdate.zip +0 -0
  219. data/cookbooks/mu-tools/files/default/ebs_snapshots.py +123 -0
  220. data/cookbooks/mu-tools/files/default/etc/BANNER +0 -0
  221. data/cookbooks/mu-tools/files/default/etc/BANNER-FEDERAL +19 -0
  222. data/cookbooks/mu-tools/files/default/gpo_no_uac.zip +0 -0
  223. data/cookbooks/mu-tools/files/default/mypol.pp +0 -0
  224. data/cookbooks/mu-tools/files/default/mypol.te +37 -0
  225. data/cookbooks/mu-tools/files/default/nrpe_c7.pp +0 -0
  226. data/cookbooks/mu-tools/files/default/nrpe_c7.te +31 -0
  227. data/cookbooks/mu-tools/files/default/nrpe_check_disk.pp +0 -0
  228. data/cookbooks/mu-tools/files/default/nrpe_check_disk.te +11 -0
  229. data/cookbooks/mu-tools/files/default/nrpe_disk.pp +0 -0
  230. data/cookbooks/mu-tools/files/default/nrpe_disk.te +10 -0
  231. data/cookbooks/mu-tools/files/default/nrpe_file.pp +0 -0
  232. data/cookbooks/mu-tools/files/default/nrpe_file.te +31 -0
  233. data/cookbooks/mu-tools/files/default/ntrights +0 -0
  234. data/cookbooks/mu-tools/files/default/serverclass.conf +18 -0
  235. data/cookbooks/mu-tools/files/default/splunk-apps/base_logs_unix/local/app.conf +1 -0
  236. data/cookbooks/mu-tools/files/default/splunk-apps/base_logs_unix/local/inputs.conf +13 -0
  237. data/cookbooks/mu-tools/files/default/splunk-apps/base_logs_windows/local/app.conf +1 -0
  238. data/cookbooks/mu-tools/files/default/splunk-apps/base_logs_windows/local/inputs.conf +8 -0
  239. data/cookbooks/mu-tools/files/default/sshd_pol.pp +0 -0
  240. data/cookbooks/mu-tools/files/default/sshd_pol.te +32 -0
  241. data/cookbooks/mu-tools/files/redhat/etc/bashrc +93 -0
  242. data/cookbooks/mu-tools/files/redhat/etc/freshclam.conf +235 -0
  243. data/cookbooks/mu-tools/files/redhat/etc/login.defs +72 -0
  244. data/cookbooks/mu-tools/files/redhat/etc/profile +77 -0
  245. data/cookbooks/mu-tools/files/redhat/etc/security/limits.conf +57 -0
  246. data/cookbooks/mu-tools/files/redhat/etc/sysconfig/init +19 -0
  247. data/cookbooks/mu-tools/files/redhat/etc/sysctl.conf +82 -0
  248. data/cookbooks/mu-tools/files/redhat-6/README_MU +0 -0
  249. data/cookbooks/mu-tools/files/redhat-6/etc/audit/stig.rules +173 -0
  250. data/cookbooks/mu-tools/files/redhat-6/etc/bashrc +90 -0
  251. data/cookbooks/mu-tools/files/redhat-6/etc/login.defs +70 -0
  252. data/cookbooks/mu-tools/files/redhat-6/etc/pam.d/su +12 -0
  253. data/cookbooks/mu-tools/files/redhat-6/etc/profile +83 -0
  254. data/cookbooks/mu-tools/files/redhat-6/etc/securetty +12 -0
  255. data/cookbooks/mu-tools/files/redhat-6/etc/sysconfig/init +30 -0
  256. data/cookbooks/mu-tools/files/redhat-6/etc/sysctl.conf +40 -0
  257. data/cookbooks/mu-tools/files/redhat-7.1/etc/freshclam.conf +235 -0
  258. data/cookbooks/mu-tools/files/ubuntu-12.04/etc/bash.bashrc +64 -0
  259. data/cookbooks/mu-tools/files/ubuntu-12.04/etc/common-session +30 -0
  260. data/cookbooks/mu-tools/files/ubuntu-12.04/etc/login.defs +338 -0
  261. data/cookbooks/mu-tools/files/ubuntu-12.04/etc/profile +30 -0
  262. data/cookbooks/mu-tools/files/ubuntu-12.04/etc/security/limits.conf +56 -0
  263. data/cookbooks/mu-tools/files/ubuntu-12.04/etc/sysctl.conf +60 -0
  264. data/cookbooks/mu-tools/libraries/helper.rb +292 -0
  265. data/cookbooks/mu-tools/metadata.rb +28 -0
  266. data/cookbooks/mu-tools/recipes/add_admin_ssh_keys.rb +35 -0
  267. data/cookbooks/mu-tools/recipes/apply_security.rb +440 -0
  268. data/cookbooks/mu-tools/recipes/aws_api.rb +23 -0
  269. data/cookbooks/mu-tools/recipes/base_repositories.rb +31 -0
  270. data/cookbooks/mu-tools/recipes/cisbenchmark.rb +59 -0
  271. data/cookbooks/mu-tools/recipes/clamav.rb +53 -0
  272. data/cookbooks/mu-tools/recipes/cloudinit.rb +58 -0
  273. data/cookbooks/mu-tools/recipes/configure_oracle_tools.rb +81 -0
  274. data/cookbooks/mu-tools/recipes/disable-requiretty.rb +22 -0
  275. data/cookbooks/mu-tools/recipes/ebs_rolling_snapshots.rb +75 -0
  276. data/cookbooks/mu-tools/recipes/efs.rb +70 -0
  277. data/cookbooks/mu-tools/recipes/eks.rb +160 -0
  278. data/cookbooks/mu-tools/recipes/gcloud.rb +98 -0
  279. data/cookbooks/mu-tools/recipes/google_api.rb +25 -0
  280. data/cookbooks/mu-tools/recipes/maldet.rb +67 -0
  281. data/cookbooks/mu-tools/recipes/nagios.rb +19 -0
  282. data/cookbooks/mu-tools/recipes/newclient.rb +23 -0
  283. data/cookbooks/mu-tools/recipes/nrpe.rb +115 -0
  284. data/cookbooks/mu-tools/recipes/python_pip.rb +35 -0
  285. data/cookbooks/mu-tools/recipes/retrieve_application.rb +51 -0
  286. data/cookbooks/mu-tools/recipes/rsyslog.rb +65 -0
  287. data/cookbooks/mu-tools/recipes/set_local_fw.rb +57 -0
  288. data/cookbooks/mu-tools/recipes/set_mu_hostname.rb +81 -0
  289. data/cookbooks/mu-tools/recipes/split_var_partitions.rb +86 -0
  290. data/cookbooks/mu-tools/recipes/splunk-client.rb +69 -0
  291. data/cookbooks/mu-tools/recipes/splunk-server.rb +104 -0
  292. data/cookbooks/mu-tools/recipes/store_inspec_attr.rb +8 -0
  293. data/cookbooks/mu-tools/recipes/updates.rb +96 -0
  294. data/cookbooks/mu-tools/recipes/windows-client.rb +202 -0
  295. data/cookbooks/mu-tools/resources/aws_windows.rb +33 -0
  296. data/cookbooks/mu-tools/resources/disk.rb +88 -0
  297. data/cookbooks/mu-tools/resources/mommacat_request.rb +11 -0
  298. data/cookbooks/mu-tools/resources/scheduled_tasks.rb +29 -0
  299. data/cookbooks/mu-tools/resources/sshd_service.rb +45 -0
  300. data/cookbooks/mu-tools/resources/windows_users.rb +242 -0
  301. data/cookbooks/mu-tools/templates/amazon/sshd_config.erb +168 -0
  302. data/cookbooks/mu-tools/templates/centos-6/sshd_config.erb +212 -0
  303. data/cookbooks/mu-tools/templates/centos-7/sshd_config.erb +215 -0
  304. data/cookbooks/mu-tools/templates/default/0-mu-log-client.conf.erb +13 -0
  305. data/cookbooks/mu-tools/templates/default/conf.maldet.erb +137 -0
  306. data/cookbooks/mu-tools/templates/default/etc_hosts.erb +30 -0
  307. data/cookbooks/mu-tools/templates/default/etc_pamd_password-auth.erb +14 -0
  308. data/cookbooks/mu-tools/templates/default/etc_pamd_system-auth.erb +14 -0
  309. data/cookbooks/mu-tools/templates/default/etc_sysconfig_network.erb +12 -0
  310. data/cookbooks/mu-tools/templates/default/kubeconfig.erb +29 -0
  311. data/cookbooks/mu-tools/templates/default/kubelet.service.erb +35 -0
  312. data/cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb +15 -0
  313. data/cookbooks/mu-tools/templates/default/nrpe.cfg.erb +233 -0
  314. data/cookbooks/mu-tools/templates/redhat-6/sshd_config.erb +213 -0
  315. data/cookbooks/mu-tools/templates/redhat-7/sshd_config.erb +215 -0
  316. data/cookbooks/mu-tools/templates/ubuntu-12.04/sshd_config.erb +146 -0
  317. data/cookbooks/mu-tools/templates/ubuntu-14.04/sshd_config.erb +145 -0
  318. data/cookbooks/mu-tools/templates/windows/Backup.xml.erb +20 -0
  319. data/cookbooks/mu-tools/templates/windows/bkupInfo.xml.erb +1 -0
  320. data/cookbooks/mu-tools/templates/windows/gpreprt.xml.erb +214 -0
  321. data/cookbooks/mu-tools/templates/windows/gptmpl.inf.erb +12 -0
  322. data/cookbooks/mu-tools/templates/windows/manifest.xml.erb +1 -0
  323. data/cookbooks/mu-tools/templates/windows/set_ad_dns_scheduled_task.ps1.erb +6 -0
  324. data/cookbooks/mu-tools/templates/windows/sshd_config.erb +136 -0
  325. data/cookbooks/mu-utility/CHANGELOG.md +12 -0
  326. data/cookbooks/mu-utility/LICENSE +37 -0
  327. data/cookbooks/mu-utility/README.md +6 -0
  328. data/cookbooks/mu-utility/attributes/default.rb +1 -0
  329. data/cookbooks/mu-utility/libraries/matchers.rb +21 -0
  330. data/cookbooks/mu-utility/metadata.rb +16 -0
  331. data/cookbooks/mu-utility/recipes/apt.rb +23 -0
  332. data/cookbooks/mu-utility/recipes/cleanup_image_helper.rb +118 -0
  333. data/cookbooks/mu-utility/recipes/iptables.rb +26 -0
  334. data/cookbooks/mu-utility/recipes/luks.rb +18 -0
  335. data/cookbooks/mu-utility/recipes/nat.rb +104 -0
  336. data/cookbooks/mu-utility/recipes/php.rb +33 -0
  337. data/cookbooks/mu-utility/recipes/rdp_gateway.rb +83 -0
  338. data/cookbooks/mu-utility/recipes/remi.rb +44 -0
  339. data/cookbooks/mu-utility/recipes/vim.rb +26 -0
  340. data/cookbooks/mu-utility/recipes/windows_basics.rb +37 -0
  341. data/cookbooks/mu-utility/recipes/zip.rb +26 -0
  342. data/cookbooks/mu-utility/templates/default/BundleConfig.xml.erb +34 -0
  343. data/cookbooks/mu-utility/templates/default/config.xml.erb +60 -0
  344. data/cookbooks/nagios/Berksfile +8 -0
  345. data/cookbooks/nagios/CHANGELOG.md +589 -0
  346. data/cookbooks/nagios/CONTRIBUTING.md +11 -0
  347. data/cookbooks/nagios/LICENSE +37 -0
  348. data/cookbooks/nagios/README.md +328 -0
  349. data/cookbooks/nagios/TESTING.md +2 -0
  350. data/cookbooks/nagios/attributes/config.rb +171 -0
  351. data/cookbooks/nagios/attributes/default.rb +228 -0
  352. data/cookbooks/nagios/chefignore +102 -0
  353. data/cookbooks/nagios/definitions/command.rb +33 -0
  354. data/cookbooks/nagios/definitions/contact.rb +33 -0
  355. data/cookbooks/nagios/definitions/contactgroup.rb +33 -0
  356. data/cookbooks/nagios/definitions/host.rb +33 -0
  357. data/cookbooks/nagios/definitions/hostdependency.rb +33 -0
  358. data/cookbooks/nagios/definitions/hostescalation.rb +34 -0
  359. data/cookbooks/nagios/definitions/hostgroup.rb +33 -0
  360. data/cookbooks/nagios/definitions/nagios_conf.rb +38 -0
  361. data/cookbooks/nagios/definitions/resource.rb +33 -0
  362. data/cookbooks/nagios/definitions/service.rb +33 -0
  363. data/cookbooks/nagios/definitions/servicedependency.rb +33 -0
  364. data/cookbooks/nagios/definitions/serviceescalation.rb +34 -0
  365. data/cookbooks/nagios/definitions/servicegroup.rb +33 -0
  366. data/cookbooks/nagios/definitions/timeperiod.rb +33 -0
  367. data/cookbooks/nagios/libraries/base.rb +314 -0
  368. data/cookbooks/nagios/libraries/command.rb +91 -0
  369. data/cookbooks/nagios/libraries/contact.rb +230 -0
  370. data/cookbooks/nagios/libraries/contactgroup.rb +112 -0
  371. data/cookbooks/nagios/libraries/custom_option.rb +36 -0
  372. data/cookbooks/nagios/libraries/data_bag_helper.rb +23 -0
  373. data/cookbooks/nagios/libraries/default.rb +90 -0
  374. data/cookbooks/nagios/libraries/host.rb +412 -0
  375. data/cookbooks/nagios/libraries/hostdependency.rb +181 -0
  376. data/cookbooks/nagios/libraries/hostescalation.rb +173 -0
  377. data/cookbooks/nagios/libraries/hostgroup.rb +119 -0
  378. data/cookbooks/nagios/libraries/nagios.rb +282 -0
  379. data/cookbooks/nagios/libraries/resource.rb +59 -0
  380. data/cookbooks/nagios/libraries/service.rb +455 -0
  381. data/cookbooks/nagios/libraries/servicedependency.rb +215 -0
  382. data/cookbooks/nagios/libraries/serviceescalation.rb +195 -0
  383. data/cookbooks/nagios/libraries/servicegroup.rb +144 -0
  384. data/cookbooks/nagios/libraries/timeperiod.rb +160 -0
  385. data/cookbooks/nagios/libraries/users_helper.rb +54 -0
  386. data/cookbooks/nagios/metadata.rb +25 -0
  387. data/cookbooks/nagios/recipes/_load_databag_config.rb +153 -0
  388. data/cookbooks/nagios/recipes/_load_default_config.rb +241 -0
  389. data/cookbooks/nagios/recipes/apache.rb +48 -0
  390. data/cookbooks/nagios/recipes/default.rb +204 -0
  391. data/cookbooks/nagios/recipes/nginx.rb +82 -0
  392. data/cookbooks/nagios/recipes/pagerduty.rb +143 -0
  393. data/cookbooks/nagios/recipes/server_package.rb +40 -0
  394. data/cookbooks/nagios/recipes/server_source.rb +164 -0
  395. data/cookbooks/nagios/templates/default/apache2.conf.erb +96 -0
  396. data/cookbooks/nagios/templates/default/cgi.cfg.erb +266 -0
  397. data/cookbooks/nagios/templates/default/commands.cfg.erb +13 -0
  398. data/cookbooks/nagios/templates/default/contacts.cfg.erb +37 -0
  399. data/cookbooks/nagios/templates/default/hostgroups.cfg.erb +25 -0
  400. data/cookbooks/nagios/templates/default/hosts.cfg.erb +15 -0
  401. data/cookbooks/nagios/templates/default/htpasswd.users.erb +6 -0
  402. data/cookbooks/nagios/templates/default/nagios.cfg.erb +22 -0
  403. data/cookbooks/nagios/templates/default/nginx.conf.erb +62 -0
  404. data/cookbooks/nagios/templates/default/pagerduty.cgi.erb +185 -0
  405. data/cookbooks/nagios/templates/default/resource.cfg.erb +27 -0
  406. data/cookbooks/nagios/templates/default/servicedependencies.cfg.erb +15 -0
  407. data/cookbooks/nagios/templates/default/servicegroups.cfg.erb +14 -0
  408. data/cookbooks/nagios/templates/default/services.cfg.erb +14 -0
  409. data/cookbooks/nagios/templates/default/templates.cfg.erb +31 -0
  410. data/cookbooks/nagios/templates/default/timeperiods.cfg.erb +13 -0
  411. data/cookbooks/s3fs/CHANGELOG.md +13 -0
  412. data/cookbooks/s3fs/LICENSE +37 -0
  413. data/cookbooks/s3fs/README.md +6 -0
  414. data/cookbooks/s3fs/attributes/default.rb +15 -0
  415. data/cookbooks/s3fs/files/default/fuse-2.9.3.zip +0 -0
  416. data/cookbooks/s3fs/metadata.rb +16 -0
  417. data/cookbooks/s3fs/recipes/default.rb +91 -0
  418. data/data_bags/demo/app.json +7 -0
  419. data/data_bags/nagios_services/chef.json +6 -0
  420. data/data_bags/nagios_services/linux_diskspace.json +5 -0
  421. data/data_bags/nagios_services/momma_cat.json +6 -0
  422. data/data_bags/nagios_services/mu-master-memory.json +5 -0
  423. data/data_bags/nagios_services/nagios_ui.json +6 -0
  424. data/data_bags/nagios_services/node_ssh.json +6 -0
  425. data/data_bags/nagios_services/ssh.json +6 -0
  426. data/demo/lambda_test.yaml +29 -0
  427. data/environments/DEV.json +8 -0
  428. data/environments/PROD.json +8 -0
  429. data/environments/dev.json +8 -0
  430. data/environments/development.json +8 -0
  431. data/environments/prod.json +8 -0
  432. data/extras/README.md +1 -0
  433. data/extras/admin-role-binding.yaml +16 -0
  434. data/extras/admin-user.yaml +6 -0
  435. data/extras/aws-auth-cm.yaml.erb +12 -0
  436. data/extras/clean-stock-amis +48 -0
  437. data/extras/git-fix-permissions-hook +12 -0
  438. data/extras/gitlab-eks-helper.sh.erb +20 -0
  439. data/extras/image-generators/README.md +2 -0
  440. data/extras/image-generators/aws/centos6.yaml +18 -0
  441. data/extras/image-generators/aws/centos7-govcloud.yaml +24 -0
  442. data/extras/image-generators/aws/centos7.yaml +17 -0
  443. data/extras/image-generators/aws/rhel7.yaml +17 -0
  444. data/extras/image-generators/aws/win2k12.yaml +16 -0
  445. data/extras/image-generators/aws/win2k16.yaml +16 -0
  446. data/extras/image-generators/aws/windows.yaml +18 -0
  447. data/extras/image-generators/gcp/centos6.yaml +17 -0
  448. data/extras/lambda_waf_domain_blacklist.py +103 -0
  449. data/extras/platform_berksfile_base +50 -0
  450. data/extras/ruby_rpm/build.sh +17 -0
  451. data/extras/ruby_rpm/muby.spec +44 -0
  452. data/extras/vault_tools/README.md +6 -0
  453. data/extras/vault_tools/export_vaults.sh +3 -0
  454. data/extras/vault_tools/recreate_vaults.sh +5 -0
  455. data/extras/vault_tools/test_vaults.sh +5 -0
  456. data/install/README.md +8 -0
  457. data/install/cfn_create_mu_master.json +1034 -0
  458. data/install/chef-server.rb.erb +19 -0
  459. data/install/deprecated-bash-library.sh +1891 -0
  460. data/install/images/Usage.png +0 -0
  461. data/install/installer +71 -0
  462. data/install/jenkinskeys.rb +8 -0
  463. data/install/user-dot-murc.erb +14 -0
  464. data/modules/html.erb +19 -0
  465. data/modules/mommacat.ru +426 -0
  466. data/modules/mu/cleanup.rb +339 -0
  467. data/modules/mu/cloud.rb +1446 -0
  468. data/modules/mu/clouds/README.md +201 -0
  469. data/modules/mu/clouds/aws/alarm.rb +319 -0
  470. data/modules/mu/clouds/aws/cache_cluster.rb +1010 -0
  471. data/modules/mu/clouds/aws/collection.rb +373 -0
  472. data/modules/mu/clouds/aws/container_cluster.rb +667 -0
  473. data/modules/mu/clouds/aws/database.rb +1836 -0
  474. data/modules/mu/clouds/aws/dnszone.rb +911 -0
  475. data/modules/mu/clouds/aws/firewall_rule.rb +641 -0
  476. data/modules/mu/clouds/aws/folder.rb +92 -0
  477. data/modules/mu/clouds/aws/function.rb +349 -0
  478. data/modules/mu/clouds/aws/group.rb +251 -0
  479. data/modules/mu/clouds/aws/loadbalancer.rb +888 -0
  480. data/modules/mu/clouds/aws/log.rb +363 -0
  481. data/modules/mu/clouds/aws/msg_queue.rb +480 -0
  482. data/modules/mu/clouds/aws/notification.rb +139 -0
  483. data/modules/mu/clouds/aws/role.rb +656 -0
  484. data/modules/mu/clouds/aws/search_domain.rb +646 -0
  485. data/modules/mu/clouds/aws/server.rb +2294 -0
  486. data/modules/mu/clouds/aws/server_pool.rb +1388 -0
  487. data/modules/mu/clouds/aws/storage_pool.rb +495 -0
  488. data/modules/mu/clouds/aws/user.rb +382 -0
  489. data/modules/mu/clouds/aws/userdata/README.md +4 -0
  490. data/modules/mu/clouds/aws/userdata/linux.erb +179 -0
  491. data/modules/mu/clouds/aws/userdata/windows.erb +278 -0
  492. data/modules/mu/clouds/aws/vpc.rb +1943 -0
  493. data/modules/mu/clouds/aws.rb +1009 -0
  494. data/modules/mu/clouds/cloudformation/alarm.rb +146 -0
  495. data/modules/mu/clouds/cloudformation/cache_cluster.rb +167 -0
  496. data/modules/mu/clouds/cloudformation/collection.rb +117 -0
  497. data/modules/mu/clouds/cloudformation/database.rb +278 -0
  498. data/modules/mu/clouds/cloudformation/dnszone.rb +274 -0
  499. data/modules/mu/clouds/cloudformation/firewall_rule.rb +308 -0
  500. data/modules/mu/clouds/cloudformation/loadbalancer.rb +193 -0
  501. data/modules/mu/clouds/cloudformation/log.rb +170 -0
  502. data/modules/mu/clouds/cloudformation/server.rb +370 -0
  503. data/modules/mu/clouds/cloudformation/server_pool.rb +279 -0
  504. data/modules/mu/clouds/cloudformation/vpc.rb +322 -0
  505. data/modules/mu/clouds/cloudformation.rb +733 -0
  506. data/modules/mu/clouds/docker.rb +30 -0
  507. data/modules/mu/clouds/google/container_cluster.rb +290 -0
  508. data/modules/mu/clouds/google/database.rb +152 -0
  509. data/modules/mu/clouds/google/firewall_rule.rb +267 -0
  510. data/modules/mu/clouds/google/group.rb +164 -0
  511. data/modules/mu/clouds/google/loadbalancer.rb +479 -0
  512. data/modules/mu/clouds/google/server.rb +1510 -0
  513. data/modules/mu/clouds/google/server_pool.rb +274 -0
  514. data/modules/mu/clouds/google/user.rb +266 -0
  515. data/modules/mu/clouds/google/userdata/README.md +4 -0
  516. data/modules/mu/clouds/google/userdata/linux.erb +137 -0
  517. data/modules/mu/clouds/google/userdata/windows.erb +275 -0
  518. data/modules/mu/clouds/google/vpc.rb +890 -0
  519. data/modules/mu/clouds/google.rb +811 -0
  520. data/modules/mu/config/README.md +11 -0
  521. data/modules/mu/config/alarm.rb +271 -0
  522. data/modules/mu/config/cache_cluster.rb +172 -0
  523. data/modules/mu/config/collection.rb +87 -0
  524. data/modules/mu/config/container_cluster.rb +103 -0
  525. data/modules/mu/config/container_cluster.yml +36 -0
  526. data/modules/mu/config/database.rb +458 -0
  527. data/modules/mu/config/database.yml +26 -0
  528. data/modules/mu/config/dnszone.rb +327 -0
  529. data/modules/mu/config/firewall_rule.rb +118 -0
  530. data/modules/mu/config/folder.rb +70 -0
  531. data/modules/mu/config/function.rb +140 -0
  532. data/modules/mu/config/group.rb +64 -0
  533. data/modules/mu/config/loadbalancer.rb +482 -0
  534. data/modules/mu/config/log.rb +47 -0
  535. data/modules/mu/config/log.yml +6 -0
  536. data/modules/mu/config/msg_queue.rb +47 -0
  537. data/modules/mu/config/msg_queue.yml +9 -0
  538. data/modules/mu/config/notification.rb +44 -0
  539. data/modules/mu/config/project.rb +71 -0
  540. data/modules/mu/config/role.rb +102 -0
  541. data/modules/mu/config/search_domain.rb +61 -0
  542. data/modules/mu/config/search_domain.yml +25 -0
  543. data/modules/mu/config/server.rb +587 -0
  544. data/modules/mu/config/server.yml +8 -0
  545. data/modules/mu/config/server_pool.rb +216 -0
  546. data/modules/mu/config/server_pool.yml +71 -0
  547. data/modules/mu/config/storage_pool.rb +145 -0
  548. data/modules/mu/config/user.rb +78 -0
  549. data/modules/mu/config/vpc.rb +743 -0
  550. data/modules/mu/config/vpc.yml +6 -0
  551. data/modules/mu/config.rb +2000 -0
  552. data/modules/mu/defaults/README.md +2 -0
  553. data/modules/mu/defaults/amazon_images.yaml +121 -0
  554. data/modules/mu/defaults/google_images.yaml +16 -0
  555. data/modules/mu/deploy.rb +686 -0
  556. data/modules/mu/groomer.rb +123 -0
  557. data/modules/mu/groomers/README.md +58 -0
  558. data/modules/mu/groomers/chef.rb +1024 -0
  559. data/modules/mu/kittens.rb +11319 -0
  560. data/modules/mu/logger.rb +208 -0
  561. data/modules/mu/master/README.md +27 -0
  562. data/modules/mu/master/chef.rb +471 -0
  563. data/modules/mu/master/ldap.rb +1005 -0
  564. data/modules/mu/master.rb +415 -0
  565. data/modules/mu/mommacat.rb +2703 -0
  566. data/modules/mu-load-config.rb +1 -0
  567. data/modules/mu.rb +724 -0
  568. data/modules/scratchpad.erb +1 -0
  569. data/modules/tests/super_complex_bok.yml +41 -0
  570. data/modules/tests/super_simple_bok.yml +40 -0
  571. data/mu.gemspec +62 -0
  572. data/roles/demo-dbservice-configure.json +19 -0
  573. data/roles/demo-portal-configure.json +19 -0
  574. data/roles/mu-master-jenkins.json +24 -0
  575. data/roles/mu-master-nagios-only.json +13 -0
  576. data/roles/mu-master.json +12 -0
  577. data/roles/mu-node.json +19 -0
  578. data/roles/mu-splunk-server.json +13 -0
  579. data/roles/mu-splunk.json +13 -0
  580. data/test/clean_up.py +25 -0
  581. data/test/demo-test-profile/README.md +3 -0
  582. data/test/demo-test-profile/controls/flask.rb +84 -0
  583. data/test/demo-test-profile/inspec.lock +7 -0
  584. data/test/demo-test-profile/inspec.yml +11 -0
  585. data/test/etco-test-profile/README.md +3 -0
  586. data/test/etco-test-profile/controls/all-in-one.rb +182 -0
  587. data/test/etco-test-profile/inspec.lock +7 -0
  588. data/test/etco-test-profile/inspec.yml +11 -0
  589. data/test/exec_inspec.py +246 -0
  590. data/test/exec_mu_install.py +241 -0
  591. data/test/exec_retry.py +44 -0
  592. data/test/mu-master-test/README.md +3 -0
  593. data/test/mu-master-test/controls/all_in_one.rb +557 -0
  594. data/test/mu-master-test/inspec.lock +3 -0
  595. data/test/mu-master-test/inspec.yml +11 -0
  596. data/test/mu-tools-test/README.md +3 -0
  597. data/test/mu-tools-test/controls/base.rb +265 -0
  598. data/test/mu-tools-test/inspec.lock +3 -0
  599. data/test/mu-tools-test/inspec.yml +8 -0
  600. data/test/simple-server-php-test/README.md +3 -0
  601. data/test/simple-server-php-test/controls/apachephp.rb +25 -0
  602. data/test/simple-server-php-test/controls/example.rb +19 -0
  603. data/test/simple-server-php-test/inspec.lock +7 -0
  604. data/test/simple-server-php-test/inspec.yml +12 -0
  605. data/test/simple-server-rails-test/README.md +3 -0
  606. data/test/simple-server-rails-test/controls/rails.rb +188 -0
  607. data/test/simple-server-rails-test/inspec.lock +7 -0
  608. data/test/simple-server-rails-test/inspec.yml +11 -0
  609. data/test/simple-windows-test/README.md +3 -0
  610. data/test/simple-windows-test/controls/windows.rb +20 -0
  611. data/test/simple-windows-test/inspec.lock +7 -0
  612. data/test/simple-windows-test/inspec.yml +11 -0
  613. data/test/smoke_test.rb +75 -0
  614. data/test/wordpress-test/README.md +3 -0
  615. data/test/wordpress-test/controls/wordpress.rb +97 -0
  616. data/test/wordpress-test/inspec.lock +7 -0
  617. data/test/wordpress-test/inspec.yml +11 -0
  618. metadata +979 -0
@@ -0,0 +1,1802 @@
1
+ [PHP]
2
+
3
+ ;;;;;;;;;;;;;;;;;;;
4
+ ; About php.ini ;
5
+ ;;;;;;;;;;;;;;;;;;;
6
+ ; PHP's initialization file, generally called php.ini, is responsible for
7
+ ; configuring many of the aspects of PHP's behavior.
8
+
9
+ ; PHP attempts to find and load this configuration from a number of locations.
10
+ ; The following is a summary of its search order:
11
+ ; 1. SAPI module specific location.
12
+ ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
13
+ ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
14
+ ; 4. Current working directory (except CLI)
15
+ ; 5. The web server's directory (for SAPI modules), or directory of PHP
16
+ ; (otherwise in Windows)
17
+ ; 6. The directory from the --with-config-file-path compile time option, or the
18
+ ; Windows directory (C:\windows or C:\winnt)
19
+ ; See the PHP docs for more specific information.
20
+ ; http://php.net/configuration.file
21
+
22
+ ; The syntax of the file is extremely simple. Whitespace and lines
23
+ ; beginning with a semicolon are silently ignored (as you probably guessed).
24
+ ; Section headers (e.g. [Foo]) are also silently ignored, even though
25
+ ; they might mean something in the future.
26
+
27
+ ; Directives following the section heading [PATH=/www/mysite] only
28
+ ; apply to PHP files in the /www/mysite directory. Directives
29
+ ; following the section heading [HOST=www.example.com] only apply to
30
+ ; PHP files served from www.example.com. Directives set in these
31
+ ; special sections cannot be overridden by user-defined INI files or
32
+ ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
33
+ ; CGI/FastCGI.
34
+ ; http://php.net/ini.sections
35
+
36
+ ; Directives are specified using the following syntax:
37
+ ; directive = value
38
+ ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
39
+ ; Directives are variables used to configure PHP or PHP extensions.
40
+ ; There is no name validation. If PHP can't find an expected
41
+ ; directive because it is not set or is mistyped, a default value will be used.
42
+
43
+ ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
44
+ ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
45
+ ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
46
+ ; previously set variable or directive (e.g. ${foo})
47
+
48
+ ; Expressions in the INI file are limited to bitwise operators and parentheses:
49
+ ; | bitwise OR
50
+ ; ^ bitwise XOR
51
+ ; & bitwise AND
52
+ ; ~ bitwise NOT
53
+ ; ! boolean NOT
54
+
55
+ ; Boolean flags can be turned on using the values 1, On, True or Yes.
56
+ ; They can be turned off using the values 0, Off, False or No.
57
+
58
+ ; An empty string can be denoted by simply not writing anything after the equal
59
+ ; sign, or by using the None keyword:
60
+
61
+ ; foo = ; sets foo to an empty string
62
+ ; foo = None ; sets foo to an empty string
63
+ ; foo = "None" ; sets foo to the string 'None'
64
+
65
+ ; If you use constants in your value, and these constants belong to a
66
+ ; dynamically loaded extension (either a PHP extension or a Zend extension),
67
+ ; you may only use these constants *after* the line that loads the extension.
68
+
69
+ ;;;;;;;;;;;;;;;;;;;
70
+ ; About this file ;
71
+ ;;;;;;;;;;;;;;;;;;;
72
+ ; PHP comes packaged with two INI files. One that is recommended to be used
73
+ ; in production environments and one that is recommended to be used in
74
+ ; development environments.
75
+
76
+ ; php.ini-production contains settings which hold security, performance and
77
+ ; best practices at its core. But please be aware, these settings may break
78
+ ; compatibility with older or less security conscience applications. We
79
+ ; recommending using the production ini in production and testing environments.
80
+
81
+ ; php.ini-development is very similar to its production variant, except it's
82
+ ; much more verbose when it comes to errors. We recommending using the
83
+ ; development version only in development environments as errors shown to
84
+ ; application users can inadvertently leak otherwise secure information.
85
+
86
+ ; This is php.ini-production INI file.
87
+
88
+ ;;;;;;;;;;;;;;;;;;;
89
+ ; Quick Reference ;
90
+ ;;;;;;;;;;;;;;;;;;;
91
+ ; The following are all the settings which are different in either the production
92
+ ; or development versions of the INIs with respect to PHP's default behavior.
93
+ ; Please see the actual settings later in the document for more details as to why
94
+ ; we recommend these changes in PHP's behavior.
95
+
96
+ ; display_errors
97
+ ; Default Value: On
98
+ ; Development Value: On
99
+ ; Production Value: Off
100
+
101
+ ; display_startup_errors
102
+ ; Default Value: Off
103
+ ; Development Value: On
104
+ ; Production Value: Off
105
+
106
+ ; error_reporting
107
+ ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
108
+ ; Development Value: E_ALL
109
+ ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
110
+
111
+ ; html_errors
112
+ ; Default Value: On
113
+ ; Development Value: On
114
+ ; Production value: On
115
+
116
+ ; log_errors
117
+ ; Default Value: Off
118
+ ; Development Value: On
119
+ ; Production Value: On
120
+
121
+ ; max_input_time
122
+ ; Default Value: -1 (Unlimited)
123
+ ; Development Value: 60 (60 seconds)
124
+ ; Production Value: 60 (60 seconds)
125
+
126
+ ; output_buffering
127
+ ; Default Value: Off
128
+ ; Development Value: 4096
129
+ ; Production Value: 4096
130
+
131
+ ; register_argc_argv
132
+ ; Default Value: On
133
+ ; Development Value: Off
134
+ ; Production Value: Off
135
+
136
+ ; request_order
137
+ ; Default Value: None
138
+ ; Development Value: "GP"
139
+ ; Production Value: "GP"
140
+
141
+ ; session.bug_compat_42
142
+ ; Default Value: On
143
+ ; Development Value: On
144
+ ; Production Value: Off
145
+
146
+ ; session.bug_compat_warn
147
+ ; Default Value: On
148
+ ; Development Value: On
149
+ ; Production Value: Off
150
+
151
+ ; session.gc_divisor
152
+ ; Default Value: 100
153
+ ; Development Value: 1000
154
+ ; Production Value: 1000
155
+
156
+ ; session.hash_bits_per_character
157
+ ; Default Value: 4
158
+ ; Development Value: 5
159
+ ; Production Value: 5
160
+
161
+ ; short_open_tag
162
+ ; Default Value: On
163
+ ; Development Value: Off
164
+ ; Production Value: Off
165
+
166
+ ; track_errors
167
+ ; Default Value: Off
168
+ ; Development Value: On
169
+ ; Production Value: Off
170
+
171
+ ; url_rewriter.tags
172
+ ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
173
+ ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
174
+ ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
175
+
176
+ ; variables_order
177
+ ; Default Value: "EGPCS"
178
+ ; Development Value: "GPCS"
179
+ ; Production Value: "GPCS"
180
+
181
+ ;;;;;;;;;;;;;;;;;;;;
182
+ ; php.ini Options ;
183
+ ;;;;;;;;;;;;;;;;;;;;
184
+ ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
185
+ ;user_ini.filename = ".user.ini"
186
+
187
+ ; To disable this feature set this option to empty value
188
+ ;user_ini.filename =
189
+
190
+ ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
191
+ ;user_ini.cache_ttl = 300
192
+
193
+ ;;;;;;;;;;;;;;;;;;;;
194
+ ; Language Options ;
195
+ ;;;;;;;;;;;;;;;;;;;;
196
+
197
+ ; Enable the PHP scripting language engine under Apache.
198
+ ; http://php.net/engine
199
+ engine = On
200
+
201
+ ; This directive determines whether or not PHP will recognize code between
202
+ ; <? and ?> tags as PHP source which should be processed as such. It is
203
+ ; generally recommended that <?php and ?> should be used and that this feature
204
+ ; should be disabled, as enabling it may result in issues when generating XML
205
+ ; documents, however this remains supported for backward compatibility reasons.
206
+ ; Note that this directive does not control the <?= shorthand tag, which can be
207
+ ; used regardless of this directive.
208
+ ; Default Value: On
209
+ ; Development Value: Off
210
+ ; Production Value: Off
211
+ ; http://php.net/short-open-tag
212
+ short_open_tag = Off
213
+
214
+ ; Allow ASP-style <% %> tags.
215
+ ; http://php.net/asp-tags
216
+ asp_tags = Off
217
+
218
+ ; The number of significant digits displayed in floating point numbers.
219
+ ; http://php.net/precision
220
+ precision = 14
221
+
222
+ ; Output buffering is a mechanism for controlling how much output data
223
+ ; (excluding headers and cookies) PHP should keep internally before pushing that
224
+ ; data to the client. If your application's output exceeds this setting, PHP
225
+ ; will send that data in chunks of roughly the size you specify.
226
+ ; Turning on this setting and managing its maximum buffer size can yield some
227
+ ; interesting side-effects depending on your application and web server.
228
+ ; You may be able to send headers and cookies after you've already sent output
229
+ ; through print or echo. You also may see performance benefits if your server is
230
+ ; emitting less packets due to buffered output versus PHP streaming the output
231
+ ; as it gets it. On production servers, 4096 bytes is a good setting for performance
232
+ ; reasons.
233
+ ; Note: Output buffering can also be controlled via Output Buffering Control
234
+ ; functions.
235
+ ; Possible Values:
236
+ ; On = Enabled and buffer is unlimited. (Use with caution)
237
+ ; Off = Disabled
238
+ ; Integer = Enables the buffer and sets its maximum size in bytes.
239
+ ; Note: This directive is hardcoded to Off for the CLI SAPI
240
+ ; Default Value: Off
241
+ ; Development Value: 4096
242
+ ; Production Value: 4096
243
+ ; http://php.net/output-buffering
244
+ output_buffering = 4096
245
+
246
+ ; You can redirect all of the output of your scripts to a function. For
247
+ ; example, if you set output_handler to "mb_output_handler", character
248
+ ; encoding will be transparently converted to the specified encoding.
249
+ ; Setting any output handler automatically turns on output buffering.
250
+ ; Note: People who wrote portable scripts should not depend on this ini
251
+ ; directive. Instead, explicitly set the output handler using ob_start().
252
+ ; Using this ini directive may cause problems unless you know what script
253
+ ; is doing.
254
+ ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
255
+ ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
256
+ ; Note: output_handler must be empty if this is set 'On' !!!!
257
+ ; Instead you must use zlib.output_handler.
258
+ ; http://php.net/output-handler
259
+ ;output_handler =
260
+
261
+ ; Transparent output compression using the zlib library
262
+ ; Valid values for this option are 'off', 'on', or a specific buffer size
263
+ ; to be used for compression (default is 4KB)
264
+ ; Note: Resulting chunk size may vary due to nature of compression. PHP
265
+ ; outputs chunks that are few hundreds bytes each as a result of
266
+ ; compression. If you prefer a larger chunk size for better
267
+ ; performance, enable output_buffering in addition.
268
+ ; Note: You need to use zlib.output_handler instead of the standard
269
+ ; output_handler, or otherwise the output will be corrupted.
270
+ ; http://php.net/zlib.output-compression
271
+ zlib.output_compression = Off
272
+
273
+ ; http://php.net/zlib.output-compression-level
274
+ ;zlib.output_compression_level = -1
275
+
276
+ ; You cannot specify additional output handlers if zlib.output_compression
277
+ ; is activated here. This setting does the same as output_handler but in
278
+ ; a different order.
279
+ ; http://php.net/zlib.output-handler
280
+ ;zlib.output_handler =
281
+
282
+ ; Implicit flush tells PHP to tell the output layer to flush itself
283
+ ; automatically after every output block. This is equivalent to calling the
284
+ ; PHP function flush() after each and every call to print() or echo() and each
285
+ ; and every HTML block. Turning this option on has serious performance
286
+ ; implications and is generally recommended for debugging purposes only.
287
+ ; http://php.net/implicit-flush
288
+ ; Note: This directive is hardcoded to On for the CLI SAPI
289
+ implicit_flush = Off
290
+
291
+ ; The unserialize callback function will be called (with the undefined class'
292
+ ; name as parameter), if the unserializer finds an undefined class
293
+ ; which should be instantiated. A warning appears if the specified function is
294
+ ; not defined, or if the function doesn't include/implement the missing class.
295
+ ; So only set this entry, if you really want to implement such a
296
+ ; callback-function.
297
+ unserialize_callback_func =
298
+
299
+ ; When floats & doubles are serialized store serialize_precision significant
300
+ ; digits after the floating point. The default value ensures that when floats
301
+ ; are decoded with unserialize, the data will remain the same.
302
+ serialize_precision = 17
303
+
304
+ ; open_basedir, if set, limits all file operations to the defined directory
305
+ ; and below. This directive makes most sense if used in a per-directory
306
+ ; or per-virtualhost web server configuration file. This directive is
307
+ ; *NOT* affected by whether Safe Mode is turned On or Off.
308
+ ; http://php.net/open-basedir
309
+ ;open_basedir =
310
+
311
+ ; This directive allows you to disable certain functions for security reasons.
312
+ ; It receives a comma-delimited list of function names. This directive is
313
+ ; *NOT* affected by whether Safe Mode is turned On or Off.
314
+ ; http://php.net/disable-functions
315
+ disable_functions =
316
+
317
+ ; This directive allows you to disable certain classes for security reasons.
318
+ ; It receives a comma-delimited list of class names. This directive is
319
+ ; *NOT* affected by whether Safe Mode is turned On or Off.
320
+ ; http://php.net/disable-classes
321
+ disable_classes =
322
+
323
+ ; Colors for Syntax Highlighting mode. Anything that's acceptable in
324
+ ; <span style="color: ???????"> would work.
325
+ ; http://php.net/syntax-highlighting
326
+ ;highlight.string = #DD0000
327
+ ;highlight.comment = #FF9900
328
+ ;highlight.keyword = #007700
329
+ ;highlight.default = #0000BB
330
+ ;highlight.html = #000000
331
+
332
+ ; If enabled, the request will be allowed to complete even if the user aborts
333
+ ; the request. Consider enabling it if executing long requests, which may end up
334
+ ; being interrupted by the user or a browser timing out. PHP's default behavior
335
+ ; is to disable this feature.
336
+ ; http://php.net/ignore-user-abort
337
+ ;ignore_user_abort = On
338
+
339
+ ; Determines the size of the realpath cache to be used by PHP. This value should
340
+ ; be increased on systems where PHP opens many files to reflect the quantity of
341
+ ; the file operations performed.
342
+ ; http://php.net/realpath-cache-size
343
+ ;realpath_cache_size = 16k
344
+
345
+ ; Duration of time, in seconds for which to cache realpath information for a given
346
+ ; file or directory. For systems with rarely changing files, consider increasing this
347
+ ; value.
348
+ ; http://php.net/realpath-cache-ttl
349
+ ;realpath_cache_ttl = 120
350
+
351
+ ; Enables or disables the circular reference collector.
352
+ ; http://php.net/zend.enable-gc
353
+ zend.enable_gc = On
354
+
355
+ ; If enabled, scripts may be written in encodings that are incompatible with
356
+ ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
357
+ ; encodings. To use this feature, mbstring extension must be enabled.
358
+ ; Default: Off
359
+ ;zend.multibyte = Off
360
+
361
+ ; Allows to set the default encoding for the scripts. This value will be used
362
+ ; unless "declare(encoding=...)" directive appears at the top of the script.
363
+ ; Only affects if zend.multibyte is set.
364
+ ; Default: ""
365
+ ;zend.script_encoding =
366
+
367
+ ;;;;;;;;;;;;;;;;;
368
+ ; Miscellaneous ;
369
+ ;;;;;;;;;;;;;;;;;
370
+
371
+ ; Decides whether PHP may expose the fact that it is installed on the server
372
+ ; (e.g. by adding its signature to the Web server header). It is no security
373
+ ; threat in any way, but it makes it possible to determine whether you use PHP
374
+ ; on your server or not.
375
+ ; http://php.net/expose-php
376
+ expose_php = On
377
+
378
+ ;;;;;;;;;;;;;;;;;;;
379
+ ; Resource Limits ;
380
+ ;;;;;;;;;;;;;;;;;;;
381
+
382
+ ; Maximum execution time of each script, in seconds
383
+ ; http://php.net/max-execution-time
384
+ ; Note: This directive is hardcoded to 0 for the CLI SAPI
385
+ max_execution_time = 30
386
+
387
+ ; Maximum amount of time each script may spend parsing request data. It's a good
388
+ ; idea to limit this time on productions servers in order to eliminate unexpectedly
389
+ ; long running scripts.
390
+ ; Note: This directive is hardcoded to -1 for the CLI SAPI
391
+ ; Default Value: -1 (Unlimited)
392
+ ; Development Value: 60 (60 seconds)
393
+ ; Production Value: 60 (60 seconds)
394
+ ; http://php.net/max-input-time
395
+ max_input_time = 60
396
+
397
+ ; Maximum input variable nesting level
398
+ ; http://php.net/max-input-nesting-level
399
+ ;max_input_nesting_level = 64
400
+
401
+ ; How many GET/POST/COOKIE input variables may be accepted
402
+ ; max_input_vars = 1000
403
+
404
+ ; http://php.net/memory-limit
405
+ memory_limit = 256M
406
+
407
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
408
+ ; Error handling and logging ;
409
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
410
+
411
+ ; This directive informs PHP of which errors, warnings and notices you would like
412
+ ; it to take action for. The recommended way of setting values for this
413
+ ; directive is through the use of the error level constants and bitwise
414
+ ; operators. The error level constants are below here for convenience as well as
415
+ ; some common settings and their meanings.
416
+ ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
417
+ ; those related to E_NOTICE and E_STRICT, which together cover best practices and
418
+ ; recommended coding standards in PHP. For performance reasons, this is the
419
+ ; recommend error reporting setting. Your production server shouldn't be wasting
420
+ ; resources complaining about best practices and coding standards. That's what
421
+ ; development servers and development settings are for.
422
+ ; Note: The php.ini-development file has this setting as E_ALL. This
423
+ ; means it pretty much reports everything which is exactly what you want during
424
+ ; development and early testing.
425
+ ;
426
+ ; Error Level Constants:
427
+ ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
428
+ ; E_ERROR - fatal run-time errors
429
+ ; E_RECOVERABLE_ERROR - almost fatal run-time errors
430
+ ; E_WARNING - run-time warnings (non-fatal errors)
431
+ ; E_PARSE - compile-time parse errors
432
+ ; E_NOTICE - run-time notices (these are warnings which often result
433
+ ; from a bug in your code, but it's possible that it was
434
+ ; intentional (e.g., using an uninitialized variable and
435
+ ; relying on the fact it's automatically initialized to an
436
+ ; empty string)
437
+ ; E_STRICT - run-time notices, enable to have PHP suggest changes
438
+ ; to your code which will ensure the best interoperability
439
+ ; and forward compatibility of your code
440
+ ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
441
+ ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
442
+ ; initial startup
443
+ ; E_COMPILE_ERROR - fatal compile-time errors
444
+ ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
445
+ ; E_USER_ERROR - user-generated error message
446
+ ; E_USER_WARNING - user-generated warning message
447
+ ; E_USER_NOTICE - user-generated notice message
448
+ ; E_DEPRECATED - warn about code that will not work in future versions
449
+ ; of PHP
450
+ ; E_USER_DEPRECATED - user-generated deprecation warnings
451
+ ;
452
+ ; Common Values:
453
+ ; E_ALL (Show all errors, warnings and notices including coding standards.)
454
+ ; E_ALL & ~E_NOTICE (Show all errors, except for notices)
455
+ ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
456
+ ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
457
+ ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
458
+ ; Development Value: E_ALL
459
+ ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
460
+ ; http://php.net/error-reporting
461
+ error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
462
+
463
+ ; This directive controls whether or not and where PHP will output errors,
464
+ ; notices and warnings too. Error output is very useful during development, but
465
+ ; it could be very dangerous in production environments. Depending on the code
466
+ ; which is triggering the error, sensitive information could potentially leak
467
+ ; out of your application such as database usernames and passwords or worse.
468
+ ; It's recommended that errors be logged on production servers rather than
469
+ ; having the errors sent to STDOUT.
470
+ ; Possible Values:
471
+ ; Off = Do not display any errors
472
+ ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
473
+ ; On or stdout = Display errors to STDOUT
474
+ ; Default Value: On
475
+ ; Development Value: On
476
+ ; Production Value: Off
477
+ ; http://php.net/display-errors
478
+ display_errors = Off
479
+
480
+ ; The display of errors which occur during PHP's startup sequence are handled
481
+ ; separately from display_errors. PHP's default behavior is to suppress those
482
+ ; errors from clients. Turning the display of startup errors on can be useful in
483
+ ; debugging configuration problems. But, it's strongly recommended that you
484
+ ; leave this setting off on production servers.
485
+ ; Default Value: Off
486
+ ; Development Value: On
487
+ ; Production Value: Off
488
+ ; http://php.net/display-startup-errors
489
+ display_startup_errors = Off
490
+
491
+ ; Besides displaying errors, PHP can also log errors to locations such as a
492
+ ; server-specific log, STDERR, or a location specified by the error_log
493
+ ; directive found below. While errors should not be displayed on productions
494
+ ; servers they should still be monitored and logging is a great way to do that.
495
+ ; Default Value: Off
496
+ ; Development Value: On
497
+ ; Production Value: On
498
+ ; http://php.net/log-errors
499
+ log_errors = On
500
+
501
+ ; Set maximum length of log_errors. In error_log information about the source is
502
+ ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
503
+ ; http://php.net/log-errors-max-len
504
+ log_errors_max_len = 1024
505
+
506
+ ; Do not log repeated messages. Repeated errors must occur in same file on same
507
+ ; line unless ignore_repeated_source is set true.
508
+ ; http://php.net/ignore-repeated-errors
509
+ ignore_repeated_errors = Off
510
+
511
+ ; Ignore source of message when ignoring repeated messages. When this setting
512
+ ; is On you will not log errors with repeated messages from different files or
513
+ ; source lines.
514
+ ; http://php.net/ignore-repeated-source
515
+ ignore_repeated_source = Off
516
+
517
+ ; If this parameter is set to Off, then memory leaks will not be shown (on
518
+ ; stdout or in the log). This has only effect in a debug compile, and if
519
+ ; error reporting includes E_WARNING in the allowed list
520
+ ; http://php.net/report-memleaks
521
+ report_memleaks = On
522
+
523
+ ; This setting is on by default.
524
+ ;report_zend_debug = 0
525
+
526
+ ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
527
+ ; to On can assist in debugging and is appropriate for development servers. It should
528
+ ; however be disabled on production servers.
529
+ ; Default Value: Off
530
+ ; Development Value: On
531
+ ; Production Value: Off
532
+ ; http://php.net/track-errors
533
+ track_errors = Off
534
+
535
+ ; Turn off normal error reporting and emit XML-RPC error XML
536
+ ; http://php.net/xmlrpc-errors
537
+ ;xmlrpc_errors = 0
538
+
539
+ ; An XML-RPC faultCode
540
+ ;xmlrpc_error_number = 0
541
+
542
+ ; When PHP displays or logs an error, it has the capability of formatting the
543
+ ; error message as HTML for easier reading. This directive controls whether
544
+ ; the error message is formatted as HTML or not.
545
+ ; Note: This directive is hardcoded to Off for the CLI SAPI
546
+ ; Default Value: On
547
+ ; Development Value: On
548
+ ; Production value: On
549
+ ; http://php.net/html-errors
550
+ html_errors = On
551
+
552
+ ; If html_errors is set to On *and* docref_root is not empty, then PHP
553
+ ; produces clickable error messages that direct to a page describing the error
554
+ ; or function causing the error in detail.
555
+ ; You can download a copy of the PHP manual from http://php.net/docs
556
+ ; and change docref_root to the base URL of your local copy including the
557
+ ; leading '/'. You must also specify the file extension being used including
558
+ ; the dot. PHP's default behavior is to leave these settings empty, in which
559
+ ; case no links to documentation are generated.
560
+ ; Note: Never use this feature for production boxes.
561
+ ; http://php.net/docref-root
562
+ ; Examples
563
+ ;docref_root = "/phpmanual/"
564
+
565
+ ; http://php.net/docref-ext
566
+ ;docref_ext = .html
567
+
568
+ ; String to output before an error message. PHP's default behavior is to leave
569
+ ; this setting blank.
570
+ ; http://php.net/error-prepend-string
571
+ ; Example:
572
+ ;error_prepend_string = "<span style='color: #ff0000'>"
573
+
574
+ ; String to output after an error message. PHP's default behavior is to leave
575
+ ; this setting blank.
576
+ ; http://php.net/error-append-string
577
+ ; Example:
578
+ ;error_append_string = "</span>"
579
+
580
+ ; Log errors to specified file. PHP's default behavior is to leave this value
581
+ ; empty.
582
+ ; http://php.net/error-log
583
+ ; Example:
584
+ ;error_log = php_errors.log
585
+ ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
586
+ ;error_log = syslog
587
+
588
+ ;windows.show_crt_warning
589
+ ; Default value: 0
590
+ ; Development value: 0
591
+ ; Production value: 0
592
+
593
+ ;;;;;;;;;;;;;;;;;
594
+ ; Data Handling ;
595
+ ;;;;;;;;;;;;;;;;;
596
+
597
+ ; The separator used in PHP generated URLs to separate arguments.
598
+ ; PHP's default setting is "&".
599
+ ; http://php.net/arg-separator.output
600
+ ; Example:
601
+ ;arg_separator.output = "&amp;"
602
+
603
+ ; List of separator(s) used by PHP to parse input URLs into variables.
604
+ ; PHP's default setting is "&".
605
+ ; NOTE: Every character in this directive is considered as separator!
606
+ ; http://php.net/arg-separator.input
607
+ ; Example:
608
+ ;arg_separator.input = ";&"
609
+
610
+ ; This directive determines which super global arrays are registered when PHP
611
+ ; starts up. G,P,C,E & S are abbreviations for the following respective super
612
+ ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
613
+ ; paid for the registration of these arrays and because ENV is not as commonly
614
+ ; used as the others, ENV is not recommended on productions servers. You
615
+ ; can still get access to the environment variables through getenv() should you
616
+ ; need to.
617
+ ; Default Value: "EGPCS"
618
+ ; Development Value: "GPCS"
619
+ ; Production Value: "GPCS";
620
+ ; http://php.net/variables-order
621
+ variables_order = "GPCS"
622
+
623
+ ; This directive determines which super global data (G,P,C,E & S) should
624
+ ; be registered into the super global array REQUEST. If so, it also determines
625
+ ; the order in which that data is registered. The values for this directive are
626
+ ; specified in the same manner as the variables_order directive, EXCEPT one.
627
+ ; Leaving this value empty will cause PHP to use the value set in the
628
+ ; variables_order directive. It does not mean it will leave the super globals
629
+ ; array REQUEST empty.
630
+ ; Default Value: None
631
+ ; Development Value: "GP"
632
+ ; Production Value: "GP"
633
+ ; http://php.net/request-order
634
+ request_order = "GP"
635
+
636
+ ; This directive determines whether PHP registers $argv & $argc each time it
637
+ ; runs. $argv contains an array of all the arguments passed to PHP when a script
638
+ ; is invoked. $argc contains an integer representing the number of arguments
639
+ ; that were passed when the script was invoked. These arrays are extremely
640
+ ; useful when running scripts from the command line. When this directive is
641
+ ; enabled, registering these variables consumes CPU cycles and memory each time
642
+ ; a script is executed. For performance reasons, this feature should be disabled
643
+ ; on production servers.
644
+ ; Note: This directive is hardcoded to On for the CLI SAPI
645
+ ; Default Value: On
646
+ ; Development Value: Off
647
+ ; Production Value: Off
648
+ ; http://php.net/register-argc-argv
649
+ register_argc_argv = Off
650
+
651
+ ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
652
+ ; first used (Just In Time) instead of when the script starts. If these
653
+ ; variables are not used within a script, having this directive on will result
654
+ ; in a performance gain. The PHP directive register_argc_argv must be disabled
655
+ ; for this directive to have any affect.
656
+ ; http://php.net/auto-globals-jit
657
+ auto_globals_jit = On
658
+
659
+ ; Whether PHP will read the POST data.
660
+ ; This option is enabled by default.
661
+ ; Most likely, you won't want to disable this option globally. It causes $_POST
662
+ ; and $_FILES to always be empty; the only way you will be able to read the
663
+ ; POST data will be through the php://input stream wrapper. This can be useful
664
+ ; to proxy requests or to process the POST data in a memory efficient fashion.
665
+ ; http://php.net/enable-post-data-reading
666
+ ;enable_post_data_reading = Off
667
+
668
+ ; Maximum size of POST data that PHP will accept.
669
+ ; Its value may be 0 to disable the limit. It is ignored if POST data reading
670
+ ; is disabled through enable_post_data_reading.
671
+ ; http://php.net/post-max-size
672
+ post_max_size = 8M
673
+
674
+ ; Automatically add files before PHP document.
675
+ ; http://php.net/auto-prepend-file
676
+ auto_prepend_file =
677
+
678
+ ; Automatically add files after PHP document.
679
+ ; http://php.net/auto-append-file
680
+ auto_append_file =
681
+
682
+ ; By default, PHP will output a character encoding using
683
+ ; the Content-type: header. To disable sending of the charset, simply
684
+ ; set it to be empty.
685
+ ;
686
+ ; PHP's built-in default is text/html
687
+ ; http://php.net/default-mimetype
688
+ default_mimetype = "text/html"
689
+
690
+ ; PHP's default character set is set to empty.
691
+ ; http://php.net/default-charset
692
+ ;default_charset = "UTF-8"
693
+
694
+ ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
695
+ ; to disable this feature. If post reading is disabled through
696
+ ; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
697
+ ; http://php.net/always-populate-raw-post-data
698
+ ;always_populate_raw_post_data = On
699
+
700
+ ;;;;;;;;;;;;;;;;;;;;;;;;;
701
+ ; Paths and Directories ;
702
+ ;;;;;;;;;;;;;;;;;;;;;;;;;
703
+
704
+ ; UNIX: "/path1:/path2"
705
+ ;include_path = ".:/php/includes"
706
+ ;
707
+ ; Windows: "\path1;\path2"
708
+ ;include_path = ".;c:\php\includes"
709
+ ;
710
+ ; PHP's default setting for include_path is ".;/path/to/php/pear"
711
+ ; http://php.net/include-path
712
+
713
+ ; The root of the PHP pages, used only if nonempty.
714
+ ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
715
+ ; if you are running php as a CGI under any web server (other than IIS)
716
+ ; see documentation for security issues. The alternate is to use the
717
+ ; cgi.force_redirect configuration below
718
+ ; http://php.net/doc-root
719
+ doc_root =
720
+
721
+ ; The directory under which PHP opens the script using /~username used only
722
+ ; if nonempty.
723
+ ; http://php.net/user-dir
724
+ user_dir =
725
+
726
+ ; Directory in which the loadable extensions (modules) reside.
727
+ ; http://php.net/extension-dir
728
+ ; extension_dir = "./"
729
+ ; On windows:
730
+ ; extension_dir = "ext"
731
+
732
+ ; Whether or not to enable the dl() function. The dl() function does NOT work
733
+ ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
734
+ ; disabled on them.
735
+ ; http://php.net/enable-dl
736
+ enable_dl = Off
737
+
738
+ ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
739
+ ; most web servers. Left undefined, PHP turns this on by default. You can
740
+ ; turn it off here AT YOUR OWN RISK
741
+ ; **You CAN safely turn this off for IIS, in fact, you MUST.**
742
+ ; http://php.net/cgi.force-redirect
743
+ ;cgi.force_redirect = 1
744
+
745
+ ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
746
+ ; every request. PHP's default behavior is to disable this feature.
747
+ ;cgi.nph = 1
748
+
749
+ ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
750
+ ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
751
+ ; will look for to know it is OK to continue execution. Setting this variable MAY
752
+ ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
753
+ ; http://php.net/cgi.redirect-status-env
754
+ ;cgi.redirect_status_env =
755
+
756
+ ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
757
+ ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
758
+ ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
759
+ ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
760
+ ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
761
+ ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
762
+ ; http://php.net/cgi.fix-pathinfo
763
+ ;cgi.fix_pathinfo=1
764
+
765
+ ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
766
+ ; security tokens of the calling client. This allows IIS to define the
767
+ ; security context that the request runs under. mod_fastcgi under Apache
768
+ ; does not currently support this feature (03/17/2002)
769
+ ; Set to 1 if running under IIS. Default is zero.
770
+ ; http://php.net/fastcgi.impersonate
771
+ ;fastcgi.impersonate = 1
772
+
773
+ ; Disable logging through FastCGI connection. PHP's default behavior is to enable
774
+ ; this feature.
775
+ ;fastcgi.logging = 0
776
+
777
+ ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
778
+ ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
779
+ ; is supported by Apache. When this option is set to 1 PHP will send
780
+ ; RFC2616 compliant header.
781
+ ; Default is zero.
782
+ ; http://php.net/cgi.rfc2616-headers
783
+ ;cgi.rfc2616_headers = 0
784
+
785
+ ;;;;;;;;;;;;;;;;
786
+ ; File Uploads ;
787
+ ;;;;;;;;;;;;;;;;
788
+
789
+ ; Whether to allow HTTP file uploads.
790
+ ; http://php.net/file-uploads
791
+ file_uploads = On
792
+
793
+ ; Temporary directory for HTTP uploaded files (will use system default if not
794
+ ; specified).
795
+ ; http://php.net/upload-tmp-dir
796
+ ;upload_tmp_dir =
797
+
798
+ ; Maximum allowed size for uploaded files.
799
+ ; http://php.net/upload-max-filesize
800
+ upload_max_filesize = 2M
801
+
802
+ ; Maximum number of files that can be uploaded via a single request
803
+ max_file_uploads = 20
804
+
805
+ ;;;;;;;;;;;;;;;;;;
806
+ ; Fopen wrappers ;
807
+ ;;;;;;;;;;;;;;;;;;
808
+
809
+ ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
810
+ ; http://php.net/allow-url-fopen
811
+ allow_url_fopen = On
812
+
813
+ ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
814
+ ; http://php.net/allow-url-include
815
+ allow_url_include = Off
816
+
817
+ ; Define the anonymous ftp password (your email address). PHP's default setting
818
+ ; for this is empty.
819
+ ; http://php.net/from
820
+ ;from="john@doe.com"
821
+
822
+ ; Define the User-Agent string. PHP's default setting for this is empty.
823
+ ; http://php.net/user-agent
824
+ ;user_agent="PHP"
825
+
826
+ ; Default timeout for socket based streams (seconds)
827
+ ; http://php.net/default-socket-timeout
828
+ default_socket_timeout = 60
829
+
830
+ ; If your scripts have to deal with files from Macintosh systems,
831
+ ; or you are running on a Mac and need to deal with files from
832
+ ; unix or win32 systems, setting this flag will cause PHP to
833
+ ; automatically detect the EOL character in those files so that
834
+ ; fgets() and file() will work regardless of the source of the file.
835
+ ; http://php.net/auto-detect-line-endings
836
+ ;auto_detect_line_endings = Off
837
+
838
+ ;;;;;;;;;;;;;;;;;;;;;;
839
+ ; Dynamic Extensions ;
840
+ ;;;;;;;;;;;;;;;;;;;;;;
841
+
842
+ ; If you wish to have an extension loaded automatically, use the following
843
+ ; syntax:
844
+ ;
845
+ ; extension=modulename.extension
846
+ ;
847
+ ; For example, on Windows:
848
+ ;
849
+ ; extension=msql.dll
850
+ ;
851
+ ; ... or under UNIX:
852
+ ;
853
+ ; extension=msql.so
854
+ ;
855
+ ; ... or with a path:
856
+ ;
857
+ ; extension=/path/to/extension/msql.so
858
+ ;
859
+ ; If you only provide the name of the extension, PHP will look for it in its
860
+ ; default extension directory.
861
+
862
+ ;;;;
863
+ ; Note: packaged extension modules are now loaded via the .ini files
864
+ ; found in the directory /etc/php.d; these are loaded by default.
865
+ ;;;;
866
+
867
+ ;;;;;;;;;;;;;;;;;;;
868
+ ; Module Settings ;
869
+ ;;;;;;;;;;;;;;;;;;;
870
+
871
+ [CLI Server]
872
+ ; Whether the CLI web server uses ANSI color coding in its terminal output.
873
+ cli_server.color = On
874
+
875
+ [Date]
876
+ ; Defines the default timezone used by the date functions
877
+ ; http://php.net/date.timezone
878
+ ;date.timezone =
879
+
880
+ ; http://php.net/date.default-latitude
881
+ ;date.default_latitude = 31.7667
882
+
883
+ ; http://php.net/date.default-longitude
884
+ ;date.default_longitude = 35.2333
885
+
886
+ ; http://php.net/date.sunrise-zenith
887
+ ;date.sunrise_zenith = 90.583333
888
+
889
+ ; http://php.net/date.sunset-zenith
890
+ ;date.sunset_zenith = 90.583333
891
+
892
+ [filter]
893
+ ; http://php.net/filter.default
894
+ ;filter.default = unsafe_raw
895
+
896
+ ; http://php.net/filter.default-flags
897
+ ;filter.default_flags =
898
+
899
+ [iconv]
900
+ ;iconv.input_encoding = ISO-8859-1
901
+ ;iconv.internal_encoding = ISO-8859-1
902
+ ;iconv.output_encoding = ISO-8859-1
903
+
904
+ [intl]
905
+ ;intl.default_locale =
906
+ ; This directive allows you to produce PHP errors when some error
907
+ ; happens within intl functions. The value is the level of the error produced.
908
+ ; Default is 0, which does not produce any errors.
909
+ ;intl.error_level = E_WARNING
910
+
911
+ [sqlite]
912
+ ; http://php.net/sqlite.assoc-case
913
+ ;sqlite.assoc_case = 0
914
+
915
+ [sqlite3]
916
+ ;sqlite3.extension_dir =
917
+
918
+ [Pcre]
919
+ ;PCRE library backtracking limit.
920
+ ; http://php.net/pcre.backtrack-limit
921
+ ;pcre.backtrack_limit=100000
922
+
923
+ ;PCRE library recursion limit.
924
+ ;Please note that if you set this value to a high number you may consume all
925
+ ;the available process stack and eventually crash PHP (due to reaching the
926
+ ;stack size limit imposed by the Operating System).
927
+ ; http://php.net/pcre.recursion-limit
928
+ ;pcre.recursion_limit=100000
929
+
930
+ [Pdo]
931
+ ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
932
+ ; http://php.net/pdo-odbc.connection-pooling
933
+ ;pdo_odbc.connection_pooling=strict
934
+
935
+ ;pdo_odbc.db2_instance_name
936
+
937
+ [Pdo_mysql]
938
+ ; If mysqlnd is used: Number of cache slots for the internal result set cache
939
+ ; http://php.net/pdo_mysql.cache_size
940
+ pdo_mysql.cache_size = 2000
941
+
942
+ ; Default socket name for local MySQL connects. If empty, uses the built-in
943
+ ; MySQL defaults.
944
+ ; http://php.net/pdo_mysql.default-socket
945
+ pdo_mysql.default_socket=
946
+
947
+ [Phar]
948
+ ; http://php.net/phar.readonly
949
+ ;phar.readonly = On
950
+
951
+ ; http://php.net/phar.require-hash
952
+ ;phar.require_hash = On
953
+
954
+ ;phar.cache_list =
955
+
956
+ [mail function]
957
+ ; For Win32 only.
958
+ ; http://php.net/smtp
959
+ SMTP = localhost
960
+ ; http://php.net/smtp-port
961
+ smtp_port = 25
962
+
963
+ ; For Win32 only.
964
+ ; http://php.net/sendmail-from
965
+ ;sendmail_from = me@example.com
966
+
967
+ ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
968
+ ; http://php.net/sendmail-path
969
+ sendmail_path = /usr/sbin/sendmail -t -i
970
+
971
+ ; Force the addition of the specified parameters to be passed as extra parameters
972
+ ; to the sendmail binary. These parameters will always replace the value of
973
+ ; the 5th parameter to mail(), even in safe mode.
974
+ ;mail.force_extra_parameters =
975
+
976
+ ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
977
+ mail.add_x_header = On
978
+
979
+ ; The path to a log file that will log all mail() calls. Log entries include
980
+ ; the full path of the script, line number, To address and headers.
981
+ ;mail.log =
982
+
983
+ [SQL]
984
+ ; http://php.net/sql.safe-mode
985
+ sql.safe_mode = Off
986
+
987
+ [ODBC]
988
+ ; http://php.net/odbc.default-db
989
+ ;odbc.default_db = Not yet implemented
990
+
991
+ ; http://php.net/odbc.default-user
992
+ ;odbc.default_user = Not yet implemented
993
+
994
+ ; http://php.net/odbc.default-pw
995
+ ;odbc.default_pw = Not yet implemented
996
+
997
+ ; Controls the ODBC cursor model.
998
+ ; Default: SQL_CURSOR_STATIC (default).
999
+ ;odbc.default_cursortype
1000
+
1001
+ ; Allow or prevent persistent links.
1002
+ ; http://php.net/odbc.allow-persistent
1003
+ odbc.allow_persistent = On
1004
+
1005
+ ; Check that a connection is still valid before reuse.
1006
+ ; http://php.net/odbc.check-persistent
1007
+ odbc.check_persistent = On
1008
+
1009
+ ; Maximum number of persistent links. -1 means no limit.
1010
+ ; http://php.net/odbc.max-persistent
1011
+ odbc.max_persistent = -1
1012
+
1013
+ ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1014
+ ; http://php.net/odbc.max-links
1015
+ odbc.max_links = -1
1016
+
1017
+ ; Handling of LONG fields. Returns number of bytes to variables. 0 means
1018
+ ; passthru.
1019
+ ; http://php.net/odbc.defaultlrl
1020
+ odbc.defaultlrl = 4096
1021
+
1022
+ ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
1023
+ ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
1024
+ ; of odbc.defaultlrl and odbc.defaultbinmode
1025
+ ; http://php.net/odbc.defaultbinmode
1026
+ odbc.defaultbinmode = 1
1027
+
1028
+ ;birdstep.max_links = -1
1029
+
1030
+ [Interbase]
1031
+ ; Allow or prevent persistent links.
1032
+ ibase.allow_persistent = 1
1033
+
1034
+ ; Maximum number of persistent links. -1 means no limit.
1035
+ ibase.max_persistent = -1
1036
+
1037
+ ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1038
+ ibase.max_links = -1
1039
+
1040
+ ; Default database name for ibase_connect().
1041
+ ;ibase.default_db =
1042
+
1043
+ ; Default username for ibase_connect().
1044
+ ;ibase.default_user =
1045
+
1046
+ ; Default password for ibase_connect().
1047
+ ;ibase.default_password =
1048
+
1049
+ ; Default charset for ibase_connect().
1050
+ ;ibase.default_charset =
1051
+
1052
+ ; Default timestamp format.
1053
+ ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
1054
+
1055
+ ; Default date format.
1056
+ ibase.dateformat = "%Y-%m-%d"
1057
+
1058
+ ; Default time format.
1059
+ ibase.timeformat = "%H:%M:%S"
1060
+
1061
+ [MySQL]
1062
+ ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1063
+ ; http://php.net/mysql.allow_local_infile
1064
+ mysql.allow_local_infile = On
1065
+
1066
+ ; Allow or prevent persistent links.
1067
+ ; http://php.net/mysql.allow-persistent
1068
+ mysql.allow_persistent = On
1069
+
1070
+ ; If mysqlnd is used: Number of cache slots for the internal result set cache
1071
+ ; http://php.net/mysql.cache_size
1072
+ mysql.cache_size = 2000
1073
+
1074
+ ; Maximum number of persistent links. -1 means no limit.
1075
+ ; http://php.net/mysql.max-persistent
1076
+ mysql.max_persistent = -1
1077
+
1078
+ ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1079
+ ; http://php.net/mysql.max-links
1080
+ mysql.max_links = -1
1081
+
1082
+ ; Default port number for mysql_connect(). If unset, mysql_connect() will use
1083
+ ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1084
+ ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1085
+ ; at MYSQL_PORT.
1086
+ ; http://php.net/mysql.default-port
1087
+ mysql.default_port =
1088
+
1089
+ ; Default socket name for local MySQL connects. If empty, uses the built-in
1090
+ ; MySQL defaults.
1091
+ ; http://php.net/mysql.default-socket
1092
+ mysql.default_socket =
1093
+
1094
+ ; Default host for mysql_connect() (doesn't apply in safe mode).
1095
+ ; http://php.net/mysql.default-host
1096
+ mysql.default_host =
1097
+
1098
+ ; Default user for mysql_connect() (doesn't apply in safe mode).
1099
+ ; http://php.net/mysql.default-user
1100
+ mysql.default_user =
1101
+
1102
+ ; Default password for mysql_connect() (doesn't apply in safe mode).
1103
+ ; Note that this is generally a *bad* idea to store passwords in this file.
1104
+ ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
1105
+ ; and reveal this password! And of course, any users with read access to this
1106
+ ; file will be able to reveal the password as well.
1107
+ ; http://php.net/mysql.default-password
1108
+ mysql.default_password =
1109
+
1110
+ ; Maximum time (in seconds) for connect timeout. -1 means no limit
1111
+ ; http://php.net/mysql.connect-timeout
1112
+ mysql.connect_timeout = 60
1113
+
1114
+ ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
1115
+ ; SQL-Errors will be displayed.
1116
+ ; http://php.net/mysql.trace-mode
1117
+ mysql.trace_mode = Off
1118
+
1119
+ [MySQLi]
1120
+
1121
+ ; Maximum number of persistent links. -1 means no limit.
1122
+ ; http://php.net/mysqli.max-persistent
1123
+ mysqli.max_persistent = -1
1124
+
1125
+ ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1126
+ ; http://php.net/mysqli.allow_local_infile
1127
+ ;mysqli.allow_local_infile = On
1128
+
1129
+ ; Allow or prevent persistent links.
1130
+ ; http://php.net/mysqli.allow-persistent
1131
+ mysqli.allow_persistent = On
1132
+
1133
+ ; Maximum number of links. -1 means no limit.
1134
+ ; http://php.net/mysqli.max-links
1135
+ mysqli.max_links = -1
1136
+
1137
+ ; If mysqlnd is used: Number of cache slots for the internal result set cache
1138
+ ; http://php.net/mysqli.cache_size
1139
+ mysqli.cache_size = 2000
1140
+
1141
+ ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
1142
+ ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1143
+ ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1144
+ ; at MYSQL_PORT.
1145
+ ; http://php.net/mysqli.default-port
1146
+ mysqli.default_port = 3306
1147
+
1148
+ ; Default socket name for local MySQL connects. If empty, uses the built-in
1149
+ ; MySQL defaults.
1150
+ ; http://php.net/mysqli.default-socket
1151
+ mysqli.default_socket =
1152
+
1153
+ ; Default host for mysql_connect() (doesn't apply in safe mode).
1154
+ ; http://php.net/mysqli.default-host
1155
+ mysqli.default_host =
1156
+
1157
+ ; Default user for mysql_connect() (doesn't apply in safe mode).
1158
+ ; http://php.net/mysqli.default-user
1159
+ mysqli.default_user =
1160
+
1161
+ ; Default password for mysqli_connect() (doesn't apply in safe mode).
1162
+ ; Note that this is generally a *bad* idea to store passwords in this file.
1163
+ ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
1164
+ ; and reveal this password! And of course, any users with read access to this
1165
+ ; file will be able to reveal the password as well.
1166
+ ; http://php.net/mysqli.default-pw
1167
+ mysqli.default_pw =
1168
+
1169
+ ; Allow or prevent reconnect
1170
+ mysqli.reconnect = Off
1171
+
1172
+ [mysqlnd]
1173
+ ; Enable / Disable collection of general statistics by mysqlnd which can be
1174
+ ; used to tune and monitor MySQL operations.
1175
+ ; http://php.net/mysqlnd.collect_statistics
1176
+ mysqlnd.collect_statistics = On
1177
+
1178
+ ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
1179
+ ; used to tune and monitor MySQL operations.
1180
+ ; http://php.net/mysqlnd.collect_memory_statistics
1181
+ mysqlnd.collect_memory_statistics = Off
1182
+
1183
+ ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
1184
+ ; http://php.net/mysqlnd.net_cmd_buffer_size
1185
+ ;mysqlnd.net_cmd_buffer_size = 2048
1186
+
1187
+ ; Size of a pre-allocated buffer used for reading data sent by the server in
1188
+ ; bytes.
1189
+ ; http://php.net/mysqlnd.net_read_buffer_size
1190
+ ;mysqlnd.net_read_buffer_size = 32768
1191
+
1192
+ [OCI8]
1193
+
1194
+ ; Connection: Enables privileged connections using external
1195
+ ; credentials (OCI_SYSOPER, OCI_SYSDBA)
1196
+ ; http://php.net/oci8.privileged-connect
1197
+ ;oci8.privileged_connect = Off
1198
+
1199
+ ; Connection: The maximum number of persistent OCI8 connections per
1200
+ ; process. Using -1 means no limit.
1201
+ ; http://php.net/oci8.max-persistent
1202
+ ;oci8.max_persistent = -1
1203
+
1204
+ ; Connection: The maximum number of seconds a process is allowed to
1205
+ ; maintain an idle persistent connection. Using -1 means idle
1206
+ ; persistent connections will be maintained forever.
1207
+ ; http://php.net/oci8.persistent-timeout
1208
+ ;oci8.persistent_timeout = -1
1209
+
1210
+ ; Connection: The number of seconds that must pass before issuing a
1211
+ ; ping during oci_pconnect() to check the connection validity. When
1212
+ ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
1213
+ ; pings completely.
1214
+ ; http://php.net/oci8.ping-interval
1215
+ ;oci8.ping_interval = 60
1216
+
1217
+ ; Connection: Set this to a user chosen connection class to be used
1218
+ ; for all pooled server requests with Oracle 11g Database Resident
1219
+ ; Connection Pooling (DRCP). To use DRCP, this value should be set to
1220
+ ; the same string for all web servers running the same application,
1221
+ ; the database pool must be configured, and the connection string must
1222
+ ; specify to use a pooled server.
1223
+ ;oci8.connection_class =
1224
+
1225
+ ; High Availability: Using On lets PHP receive Fast Application
1226
+ ; Notification (FAN) events generated when a database node fails. The
1227
+ ; database must also be configured to post FAN events.
1228
+ ;oci8.events = Off
1229
+
1230
+ ; Tuning: This option enables statement caching, and specifies how
1231
+ ; many statements to cache. Using 0 disables statement caching.
1232
+ ; http://php.net/oci8.statement-cache-size
1233
+ ;oci8.statement_cache_size = 20
1234
+
1235
+ ; Tuning: Enables statement prefetching and sets the default number of
1236
+ ; rows that will be fetched automatically after statement execution.
1237
+ ; http://php.net/oci8.default-prefetch
1238
+ ;oci8.default_prefetch = 100
1239
+
1240
+ ; Compatibility. Using On means oci_close() will not close
1241
+ ; oci_connect() and oci_new_connect() connections.
1242
+ ; http://php.net/oci8.old-oci-close-semantics
1243
+ ;oci8.old_oci_close_semantics = Off
1244
+
1245
+ [PostgreSQL]
1246
+ ; Allow or prevent persistent links.
1247
+ ; http://php.net/pgsql.allow-persistent
1248
+ pgsql.allow_persistent = On
1249
+
1250
+ ; Detect broken persistent links always with pg_pconnect().
1251
+ ; Auto reset feature requires a little overheads.
1252
+ ; http://php.net/pgsql.auto-reset-persistent
1253
+ pgsql.auto_reset_persistent = Off
1254
+
1255
+ ; Maximum number of persistent links. -1 means no limit.
1256
+ ; http://php.net/pgsql.max-persistent
1257
+ pgsql.max_persistent = -1
1258
+
1259
+ ; Maximum number of links (persistent+non persistent). -1 means no limit.
1260
+ ; http://php.net/pgsql.max-links
1261
+ pgsql.max_links = -1
1262
+
1263
+ ; Ignore PostgreSQL backends Notice message or not.
1264
+ ; Notice message logging require a little overheads.
1265
+ ; http://php.net/pgsql.ignore-notice
1266
+ pgsql.ignore_notice = 0
1267
+
1268
+ ; Log PostgreSQL backends Notice message or not.
1269
+ ; Unless pgsql.ignore_notice=0, module cannot log notice message.
1270
+ ; http://php.net/pgsql.log-notice
1271
+ pgsql.log_notice = 0
1272
+
1273
+ [Sybase-CT]
1274
+ ; Allow or prevent persistent links.
1275
+ ; http://php.net/sybct.allow-persistent
1276
+ sybct.allow_persistent = On
1277
+
1278
+ ; Maximum number of persistent links. -1 means no limit.
1279
+ ; http://php.net/sybct.max-persistent
1280
+ sybct.max_persistent = -1
1281
+
1282
+ ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1283
+ ; http://php.net/sybct.max-links
1284
+ sybct.max_links = -1
1285
+
1286
+ ; Minimum server message severity to display.
1287
+ ; http://php.net/sybct.min-server-severity
1288
+ sybct.min_server_severity = 10
1289
+
1290
+ ; Minimum client message severity to display.
1291
+ ; http://php.net/sybct.min-client-severity
1292
+ sybct.min_client_severity = 10
1293
+
1294
+ ; Set per-context timeout
1295
+ ; http://php.net/sybct.timeout
1296
+ ;sybct.timeout=
1297
+
1298
+ ;sybct.packet_size
1299
+
1300
+ ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
1301
+ ; Default: one minute
1302
+ ;sybct.login_timeout=
1303
+
1304
+ ; The name of the host you claim to be connecting from, for display by sp_who.
1305
+ ; Default: none
1306
+ ;sybct.hostname=
1307
+
1308
+ ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
1309
+ ; Default: 0
1310
+ ;sybct.deadlock_retry_count=
1311
+
1312
+ [bcmath]
1313
+ ; Number of decimal digits for all bcmath functions.
1314
+ ; http://php.net/bcmath.scale
1315
+ bcmath.scale = 0
1316
+
1317
+ [browscap]
1318
+ ; http://php.net/browscap
1319
+ ;browscap = extra/browscap.ini
1320
+
1321
+ [Session]
1322
+ ; Handler used to store/retrieve data.
1323
+ ; http://php.net/session.save-handler
1324
+ session.save_handler = files
1325
+
1326
+ ; Argument passed to save_handler. In the case of files, this is the path
1327
+ ; where data files are stored. Note: Windows users have to change this
1328
+ ; variable in order to use PHP's session functions.
1329
+ ;
1330
+ ; The path can be defined as:
1331
+ ;
1332
+ ; session.save_path = "N;/path"
1333
+ ;
1334
+ ; where N is an integer. Instead of storing all the session files in
1335
+ ; /path, what this will do is use subdirectories N-levels deep, and
1336
+ ; store the session data in those directories. This is useful if you
1337
+ ; or your OS have problems with lots of files in one directory, and is
1338
+ ; a more efficient layout for servers that handle lots of sessions.
1339
+ ;
1340
+ ; NOTE 1: PHP will not create this directory structure automatically.
1341
+ ; You can use the script in the ext/session dir for that purpose.
1342
+ ; NOTE 2: See the section on garbage collection below if you choose to
1343
+ ; use subdirectories for session storage
1344
+ ;
1345
+ ; The file storage module creates files using mode 600 by default.
1346
+ ; You can change that by using
1347
+ ;
1348
+ ; session.save_path = "N;MODE;/path"
1349
+ ;
1350
+ ; where MODE is the octal representation of the mode. Note that this
1351
+ ; does not overwrite the process's umask.
1352
+ ; http://php.net/session.save-path
1353
+
1354
+ ; RPM note : session directory must be owned by process owner
1355
+ ; for mod_php, see /etc/httpd/conf.d/php.conf
1356
+ ; for php-fpm, see /etc/php-fpm.d/*conf
1357
+ ;session.save_path = "/tmp"
1358
+
1359
+ ; Whether to use cookies.
1360
+ ; http://php.net/session.use-cookies
1361
+ session.use_cookies = 1
1362
+
1363
+ ; http://php.net/session.cookie-secure
1364
+ ;session.cookie_secure =
1365
+
1366
+ ; This option forces PHP to fetch and use a cookie for storing and maintaining
1367
+ ; the session id. We encourage this operation as it's very helpful in combating
1368
+ ; session hijacking when not specifying and managing your own session id. It is
1369
+ ; not the end all be all of session hijacking defense, but it's a good start.
1370
+ ; http://php.net/session.use-only-cookies
1371
+ session.use_only_cookies = 1
1372
+
1373
+ ; Name of the session (used as cookie name).
1374
+ ; http://php.net/session.name
1375
+ session.name = PHPSESSID
1376
+
1377
+ ; Initialize session on request startup.
1378
+ ; http://php.net/session.auto-start
1379
+ session.auto_start = 0
1380
+
1381
+ ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
1382
+ ; http://php.net/session.cookie-lifetime
1383
+ session.cookie_lifetime = 0
1384
+
1385
+ ; The path for which the cookie is valid.
1386
+ ; http://php.net/session.cookie-path
1387
+ session.cookie_path = /
1388
+
1389
+ ; The domain for which the cookie is valid.
1390
+ ; http://php.net/session.cookie-domain
1391
+ session.cookie_domain =
1392
+
1393
+ ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
1394
+ ; http://php.net/session.cookie-httponly
1395
+ session.cookie_httponly =
1396
+
1397
+ ; Handler used to serialize data. php is the standard serializer of PHP.
1398
+ ; http://php.net/session.serialize-handler
1399
+ session.serialize_handler = php
1400
+
1401
+ ; Defines the probability that the 'garbage collection' process is started
1402
+ ; on every session initialization. The probability is calculated by using
1403
+ ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
1404
+ ; and gc_divisor is the denominator in the equation. Setting this value to 1
1405
+ ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1406
+ ; the gc will run on any give request.
1407
+ ; Default Value: 1
1408
+ ; Development Value: 1
1409
+ ; Production Value: 1
1410
+ ; http://php.net/session.gc-probability
1411
+ session.gc_probability = 1
1412
+
1413
+ ; Defines the probability that the 'garbage collection' process is started on every
1414
+ ; session initialization. The probability is calculated by using the following equation:
1415
+ ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
1416
+ ; session.gc_divisor is the denominator in the equation. Setting this value to 1
1417
+ ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1418
+ ; the gc will run on any give request. Increasing this value to 1000 will give you
1419
+ ; a 0.1% chance the gc will run on any give request. For high volume production servers,
1420
+ ; this is a more efficient approach.
1421
+ ; Default Value: 100
1422
+ ; Development Value: 1000
1423
+ ; Production Value: 1000
1424
+ ; http://php.net/session.gc-divisor
1425
+ session.gc_divisor = 1000
1426
+
1427
+ ; After this number of seconds, stored data will be seen as 'garbage' and
1428
+ ; cleaned up by the garbage collection process.
1429
+ ; http://php.net/session.gc-maxlifetime
1430
+ session.gc_maxlifetime = 1440
1431
+
1432
+ ; NOTE: If you are using the subdirectory option for storing session files
1433
+ ; (see session.save_path above), then garbage collection does *not*
1434
+ ; happen automatically. You will need to do your own garbage
1435
+ ; collection through a shell script, cron entry, or some other method.
1436
+ ; For example, the following script would is the equivalent of
1437
+ ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1438
+ ; find /path/to/sessions -cmin +24 -type f | xargs rm
1439
+
1440
+ ; PHP 4.2 and less have an undocumented feature/bug that allows you to
1441
+ ; to initialize a session variable in the global scope.
1442
+ ; PHP 4.3 and later will warn you, if this feature is used.
1443
+ ; You can disable the feature and the warning separately. At this time,
1444
+ ; the warning is only displayed, if bug_compat_42 is enabled. This feature
1445
+ ; introduces some serious security problems if not handled correctly. It's
1446
+ ; recommended that you do not use this feature on production servers. But you
1447
+ ; should enable this on development servers and enable the warning as well. If you
1448
+ ; do not enable the feature on development servers, you won't be warned when it's
1449
+ ; used and debugging errors caused by this can be difficult to track down.
1450
+ ; Default Value: On
1451
+ ; Development Value: On
1452
+ ; Production Value: Off
1453
+ ; http://php.net/session.bug-compat-42
1454
+ session.bug_compat_42 = Off
1455
+
1456
+ ; This setting controls whether or not you are warned by PHP when initializing a
1457
+ ; session value into the global space. session.bug_compat_42 must be enabled before
1458
+ ; these warnings can be issued by PHP. See the directive above for more information.
1459
+ ; Default Value: On
1460
+ ; Development Value: On
1461
+ ; Production Value: Off
1462
+ ; http://php.net/session.bug-compat-warn
1463
+ session.bug_compat_warn = Off
1464
+
1465
+ ; Check HTTP Referer to invalidate externally stored URLs containing ids.
1466
+ ; HTTP_REFERER has to contain this substring for the session to be
1467
+ ; considered as valid.
1468
+ ; http://php.net/session.referer-check
1469
+ session.referer_check =
1470
+
1471
+ ; How many bytes to read from the file.
1472
+ ; http://php.net/session.entropy-length
1473
+ ;session.entropy_length = 32
1474
+
1475
+ ; Specified here to create the session id.
1476
+ ; http://php.net/session.entropy-file
1477
+ ; Defaults to /dev/urandom
1478
+ ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
1479
+ ; If neither are found at compile time, the default is no entropy file.
1480
+ ; On windows, setting the entropy_length setting will activate the
1481
+ ; Windows random source (using the CryptoAPI)
1482
+ ;session.entropy_file = /dev/urandom
1483
+
1484
+ ; Set to {nocache,private,public,} to determine HTTP caching aspects
1485
+ ; or leave this empty to avoid sending anti-caching headers.
1486
+ ; http://php.net/session.cache-limiter
1487
+ session.cache_limiter = nocache
1488
+
1489
+ ; Document expires after n minutes.
1490
+ ; http://php.net/session.cache-expire
1491
+ session.cache_expire = 180
1492
+
1493
+ ; trans sid support is disabled by default.
1494
+ ; Use of trans sid may risk your users security.
1495
+ ; Use this option with caution.
1496
+ ; - User may send URL contains active session ID
1497
+ ; to other person via. email/irc/etc.
1498
+ ; - URL that contains active session ID may be stored
1499
+ ; in publicly accessible computer.
1500
+ ; - User may access your site with the same session ID
1501
+ ; always using URL stored in browser's history or bookmarks.
1502
+ ; http://php.net/session.use-trans-sid
1503
+ session.use_trans_sid = 0
1504
+
1505
+ ; Select a hash function for use in generating session ids.
1506
+ ; Possible Values
1507
+ ; 0 (MD5 128 bits)
1508
+ ; 1 (SHA-1 160 bits)
1509
+ ; This option may also be set to the name of any hash function supported by
1510
+ ; the hash extension. A list of available hashes is returned by the hash_algos()
1511
+ ; function.
1512
+ ; http://php.net/session.hash-function
1513
+ session.hash_function = 0
1514
+
1515
+ ; Define how many bits are stored in each character when converting
1516
+ ; the binary hash data to something readable.
1517
+ ; Possible values:
1518
+ ; 4 (4 bits: 0-9, a-f)
1519
+ ; 5 (5 bits: 0-9, a-v)
1520
+ ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
1521
+ ; Default Value: 4
1522
+ ; Development Value: 5
1523
+ ; Production Value: 5
1524
+ ; http://php.net/session.hash-bits-per-character
1525
+ session.hash_bits_per_character = 5
1526
+
1527
+ ; The URL rewriter will look for URLs in a defined set of HTML tags.
1528
+ ; form/fieldset are special; if you include them here, the rewriter will
1529
+ ; add a hidden <input> field with the info which is otherwise appended
1530
+ ; to URLs. If you want XHTML conformity, remove the form entry.
1531
+ ; Note that all valid entries require a "=", even if no value follows.
1532
+ ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
1533
+ ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1534
+ ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1535
+ ; http://php.net/url-rewriter.tags
1536
+ url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
1537
+
1538
+ ; Enable upload progress tracking in $_SESSION
1539
+ ; Default Value: On
1540
+ ; Development Value: On
1541
+ ; Production Value: On
1542
+ ; http://php.net/session.upload-progress.enabled
1543
+ ;session.upload_progress.enabled = On
1544
+
1545
+ ; Cleanup the progress information as soon as all POST data has been read
1546
+ ; (i.e. upload completed).
1547
+ ; Default Value: On
1548
+ ; Development Value: On
1549
+ ; Production Value: On
1550
+ ; http://php.net/session.upload-progress.cleanup
1551
+ ;session.upload_progress.cleanup = On
1552
+
1553
+ ; A prefix used for the upload progress key in $_SESSION
1554
+ ; Default Value: "upload_progress_"
1555
+ ; Development Value: "upload_progress_"
1556
+ ; Production Value: "upload_progress_"
1557
+ ; http://php.net/session.upload-progress.prefix
1558
+ ;session.upload_progress.prefix = "upload_progress_"
1559
+
1560
+ ; The index name (concatenated with the prefix) in $_SESSION
1561
+ ; containing the upload progress information
1562
+ ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
1563
+ ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
1564
+ ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
1565
+ ; http://php.net/session.upload-progress.name
1566
+ ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
1567
+
1568
+ ; How frequently the upload progress should be updated.
1569
+ ; Given either in percentages (per-file), or in bytes
1570
+ ; Default Value: "1%"
1571
+ ; Development Value: "1%"
1572
+ ; Production Value: "1%"
1573
+ ; http://php.net/session.upload-progress.freq
1574
+ ;session.upload_progress.freq = "1%"
1575
+
1576
+ ; The minimum delay between updates, in seconds
1577
+ ; Default Value: 1
1578
+ ; Development Value: 1
1579
+ ; Production Value: 1
1580
+ ; http://php.net/session.upload-progress.min-freq
1581
+ ;session.upload_progress.min_freq = "1"
1582
+
1583
+ [MSSQL]
1584
+ ; Allow or prevent persistent links.
1585
+ mssql.allow_persistent = On
1586
+
1587
+ ; Maximum number of persistent links. -1 means no limit.
1588
+ mssql.max_persistent = -1
1589
+
1590
+ ; Maximum number of links (persistent+non persistent). -1 means no limit.
1591
+ mssql.max_links = -1
1592
+
1593
+ ; Minimum error severity to display.
1594
+ mssql.min_error_severity = 10
1595
+
1596
+ ; Minimum message severity to display.
1597
+ mssql.min_message_severity = 10
1598
+
1599
+ ; Compatibility mode with old versions of PHP 3.0.
1600
+ mssql.compatability_mode = Off
1601
+
1602
+ ; Connect timeout
1603
+ ;mssql.connect_timeout = 5
1604
+
1605
+ ; Query timeout
1606
+ ;mssql.timeout = 60
1607
+
1608
+ ; Valid range 0 - 2147483647. Default = 4096.
1609
+ ;mssql.textlimit = 4096
1610
+
1611
+ ; Valid range 0 - 2147483647. Default = 4096.
1612
+ ;mssql.textsize = 4096
1613
+
1614
+ ; Limits the number of records in each batch. 0 = all records in one batch.
1615
+ ;mssql.batchsize = 0
1616
+
1617
+ ; Specify how datetime and datetim4 columns are returned
1618
+ ; On => Returns data converted to SQL server settings
1619
+ ; Off => Returns values as YYYY-MM-DD hh:mm:ss
1620
+ ;mssql.datetimeconvert = On
1621
+
1622
+ ; Use NT authentication when connecting to the server
1623
+ mssql.secure_connection = Off
1624
+
1625
+ ; Specify max number of processes. -1 = library default
1626
+ ; msdlib defaults to 25
1627
+ ; FreeTDS defaults to 4096
1628
+ ;mssql.max_procs = -1
1629
+
1630
+ ; Specify client character set.
1631
+ ; If empty or not set the client charset from freetds.conf is used
1632
+ ; This is only used when compiled with FreeTDS
1633
+ ;mssql.charset = "ISO-8859-1"
1634
+
1635
+ [Assertion]
1636
+ ; Assert(expr); active by default.
1637
+ ; http://php.net/assert.active
1638
+ ;assert.active = On
1639
+
1640
+ ; Issue a PHP warning for each failed assertion.
1641
+ ; http://php.net/assert.warning
1642
+ ;assert.warning = On
1643
+
1644
+ ; Don't bail out by default.
1645
+ ; http://php.net/assert.bail
1646
+ ;assert.bail = Off
1647
+
1648
+ ; User-function to be called if an assertion fails.
1649
+ ; http://php.net/assert.callback
1650
+ ;assert.callback = 0
1651
+
1652
+ ; Eval the expression with current error_reporting(). Set to true if you want
1653
+ ; error_reporting(0) around the eval().
1654
+ ; http://php.net/assert.quiet-eval
1655
+ ;assert.quiet_eval = 0
1656
+
1657
+ [mbstring]
1658
+ ; language for internal character representation.
1659
+ ; http://php.net/mbstring.language
1660
+ ;mbstring.language = Japanese
1661
+
1662
+ ; internal/script encoding.
1663
+ ; Some encoding cannot work as internal encoding.
1664
+ ; (e.g. SJIS, BIG5, ISO-2022-*)
1665
+ ; http://php.net/mbstring.internal-encoding
1666
+ ;mbstring.internal_encoding = EUC-JP
1667
+
1668
+ ; http input encoding.
1669
+ ; http://php.net/mbstring.http-input
1670
+ ;mbstring.http_input = auto
1671
+
1672
+ ; http output encoding. mb_output_handler must be
1673
+ ; registered as output buffer to function
1674
+ ; http://php.net/mbstring.http-output
1675
+ ;mbstring.http_output = SJIS
1676
+
1677
+ ; enable automatic encoding translation according to
1678
+ ; mbstring.internal_encoding setting. Input chars are
1679
+ ; converted to internal encoding by setting this to On.
1680
+ ; Note: Do _not_ use automatic encoding translation for
1681
+ ; portable libs/applications.
1682
+ ; http://php.net/mbstring.encoding-translation
1683
+ ;mbstring.encoding_translation = Off
1684
+
1685
+ ; automatic encoding detection order.
1686
+ ; auto means
1687
+ ; http://php.net/mbstring.detect-order
1688
+ ;mbstring.detect_order = auto
1689
+
1690
+ ; substitute_character used when character cannot be converted
1691
+ ; one from another
1692
+ ; http://php.net/mbstring.substitute-character
1693
+ ;mbstring.substitute_character = none;
1694
+
1695
+ ; overload(replace) single byte functions by mbstring functions.
1696
+ ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1697
+ ; etc. Possible values are 0,1,2,4 or combination of them.
1698
+ ; For example, 7 for overload everything.
1699
+ ; 0: No overload
1700
+ ; 1: Overload mail() function
1701
+ ; 2: Overload str*() functions
1702
+ ; 4: Overload ereg*() functions
1703
+ ; http://php.net/mbstring.func-overload
1704
+ ;mbstring.func_overload = 0
1705
+
1706
+ ; enable strict encoding detection.
1707
+ ;mbstring.strict_detection = Off
1708
+
1709
+ ; This directive specifies the regex pattern of content types for which mb_output_handler()
1710
+ ; is activated.
1711
+ ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
1712
+ ;mbstring.http_output_conv_mimetype=
1713
+
1714
+ [gd]
1715
+ ; Tell the jpeg decode to ignore warnings and try to create
1716
+ ; a gd image. The warning will then be displayed as notices
1717
+ ; disabled by default
1718
+ ; http://php.net/gd.jpeg-ignore-warning
1719
+ ;gd.jpeg_ignore_warning = 0
1720
+
1721
+ [exif]
1722
+ ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1723
+ ; With mbstring support this will automatically be converted into the encoding
1724
+ ; given by corresponding encode setting. When empty mbstring.internal_encoding
1725
+ ; is used. For the decode settings you can distinguish between motorola and
1726
+ ; intel byte order. A decode setting cannot be empty.
1727
+ ; http://php.net/exif.encode-unicode
1728
+ ;exif.encode_unicode = ISO-8859-15
1729
+
1730
+ ; http://php.net/exif.decode-unicode-motorola
1731
+ ;exif.decode_unicode_motorola = UCS-2BE
1732
+
1733
+ ; http://php.net/exif.decode-unicode-intel
1734
+ ;exif.decode_unicode_intel = UCS-2LE
1735
+
1736
+ ; http://php.net/exif.encode-jis
1737
+ ;exif.encode_jis =
1738
+
1739
+ ; http://php.net/exif.decode-jis-motorola
1740
+ ;exif.decode_jis_motorola = JIS
1741
+
1742
+ ; http://php.net/exif.decode-jis-intel
1743
+ ;exif.decode_jis_intel = JIS
1744
+
1745
+ [Tidy]
1746
+ ; The path to a default tidy configuration file to use when using tidy
1747
+ ; http://php.net/tidy.default-config
1748
+ ;tidy.default_config = /usr/local/lib/php/default.tcfg
1749
+
1750
+ ; Should tidy clean and repair output automatically?
1751
+ ; WARNING: Do not use this option if you are generating non-html content
1752
+ ; such as dynamic images
1753
+ ; http://php.net/tidy.clean-output
1754
+ tidy.clean_output = Off
1755
+
1756
+ [soap]
1757
+ ; Enables or disables WSDL caching feature.
1758
+ ; http://php.net/soap.wsdl-cache-enabled
1759
+ soap.wsdl_cache_enabled=1
1760
+
1761
+ ; Sets the directory name where SOAP extension will put cache files.
1762
+ ; http://php.net/soap.wsdl-cache-dir
1763
+ soap.wsdl_cache_dir="/tmp"
1764
+
1765
+ ; (time to live) Sets the number of second while cached file will be used
1766
+ ; instead of original one.
1767
+ ; http://php.net/soap.wsdl-cache-ttl
1768
+ soap.wsdl_cache_ttl=86400
1769
+
1770
+ ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
1771
+ soap.wsdl_cache_limit = 5
1772
+
1773
+ [sysvshm]
1774
+ ; A default size of the shared memory segment
1775
+ ;sysvshm.init_mem = 10000
1776
+
1777
+ [ldap]
1778
+ ; Sets the maximum number of open links or -1 for unlimited.
1779
+ ldap.max_links = -1
1780
+
1781
+ [mcrypt]
1782
+ ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
1783
+
1784
+ ; Directory where to load mcrypt algorithms
1785
+ ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1786
+ ;mcrypt.algorithms_dir=
1787
+
1788
+ ; Directory where to load mcrypt modes
1789
+ ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1790
+ ;mcrypt.modes_dir=
1791
+
1792
+ [dba]
1793
+ ;dba.default_handler=
1794
+
1795
+ [curl]
1796
+ ; A default value for the CURLOPT_CAINFO option. This is required to be an
1797
+ ; absolute path.
1798
+ ;curl.cainfo =
1799
+
1800
+ ; Local Variables:
1801
+ ; tab-width: 4
1802
+ ; End: