poolparty 0.2.84 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (642) hide show
  1. data/History.txt +7 -0
  2. data/License.txt +1 -1
  3. data/PostInstall.txt +1 -1
  4. data/README.txt +13 -22
  5. data/Rakefile +26 -35
  6. data/VERSION.yml +4 -0
  7. data/bin/cloud +24 -3
  8. data/bin/cloud-bootstrap +31 -0
  9. data/bin/cloud-configure +36 -20
  10. data/bin/{pool-console → cloud-console} +0 -0
  11. data/bin/cloud-contract +7 -7
  12. data/bin/cloud-describe +28 -0
  13. data/bin/cloud-expand +13 -6
  14. data/bin/cloud-handle-load +3 -3
  15. data/bin/cloud-list +9 -14
  16. data/bin/cloud-osxcopy +6 -5
  17. data/bin/cloud-provision +17 -22
  18. data/bin/cloud-setup-dev +11 -11
  19. data/bin/cloud-show +28 -0
  20. data/bin/cloud-spec +2 -2
  21. data/bin/cloud-ssh +10 -3
  22. data/bin/cloud-start +21 -23
  23. data/bin/cloud-terminate +15 -7
  24. data/bin/cloud-verify +32 -0
  25. data/bin/install-poolparty +216 -0
  26. data/bin/server-butterfly +25 -0
  27. data/bin/server-cloud-elections +37 -0
  28. data/bin/server-ensure-provisioning +33 -0
  29. data/bin/server-get-load +9 -12
  30. data/bin/server-list-active +25 -12
  31. data/bin/server-manage-election +67 -0
  32. data/bin/server-monitor.ru +42 -0
  33. data/bin/server-query-agent +15 -0
  34. data/bin/server-rerun +1 -1
  35. data/bin/server-write-new-nodes +2 -2
  36. data/config/jeweler.rb +52 -0
  37. data/config/requirements.rb +1 -9
  38. data/examples/basic.rb +10 -10
  39. data/examples/deploy.rb +5 -0
  40. data/examples/fairchild.rb +28 -0
  41. data/examples/fairchild_chef.rb +19 -0
  42. data/examples/maize.rb +37 -0
  43. data/examples/paparazzi.conf.erb +21 -0
  44. data/generators/poolspec/poolspec_generator.rb +1 -9
  45. data/generators/poolspec/templates/pool_spec_template.erb +0 -1
  46. data/lib/poolparty/{aska/aska.rb → aska.rb} +19 -28
  47. data/lib/poolparty/base_packages/haproxy.rb +48 -31
  48. data/lib/poolparty/base_packages/heartbeat.rb +6 -62
  49. data/lib/poolparty/base_packages/poolparty.rb +5 -105
  50. data/lib/poolparty/base_packages/ruby.rb +4 -4
  51. data/lib/poolparty/base_packages/runit.rb +1 -1
  52. data/lib/poolparty/core/array.rb +21 -3
  53. data/lib/poolparty/core/hash.rb +45 -10
  54. data/lib/poolparty/core/kernel.rb +30 -8
  55. data/lib/poolparty/core/nil.rb +8 -0
  56. data/lib/poolparty/core/object.rb +34 -25
  57. data/lib/poolparty/core/ordered_hash.rb +99 -0
  58. data/lib/poolparty/core/string.rb +112 -15
  59. data/lib/poolparty/core/symbol.rb +10 -0
  60. data/lib/poolparty/dependencies.rb +49 -0
  61. data/lib/poolparty/dependency_resolver/chef_resolver.rb +237 -0
  62. data/lib/poolparty/dependency_resolver/dependency_resolver.rb +42 -0
  63. data/lib/poolparty/dependency_resolver/dependency_resolver_cloud_extensions.rb +29 -0
  64. data/lib/poolparty/{dependency_resolutions → dependency_resolver}/puppet.rb +34 -29
  65. data/lib/poolparty/dependency_resolver/puppet_resolver.rb +188 -0
  66. data/lib/poolparty/exceptions/MasterException.rb +2 -2
  67. data/lib/poolparty/exceptions/RemoteException.rb +1 -1
  68. data/lib/poolparty/exceptions/dependency_resolver_exception.rb +5 -0
  69. data/lib/poolparty/exceptions/package_exception.rb +7 -0
  70. data/lib/poolparty/extra/deployments.rb +7 -7
  71. data/lib/poolparty/helpers/binary.rb +26 -32
  72. data/lib/poolparty/helpers/console.rb +1 -1
  73. data/lib/poolparty/helpers/display.rb +1 -5
  74. data/lib/poolparty/helpers/hash_printer.rb +44 -0
  75. data/lib/poolparty/helpers/loading.rb +4 -0
  76. data/lib/poolparty/helpers/optioner.rb +39 -25
  77. data/lib/poolparty/lite.rb +30 -0
  78. data/lib/poolparty/modules/callbacks.rb +44 -0
  79. data/lib/poolparty/modules/cloud_dsl.rb +38 -8
  80. data/lib/poolparty/modules/cloud_resourcer.rb +67 -97
  81. data/lib/poolparty/modules/daemonizable.rb +141 -0
  82. data/lib/poolparty/modules/definable_resource.rb +8 -14
  83. data/lib/poolparty/modules/file_writer.rb +25 -17
  84. data/lib/poolparty/modules/pinger.rb +28 -0
  85. data/lib/poolparty/modules/pretty_printer.rb +1 -1
  86. data/lib/poolparty/modules/resourcing_dsl.rb +55 -40
  87. data/lib/poolparty/modules/searchable_paths.rb +91 -0
  88. data/lib/poolparty/modules/thread_pool.rb +107 -106
  89. data/lib/poolparty/modules/user_helpers.rb +20 -0
  90. data/lib/poolparty/monitors/base_monitor.rb +18 -75
  91. data/lib/poolparty/monitors/monitor_rack.rb +123 -0
  92. data/lib/poolparty/monitors/monitors/favicon_monitor.rb +12 -0
  93. data/lib/poolparty/monitors/monitors/load_monitor.rb +9 -0
  94. data/lib/poolparty/monitors/monitors/memory_monitor.rb +9 -9
  95. data/lib/poolparty/monitors/monitors/neighborhood_monitor.rb +77 -0
  96. data/lib/poolparty/monitors/monitors/stats_monitor.rb +187 -0
  97. data/lib/poolparty/monitors/monitors/time_monitor.rb +15 -0
  98. data/lib/poolparty/net/init.rb +10 -0
  99. data/lib/poolparty/net/remote_bases.rb +20 -0
  100. data/lib/poolparty/net/remote_instance.rb +26 -44
  101. data/lib/poolparty/net/remoter/cloud_control.rb +24 -0
  102. data/lib/poolparty/net/remoter/connections.rb +172 -0
  103. data/lib/poolparty/net/remoter/interactive.rb +45 -0
  104. data/lib/poolparty/net/remoter_base.rb +116 -111
  105. data/lib/poolparty/net/remoter_bases/ec2/ec2.rb +245 -0
  106. data/lib/poolparty/net/remoter_bases/ec2/ec2_remote_instance.rb +53 -0
  107. data/lib/poolparty/net/{remote_bases → remoter_bases}/ec2/ec2_response_object.rb +2 -4
  108. data/lib/poolparty/net/remoter_bases/vmrun/utilities/vm_disk.rb +12 -0
  109. data/lib/poolparty/net/remoter_bases/vmrun/utilities/vmx.rb +33 -0
  110. data/lib/poolparty/net/remoter_bases/vmrun/utilities/vmx_file.rb +117 -0
  111. data/lib/poolparty/net/remoter_bases/vmrun/vmrun.rb +158 -0
  112. data/lib/poolparty/net/remoter_bases/vmrun/vmrun_instance.rb +71 -0
  113. data/lib/poolparty/plugins/apache2/apache.rb +340 -0
  114. data/lib/poolparty/plugins/bind.rb +11 -0
  115. data/lib/poolparty/plugins/chef.rb +173 -0
  116. data/lib/poolparty/plugins/chef_deploy.rb +58 -0
  117. data/lib/poolparty/plugins/deploy_directory.rb +49 -0
  118. data/lib/poolparty/plugins/gem_package.rb +61 -0
  119. data/lib/poolparty/plugins/git.rb +41 -24
  120. data/lib/poolparty/plugins/line_in_file.rb +30 -0
  121. data/lib/poolparty/plugins/nanite.rb +41 -0
  122. data/lib/poolparty/plugins/rails_deploy.rb +76 -0
  123. data/lib/poolparty/plugins/svn.rb +56 -39
  124. data/lib/poolparty/poolparty/cloud.rb +137 -167
  125. data/lib/poolparty/poolparty/{base.rb → default.rb} +62 -25
  126. data/lib/poolparty/poolparty/key.rb +78 -0
  127. data/lib/poolparty/poolparty/loggable.rb +28 -27
  128. data/lib/poolparty/poolparty/neighborhoods.rb +102 -0
  129. data/lib/poolparty/poolparty/plugin.rb +53 -18
  130. data/lib/poolparty/poolparty/plugin_model.rb +20 -23
  131. data/lib/poolparty/poolparty/pool.rb +34 -26
  132. data/lib/poolparty/poolparty/poolparty_base_class.rb +190 -0
  133. data/lib/poolparty/poolparty/resource.rb +92 -178
  134. data/lib/poolparty/poolparty/script.rb +32 -20
  135. data/lib/poolparty/poolparty/service.rb +44 -0
  136. data/lib/poolparty/poolparty/template.rb +27 -0
  137. data/lib/poolparty/provision/boot_strapper.rb +164 -0
  138. data/lib/poolparty/provision/configurations/chef.rb +26 -0
  139. data/lib/poolparty/provision/configurations/puppet.rb +28 -0
  140. data/lib/poolparty/provision/dr_configure.rb +142 -0
  141. data/lib/poolparty/resources/cron.rb +51 -0
  142. data/lib/poolparty/resources/directory.rb +36 -0
  143. data/lib/poolparty/resources/exec.rb +47 -0
  144. data/lib/poolparty/resources/file.rb +73 -0
  145. data/lib/poolparty/resources/host.rb +37 -0
  146. data/lib/poolparty/resources/mount.rb +45 -0
  147. data/lib/poolparty/resources/package.rb +41 -0
  148. data/lib/poolparty/resources/remote_file.rb +52 -0
  149. data/lib/poolparty/resources/service.rb +41 -0
  150. data/lib/poolparty/resources/sshkey.rb +49 -0
  151. data/lib/poolparty/resources/symlink.rb +43 -0
  152. data/lib/poolparty/{poolparty/resources/remote_user.rb → resources/user.rb} +1 -5
  153. data/lib/poolparty/resources/variable.rb +34 -0
  154. data/lib/poolparty/resources.rb +42 -0
  155. data/lib/poolparty/schema.rb +79 -0
  156. data/lib/poolparty/templates/apache2/apache2.conf +14 -0
  157. data/lib/poolparty/templates/apache2/base.conf.erb +168 -0
  158. data/lib/poolparty/templates/apache2/browser_fixes.conf.erb +26 -0
  159. data/lib/poolparty/templates/apache2/debian.conf.erb +675 -0
  160. data/lib/poolparty/templates/apache2/default-site.conf.erb +41 -0
  161. data/lib/poolparty/templates/apache2/directory_indexes.conf.erb +101 -0
  162. data/lib/poolparty/templates/apache2/logging-syslog.conf.erb +42 -0
  163. data/lib/poolparty/templates/apache2/mime-extras.conf.erb +211 -0
  164. data/lib/poolparty/templates/apache2/mime-minimal.conf.erb +15 -0
  165. data/lib/poolparty/templates/apache2/mpm-worker.conf.erb +20 -0
  166. data/lib/poolparty/templates/apache2/mpm-worker.erb +20 -0
  167. data/lib/poolparty/templates/apache2/passenger.conf.erb +20 -0
  168. data/lib/poolparty/templates/apache2/php.ini.erb +1253 -0
  169. data/lib/poolparty/templates/apache2/server-status.erb +19 -0
  170. data/lib/poolparty/templates/erlang_cookie_maker +6 -0
  171. data/lib/poolparty/templates/gemrc_template +11 -0
  172. data/lib/poolparty/templates/ha.cf +1 -1
  173. data/lib/poolparty/templates/haproxy.conf +29 -27
  174. data/lib/poolparty/templates/haresources +2 -2
  175. data/lib/poolparty/templates/monitor.ru +16 -0
  176. data/lib/poolparty/templates/php.ini.erb +1253 -0
  177. data/lib/poolparty/templates/puppet/add_puppet_to_hosts +6 -0
  178. data/lib/poolparty/templates/puppet/puppet.conf +2 -0
  179. data/lib/poolparty/templates/puppet/puppetrunner +14 -0
  180. data/lib/poolparty/templates/puppet/site.pp +4 -0
  181. data/lib/poolparty/templates/puppetrunner +11 -5
  182. data/lib/poolparty/verification/verifier_base.rb +17 -0
  183. data/lib/poolparty/verification/verifiers/http_match.rb +43 -0
  184. data/lib/poolparty/verification/verifiers/http_status.rb +59 -0
  185. data/lib/poolparty/verification/verifiers/ping.rb +34 -0
  186. data/lib/poolparty/verification/verify.rb +76 -0
  187. data/lib/poolparty.rb +76 -22
  188. data/lib/poolpartycl.rb +66 -1
  189. data/script/destroy +1 -1
  190. data/script/generate +1 -1
  191. data/spec/bin/bin_spec_helper.rb +7 -0
  192. data/spec/bin/fixtures/bin_cloud_for_test.rb +13 -0
  193. data/spec/bin/server-list-active_spec.rb +24 -0
  194. data/spec/poolparty/aska/aska_spec.rb +5 -5
  195. data/spec/poolparty/base_packages/haproxy_spec.rb +2 -8
  196. data/spec/poolparty/base_packages/heartbeat_spec.rb +3 -26
  197. data/spec/poolparty/bin/console_spec.rb +11 -29
  198. data/spec/poolparty/core/array_spec.rb +20 -3
  199. data/spec/poolparty/core/hash_spec.rb +30 -28
  200. data/spec/poolparty/core/object_spec.rb +2 -3
  201. data/spec/poolparty/core/ordered_hash_spec.rb +48 -0
  202. data/spec/poolparty/core/string_spec.rb +1 -27
  203. data/spec/poolparty/dependencies_spec.rb +11 -0
  204. data/spec/poolparty/dependency_resolver/chef_resolver_spec.rb +107 -0
  205. data/spec/poolparty/dependency_resolver/dependency_resolver_cloud_extensions_spec.rb +122 -0
  206. data/spec/poolparty/dependency_resolver/dependency_resolver_spec.rb +16 -0
  207. data/spec/poolparty/dependency_resolver/puppet_resolver_spec.rb +121 -0
  208. data/spec/poolparty/extra/deployments_spec.rb +9 -5
  209. data/spec/poolparty/fixtures/clouds.json +128 -0
  210. data/spec/poolparty/fixtures/test_template.erb +1 -0
  211. data/spec/poolparty/helpers/binary_spec.rb +1 -1
  212. data/spec/poolparty/helpers/hash_printer_spec.rb +34 -0
  213. data/spec/poolparty/helpers/optioner_spec.rb +1 -1
  214. data/spec/poolparty/id_rsa +27 -0
  215. data/spec/poolparty/modules/cloud_resourcer_spec.rb +26 -111
  216. data/spec/poolparty/modules/definable_resource.rb +1 -1
  217. data/spec/poolparty/modules/file_writer_spec.rb +10 -4
  218. data/spec/poolparty/modules/searchable_paths_spec.rb +76 -0
  219. data/spec/poolparty/monitors/base_monitor_spec.rb +112 -111
  220. data/spec/poolparty/monitors/monitors/cpu_monitor_spec.rb +18 -16
  221. data/spec/poolparty/monitors/monitors/memory_monitor_spec.rb +48 -47
  222. data/spec/poolparty/net/remote_instance_spec.rb +9 -73
  223. data/spec/poolparty/net/remote_spec.rb +287 -310
  224. data/spec/poolparty/net/remoter_base_spec.rb +3 -56
  225. data/spec/poolparty/net/remoter_bases/ec2_mocks_and_stubs.rb +24 -0
  226. data/spec/poolparty/net/remoter_bases/ec2_remote_instance_spec.rb +114 -0
  227. data/spec/poolparty/net/{remote_bases → remoter_bases}/ec2_spec.rb +51 -53
  228. data/spec/poolparty/net/remoter_spec.rb +96 -86
  229. data/spec/poolparty/plugins/chef_spec.rb +7 -0
  230. data/spec/poolparty/plugins/deploydirectory_spec.rb +51 -52
  231. data/spec/poolparty/plugins/git_spec.rb +16 -20
  232. data/spec/poolparty/plugins/line_spec.rb +14 -8
  233. data/spec/poolparty/poolparty/cloud_spec.rb +85 -183
  234. data/spec/poolparty/poolparty/configurers/files/ruby_basic.rb +3 -4
  235. data/spec/poolparty/poolparty/configurers/ruby_spec.rb +7 -23
  236. data/spec/poolparty/poolparty/{base_spec.rb → default_spec.rb} +44 -41
  237. data/spec/poolparty/poolparty/example_spec.rb +43 -11
  238. data/spec/poolparty/poolparty/key_spec.rb +42 -0
  239. data/spec/poolparty/poolparty/neighborhoods_spec.rb +65 -0
  240. data/spec/poolparty/poolparty/plugin_model_spec.rb +14 -24
  241. data/spec/poolparty/poolparty/plugin_spec.rb +25 -96
  242. data/spec/poolparty/poolparty/pool_spec.rb +3 -1
  243. data/spec/poolparty/poolparty/resource_spec.rb +70 -270
  244. data/spec/poolparty/poolparty/script_spec.rb +30 -53
  245. data/spec/poolparty/poolparty/service_spec.rb +5 -0
  246. data/spec/poolparty/poolparty/template_spec.rb +26 -0
  247. data/spec/poolparty/poolparty/test_plugins/webserver.rb +8 -25
  248. data/spec/poolparty/poolparty_base_class_spec.rb +84 -0
  249. data/spec/poolparty/poolparty_spec.rb +7 -4
  250. data/spec/poolparty/resources/cron_spec.rb +44 -0
  251. data/spec/poolparty/resources/directory_spec.rb +40 -0
  252. data/spec/poolparty/resources/exec_spec.rb +37 -0
  253. data/spec/poolparty/resources/file_spec.rb +64 -0
  254. data/spec/poolparty/resources/gem_spec.rb +7 -0
  255. data/spec/poolparty/resources/host_spec.rb +35 -0
  256. data/spec/poolparty/resources/package_spec.rb +26 -0
  257. data/spec/poolparty/resources/service_spec.rb +29 -0
  258. data/spec/poolparty/resources/sshkey_spec.rb +40 -0
  259. data/spec/poolparty/resources/symlink_spec.rb +29 -0
  260. data/spec/poolparty/resources/user_spec.rb +48 -0
  261. data/spec/poolparty/resources/variable_spec.rb +26 -0
  262. data/spec/poolparty/schema_spec.rb +53 -0
  263. data/spec/poolparty/spec_helper.rb +107 -23
  264. data/spec/poolparty/test_spec_helper.rb +13 -0
  265. data/tasks/development.rake +85 -69
  266. data/tasks/poolparty.rake +54 -0
  267. data/tasks/server.rake +41 -39
  268. data/tasks/spec.rake +35 -1
  269. data/test/fixtures/test_template.erb +1 -0
  270. data/test/poolparty/core/array_test.rb +21 -0
  271. data/test/poolparty/core/hash_test.rb +34 -0
  272. data/test/poolparty/core/string_test.rb +29 -0
  273. data/test/poolparty/dependency_resolver/puppet_resolver_test.rb +90 -0
  274. data/test/poolparty/modules/callbacks_test.rb +40 -0
  275. data/test/poolparty/modules/cloud_dsl_test.rb +60 -0
  276. data/test/poolparty/net/remoter_bases/vmrun/vmrun_test.rb +54 -0
  277. data/test/poolparty/net/remoter_test.rb +14 -0
  278. data/test/poolparty/poolparty/neighborhood_test.rb +23 -0
  279. data/test/poolparty/poolparty/poolparty_base_class_test.rb +84 -0
  280. data/test/poolparty/poolparty/template_test.rb +31 -0
  281. data/test/poolparty/provision/boot_strapper_test.rb +6 -0
  282. data/test/poolparty/provision/dr_configure_test.rb +6 -0
  283. data/test/poolparty/verification/verify_test.rb +49 -0
  284. data/test/test_helper.rb +8 -2
  285. data/test/test_poolparty.rb +6 -5
  286. data/vendor/chef/apache2/README.rdoc +59 -0
  287. data/vendor/chef/apache2/attributes/apache.rb +72 -0
  288. data/vendor/chef/apache2/definitions/apache_module.rb +36 -0
  289. data/vendor/chef/apache2/definitions/apache_site.rb +36 -0
  290. data/vendor/chef/apache2/definitions/web_app.rb +45 -0
  291. data/vendor/chef/apache2/files/default/apache2_module_conf_generate.pl +41 -0
  292. data/vendor/chef/apache2/recipes/default.rb +132 -0
  293. data/vendor/chef/apache2/recipes/mod_alias.rb +20 -0
  294. data/vendor/chef/apache2/recipes/mod_auth_basic.rb +20 -0
  295. data/vendor/chef/apache2/recipes/mod_auth_digest.rb +20 -0
  296. data/vendor/chef/apache2/recipes/mod_authn_file.rb +20 -0
  297. data/vendor/chef/apache2/recipes/mod_authnz_ldap.rb +20 -0
  298. data/vendor/chef/apache2/recipes/mod_authz_default.rb +20 -0
  299. data/vendor/chef/apache2/recipes/mod_authz_groupfile.rb +20 -0
  300. data/vendor/chef/apache2/recipes/mod_authz_host.rb +20 -0
  301. data/vendor/chef/apache2/recipes/mod_authz_user.rb +20 -0
  302. data/vendor/chef/apache2/recipes/mod_autoindex.rb +20 -0
  303. data/vendor/chef/apache2/recipes/mod_cgi.rb +20 -0
  304. data/vendor/chef/apache2/recipes/mod_dav.rb +20 -0
  305. data/vendor/chef/apache2/recipes/mod_dav_svn.rb +20 -0
  306. data/vendor/chef/apache2/recipes/mod_deflate.rb +20 -0
  307. data/vendor/chef/apache2/recipes/mod_dir.rb +20 -0
  308. data/vendor/chef/apache2/recipes/mod_env.rb +20 -0
  309. data/vendor/chef/apache2/recipes/mod_expires.rb +20 -0
  310. data/vendor/chef/apache2/recipes/mod_fcgid.rb +35 -0
  311. data/vendor/chef/apache2/recipes/mod_headers.rb +20 -0
  312. data/vendor/chef/apache2/recipes/mod_ldap.rb +20 -0
  313. data/vendor/chef/apache2/recipes/mod_log_config.rb +20 -0
  314. data/vendor/chef/apache2/recipes/mod_mime.rb +20 -0
  315. data/vendor/chef/apache2/recipes/mod_negotiation.rb +20 -0
  316. data/vendor/chef/apache2/recipes/mod_php5.rb +27 -0
  317. data/vendor/chef/apache2/recipes/mod_proxy.rb +20 -0
  318. data/vendor/chef/apache2/recipes/mod_proxy_http.rb +20 -0
  319. data/vendor/chef/apache2/recipes/mod_python.rb +22 -0
  320. data/vendor/chef/apache2/recipes/mod_rewrite.rb +20 -0
  321. data/vendor/chef/apache2/recipes/mod_setenvif.rb +20 -0
  322. data/vendor/chef/apache2/recipes/mod_ssl.rb +20 -0
  323. data/vendor/chef/apache2/recipes/mod_status.rb +20 -0
  324. data/vendor/chef/apache2/templates/default/a2dismod.erb +22 -0
  325. data/vendor/chef/apache2/templates/default/a2dissite.erb +29 -0
  326. data/vendor/chef/apache2/templates/default/a2enmod.erb +37 -0
  327. data/vendor/chef/apache2/templates/default/a2ensite.erb +38 -0
  328. data/vendor/chef/apache2/templates/default/apache2.conf.erb +630 -0
  329. data/vendor/chef/apache2/templates/default/default-site.erb +45 -0
  330. data/vendor/chef/apache2/templates/default/port_apache.erb +2 -0
  331. data/vendor/chef/apache2/templates/default/ports.conf.erb +6 -0
  332. data/vendor/chef/apache2/templates/default/web_app.conf.erb +43 -0
  333. data/vendor/chef/chef-deploy/LICENSE +201 -0
  334. data/vendor/chef/chef-deploy/README.rdoc +24 -0
  335. data/vendor/chef/chef-deploy/Rakefile +57 -0
  336. data/vendor/chef/chef-deploy/TODO +4 -0
  337. data/vendor/chef/chef-deploy/lib/chef-deploy/cached_deploy.rb +230 -0
  338. data/vendor/chef/chef-deploy/lib/chef-deploy/git.rb +132 -0
  339. data/vendor/chef/chef-deploy/lib/chef-deploy/subversion.rb +98 -0
  340. data/vendor/chef/chef-deploy/lib/chef-deploy.rb +183 -0
  341. data/vendor/gems/butterfly/History.txt +4 -0
  342. data/vendor/gems/butterfly/PostInstall.txt +2 -0
  343. data/vendor/gems/butterfly/README.rdoc +48 -0
  344. data/vendor/gems/butterfly/Rakefile +62 -0
  345. data/vendor/gems/butterfly/VERSION.yml +4 -0
  346. data/vendor/gems/butterfly/bin/flutter +4 -0
  347. data/vendor/gems/butterfly/butterfly.gemspec +37 -0
  348. data/vendor/gems/butterfly/examples/config.ru +15 -0
  349. data/vendor/gems/butterfly/examples/my_app.rb +12 -0
  350. data/vendor/gems/butterfly/lib/butterfly.rb +14 -0
  351. data/vendor/gems/butterfly/lib/handler.rb +48 -0
  352. data/vendor/gems/butterfly/lib/request.rb +29 -0
  353. data/vendor/gems/butterfly/lib/response.rb +49 -0
  354. data/vendor/gems/butterfly/script/console +10 -0
  355. data/vendor/gems/butterfly/script/destroy +14 -0
  356. data/vendor/gems/butterfly/script/generate +14 -0
  357. data/vendor/gems/butterfly/test/test_adapter_base.rb +23 -0
  358. data/vendor/gems/butterfly/test/test_butterfly_request.rb +46 -0
  359. data/vendor/gems/butterfly/test/test_butterfly_response.rb +43 -0
  360. data/vendor/gems/butterfly/test/test_butterfly_server.rb +16 -0
  361. data/vendor/gems/butterfly/test/test_default.rb +12 -0
  362. data/vendor/gems/butterfly/test/test_helper.rb +6 -0
  363. data/vendor/gems/dslify/History.txt +4 -0
  364. data/vendor/gems/dslify/Manifest.txt +25 -0
  365. data/vendor/gems/dslify/PostInstall.txt +5 -0
  366. data/vendor/gems/dslify/README.txt +60 -0
  367. data/vendor/gems/dslify/Rakefile +56 -0
  368. data/{config → vendor/gems/dslify/config}/hoe.rb +12 -55
  369. data/vendor/gems/dslify/config/requirements.rb +15 -0
  370. data/vendor/gems/dslify/dslify.gemspec +40 -0
  371. data/vendor/gems/dslify/lib/dslify/dslify.rb +76 -0
  372. data/vendor/gems/dslify/lib/dslify/version.rb +10 -0
  373. data/vendor/gems/dslify/lib/dslify.rb +7 -0
  374. data/vendor/gems/dslify/script/console +10 -0
  375. data/vendor/gems/dslify/script/destroy +14 -0
  376. data/vendor/gems/dslify/script/generate +14 -0
  377. data/{script → vendor/gems/dslify/script}/txt2html +4 -4
  378. data/{setup.rb → vendor/gems/dslify/setup.rb} +3 -3
  379. data/{tasks → vendor/gems/dslify/tasks}/deployment.rake +4 -18
  380. data/vendor/gems/dslify/tasks/environment.rake +7 -0
  381. data/{tasks → vendor/gems/dslify/tasks}/website.rake +0 -0
  382. data/vendor/gems/dslify/test/test_dslify.rb +138 -0
  383. data/vendor/gems/dslify/website/index.html +86 -0
  384. data/vendor/gems/dslify/website/index.txt +83 -0
  385. data/{website → vendor/gems/dslify/website}/javascripts/rounded_corners_lite.inc.js +0 -0
  386. data/{website → vendor/gems/dslify/website}/stylesheets/screen.css +18 -27
  387. data/{website → vendor/gems/dslify/website}/template.html.erb +1 -2
  388. data/vendor/gems/parenting/History.txt +4 -0
  389. data/vendor/gems/parenting/Manifest.txt +14 -0
  390. data/vendor/gems/parenting/PostInstall.txt +2 -0
  391. data/vendor/gems/parenting/README.rdoc +47 -0
  392. data/vendor/gems/parenting/Rakefile +28 -0
  393. data/vendor/gems/parenting/lib/parenting/parenting.rb +61 -0
  394. data/vendor/gems/parenting/lib/parenting.rb +10 -0
  395. data/vendor/gems/parenting/parenting.gemspec +39 -0
  396. data/vendor/gems/parenting/script/console +10 -0
  397. data/vendor/gems/parenting/script/destroy +14 -0
  398. data/vendor/gems/parenting/script/generate +14 -0
  399. data/vendor/gems/parenting/test/file_to_eval.rb +9 -0
  400. data/vendor/gems/parenting/test/test_helper.rb +5 -0
  401. data/vendor/gems/parenting/test/test_parenting.rb +117 -0
  402. data/vendor/gems/suitcase/LICENSE +20 -0
  403. data/vendor/gems/suitcase/README.rdoc +31 -0
  404. data/vendor/gems/suitcase/Rakefile +57 -0
  405. data/vendor/gems/suitcase/VERSION.yml +4 -0
  406. data/vendor/gems/suitcase/lib/suitcase/unzipper.rb +15 -0
  407. data/vendor/gems/suitcase/lib/suitcase/zipper.rb +119 -0
  408. data/vendor/gems/suitcase/lib/suitcase.rb +5 -0
  409. data/vendor/gems/suitcase/suitcase.gemspec +32 -0
  410. data/vendor/gems/suitcase/test/suitcase_test.rb +102 -0
  411. data/vendor/gems/suitcase/test/test_dir/box.rb +1 -0
  412. data/vendor/gems/suitcase/test/test_dir/test.txt +1 -0
  413. data/vendor/gems/suitcase/test/test_helper.rb +12 -0
  414. metadata +370 -343
  415. data/Capfile +0 -1
  416. data/Manifest.txt +0 -414
  417. data/bin/cloud-add-keypair +0 -28
  418. data/bin/cloud-ensure-provisioning +0 -39
  419. data/bin/cloud-maintain +0 -30
  420. data/bin/cloud-refresh +0 -17
  421. data/bin/cloud-run +0 -18
  422. data/bin/cloud-stats +0 -17
  423. data/bin/messenger-get-current-nodes +0 -14
  424. data/bin/pool +0 -31
  425. data/bin/pool-describe +0 -8
  426. data/bin/pool-generate +0 -18
  427. data/bin/pool-init +0 -28
  428. data/bin/pool-list +0 -30
  429. data/bin/pool-start +0 -26
  430. data/bin/server-build-messenger +0 -27
  431. data/bin/server-clean-cert-for +0 -15
  432. data/bin/server-list-responding +0 -24
  433. data/bin/server-start-client +0 -29
  434. data/bin/server-start-master +0 -26
  435. data/bin/server-start-node +0 -32
  436. data/bin/server-stop-client +0 -3
  437. data/bin/server-stop-master +0 -3
  438. data/bin/server-stop-node +0 -3
  439. data/bin/server-update-hosts +0 -49
  440. data/lib/erlang/messenger/Emakefile +0 -1
  441. data/lib/erlang/messenger/Makefile +0 -15
  442. data/lib/erlang/messenger/README +0 -5
  443. data/lib/erlang/messenger/Rakefile +0 -72
  444. data/lib/erlang/messenger/control +0 -11
  445. data/lib/erlang/messenger/ebin/client.app +0 -19
  446. data/lib/erlang/messenger/ebin/client_app.beam +0 -0
  447. data/lib/erlang/messenger/ebin/client_server.beam +0 -0
  448. data/lib/erlang/messenger/ebin/erl_crash.dump +0 -10326
  449. data/lib/erlang/messenger/ebin/master.app +0 -19
  450. data/lib/erlang/messenger/ebin/master_app.beam +0 -0
  451. data/lib/erlang/messenger/ebin/node.app +0 -19
  452. data/lib/erlang/messenger/ebin/node_app.beam +0 -0
  453. data/lib/erlang/messenger/ebin/packager.app +0 -19
  454. data/lib/erlang/messenger/ebin/pm_client.beam +0 -0
  455. data/lib/erlang/messenger/ebin/pm_client_old.beam +0 -0
  456. data/lib/erlang/messenger/ebin/pm_client_rel-0.1.rel +0 -1
  457. data/lib/erlang/messenger/ebin/pm_client_supervisor.beam +0 -0
  458. data/lib/erlang/messenger/ebin/pm_cluster.beam +0 -0
  459. data/lib/erlang/messenger/ebin/pm_event_manager.beam +0 -0
  460. data/lib/erlang/messenger/ebin/pm_master.beam +0 -0
  461. data/lib/erlang/messenger/ebin/pm_master_event_handler.beam +0 -0
  462. data/lib/erlang/messenger/ebin/pm_master_rel-0.1.rel +0 -1
  463. data/lib/erlang/messenger/ebin/pm_master_supervisor.beam +0 -0
  464. data/lib/erlang/messenger/ebin/pm_node.beam +0 -0
  465. data/lib/erlang/messenger/ebin/pm_node_rel-0.1.rel +0 -1
  466. data/lib/erlang/messenger/ebin/pm_node_supervisor.beam +0 -0
  467. data/lib/erlang/messenger/ebin/pm_packager.beam +0 -0
  468. data/lib/erlang/messenger/ebin/pm_spawner.beam +0 -0
  469. data/lib/erlang/messenger/ebin/pm_strings.beam +0 -0
  470. data/lib/erlang/messenger/ebin/utils.beam +0 -0
  471. data/lib/erlang/messenger/include/defines.hrl +0 -27
  472. data/lib/erlang/messenger/lib/eunit/AUTHORS +0 -2
  473. data/lib/erlang/messenger/lib/eunit/CHANGELOG +0 -14
  474. data/lib/erlang/messenger/lib/eunit/COPYING +0 -504
  475. data/lib/erlang/messenger/lib/eunit/Makefile +0 -28
  476. data/lib/erlang/messenger/lib/eunit/NOTES +0 -276
  477. data/lib/erlang/messenger/lib/eunit/README +0 -3
  478. data/lib/erlang/messenger/lib/eunit/doc/edoc-info +0 -3
  479. data/lib/erlang/messenger/lib/eunit/doc/erlang.png +0 -0
  480. data/lib/erlang/messenger/lib/eunit/doc/eunit.html +0 -172
  481. data/lib/erlang/messenger/lib/eunit/doc/index.html +0 -17
  482. data/lib/erlang/messenger/lib/eunit/doc/modules-frame.html +0 -12
  483. data/lib/erlang/messenger/lib/eunit/doc/overview-summary.html +0 -984
  484. data/lib/erlang/messenger/lib/eunit/doc/overview.edoc +0 -980
  485. data/lib/erlang/messenger/lib/eunit/doc/packages-frame.html +0 -11
  486. data/lib/erlang/messenger/lib/eunit/doc/stylesheet.css +0 -55
  487. data/lib/erlang/messenger/lib/eunit/ebin/autoload.beam +0 -0
  488. data/lib/erlang/messenger/lib/eunit/ebin/code_monitor.beam +0 -0
  489. data/lib/erlang/messenger/lib/eunit/ebin/eunit.app +0 -21
  490. data/lib/erlang/messenger/lib/eunit/ebin/eunit.appup +0 -1
  491. data/lib/erlang/messenger/lib/eunit/ebin/eunit.beam +0 -0
  492. data/lib/erlang/messenger/lib/eunit/ebin/eunit_autoexport.beam +0 -0
  493. data/lib/erlang/messenger/lib/eunit/ebin/eunit_data.beam +0 -0
  494. data/lib/erlang/messenger/lib/eunit/ebin/eunit_lib.beam +0 -0
  495. data/lib/erlang/messenger/lib/eunit/ebin/eunit_proc.beam +0 -0
  496. data/lib/erlang/messenger/lib/eunit/ebin/eunit_serial.beam +0 -0
  497. data/lib/erlang/messenger/lib/eunit/ebin/eunit_server.beam +0 -0
  498. data/lib/erlang/messenger/lib/eunit/ebin/eunit_striptests.beam +0 -0
  499. data/lib/erlang/messenger/lib/eunit/ebin/eunit_test.beam +0 -0
  500. data/lib/erlang/messenger/lib/eunit/ebin/eunit_tests.beam +0 -0
  501. data/lib/erlang/messenger/lib/eunit/ebin/eunit_tty.beam +0 -0
  502. data/lib/erlang/messenger/lib/eunit/ebin/file_monitor.beam +0 -0
  503. data/lib/erlang/messenger/lib/eunit/examples/eunit_examples.erl +0 -339
  504. data/lib/erlang/messenger/lib/eunit/examples/fib.erl +0 -19
  505. data/lib/erlang/messenger/lib/eunit/examples/tests.txt +0 -1
  506. data/lib/erlang/messenger/lib/eunit/include/eunit.hrl +0 -313
  507. data/lib/erlang/messenger/lib/eunit/src/Makefile +0 -46
  508. data/lib/erlang/messenger/lib/eunit/src/autoload.erl +0 -388
  509. data/lib/erlang/messenger/lib/eunit/src/code_monitor.erl +0 -243
  510. data/lib/erlang/messenger/lib/eunit/src/eunit.app.src +0 -21
  511. data/lib/erlang/messenger/lib/eunit/src/eunit.appup.src +0 -1
  512. data/lib/erlang/messenger/lib/eunit/src/eunit.erl +0 -196
  513. data/lib/erlang/messenger/lib/eunit/src/eunit_autoexport.erl +0 -102
  514. data/lib/erlang/messenger/lib/eunit/src/eunit_data.erl +0 -798
  515. data/lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl +0 -48
  516. data/lib/erlang/messenger/lib/eunit/src/eunit_lib.erl +0 -682
  517. data/lib/erlang/messenger/lib/eunit/src/eunit_proc.erl +0 -552
  518. data/lib/erlang/messenger/lib/eunit/src/eunit_serial.erl +0 -157
  519. data/lib/erlang/messenger/lib/eunit/src/eunit_server.erl +0 -340
  520. data/lib/erlang/messenger/lib/eunit/src/eunit_striptests.erl +0 -64
  521. data/lib/erlang/messenger/lib/eunit/src/eunit_test.erl +0 -334
  522. data/lib/erlang/messenger/lib/eunit/src/eunit_tests.erl +0 -45
  523. data/lib/erlang/messenger/lib/eunit/src/eunit_tty.erl +0 -272
  524. data/lib/erlang/messenger/lib/eunit/src/file_monitor.erl +0 -409
  525. data/lib/erlang/messenger/lib/eunit/sys.config +0 -9
  526. data/lib/erlang/messenger/lib/eunit/vsn.mk +0 -1
  527. data/lib/erlang/messenger/pm_client_rel-0.1.boot +0 -0
  528. data/lib/erlang/messenger/pm_client_rel-0.1.script +0 -238
  529. data/lib/erlang/messenger/pm_master_rel-0.1.boot +0 -0
  530. data/lib/erlang/messenger/pm_master_rel-0.1.script +0 -239
  531. data/lib/erlang/messenger/pm_node_rel-0.1.boot +0 -0
  532. data/lib/erlang/messenger/pm_node_rel-0.1.script +0 -237
  533. data/lib/erlang/messenger/src/client_app.erl +0 -39
  534. data/lib/erlang/messenger/src/client_server.erl +0 -60
  535. data/lib/erlang/messenger/src/master_app.erl +0 -39
  536. data/lib/erlang/messenger/src/node_app.erl +0 -39
  537. data/lib/erlang/messenger/src/pm_client.erl +0 -49
  538. data/lib/erlang/messenger/src/pm_client_supervisor.erl +0 -38
  539. data/lib/erlang/messenger/src/pm_cluster.erl +0 -61
  540. data/lib/erlang/messenger/src/pm_event_manager.erl +0 -27
  541. data/lib/erlang/messenger/src/pm_master.erl +0 -215
  542. data/lib/erlang/messenger/src/pm_master_event_handler.erl +0 -72
  543. data/lib/erlang/messenger/src/pm_master_supervisor.erl +0 -39
  544. data/lib/erlang/messenger/src/pm_node.erl +0 -200
  545. data/lib/erlang/messenger/src/pm_node_supervisor.erl +0 -38
  546. data/lib/erlang/messenger/src/pm_packager.erl +0 -76
  547. data/lib/erlang/messenger/src/pm_spawner.erl +0 -213
  548. data/lib/erlang/messenger/src/pm_strings.erl +0 -11
  549. data/lib/erlang/messenger/src/utils.erl +0 -73
  550. data/lib/erlang/messenger/useful_snippets +0 -17
  551. data/lib/poolparty/capistrano.rb +0 -18
  552. data/lib/poolparty/config/postlaunchmessage.txt +0 -5
  553. data/lib/poolparty/dependency_resolutions/base.rb +0 -12
  554. data/lib/poolparty/modules/configurable.rb +0 -36
  555. data/lib/poolparty/modules/method_missing_sugar.rb +0 -58
  556. data/lib/poolparty/monitors/monitors/cpu_monitor.rb +0 -15
  557. data/lib/poolparty/monitors/monitors/web_monitor.rb +0 -18
  558. data/lib/poolparty/net/messenger.rb +0 -72
  559. data/lib/poolparty/net/remote.rb +0 -38
  560. data/lib/poolparty/net/remote_bases/ec2.rb +0 -190
  561. data/lib/poolparty/net/remoter.rb +0 -343
  562. data/lib/poolparty/plugins/deploydirectory.rb +0 -71
  563. data/lib/poolparty/plugins/line.rb +0 -77
  564. data/lib/poolparty/plugins/rsyncmirror.rb +0 -26
  565. data/lib/poolparty/poolparty/custom_resource.rb +0 -45
  566. data/lib/poolparty/poolparty/resources/class_package.rb +0 -105
  567. data/lib/poolparty/poolparty/resources/conditional.rb +0 -67
  568. data/lib/poolparty/poolparty/resources/cron.rb +0 -14
  569. data/lib/poolparty/poolparty/resources/custom_service.rb +0 -30
  570. data/lib/poolparty/poolparty/resources/directory.rb +0 -26
  571. data/lib/poolparty/poolparty/resources/exec.rb +0 -28
  572. data/lib/poolparty/poolparty/resources/file.rb +0 -23
  573. data/lib/poolparty/poolparty/resources/gem_package.rb +0 -52
  574. data/lib/poolparty/poolparty/resources/host.rb +0 -14
  575. data/lib/poolparty/poolparty/resources/mount.rb +0 -22
  576. data/lib/poolparty/poolparty/resources/package.rb +0 -24
  577. data/lib/poolparty/poolparty/resources/remote_file.rb +0 -26
  578. data/lib/poolparty/poolparty/resources/service.rb +0 -21
  579. data/lib/poolparty/poolparty/resources/sshkey.rb +0 -23
  580. data/lib/poolparty/poolparty/resources/symlink.rb +0 -25
  581. data/lib/poolparty/poolparty/resources/variable.rb +0 -32
  582. data/lib/poolparty/provisioners/capistrano/capistrano.rb +0 -127
  583. data/lib/poolparty/provisioners/capistrano/capistrano_configurer.rb +0 -58
  584. data/lib/poolparty/provisioners/capistrano/recipies/base.rb +0 -104
  585. data/lib/poolparty/provisioners/capistrano/recipies/master.rb +0 -121
  586. data/lib/poolparty/provisioners/capistrano/recipies/slave.rb +0 -12
  587. data/lib/poolparty/provisioners/provisioner_base.rb +0 -204
  588. data/lib/poolparty/spec/core/string.rb +0 -16
  589. data/lib/poolparty/spec/matchers/a_spec_extensions_base.rb +0 -26
  590. data/lib/poolparty/spec/matchers/have_cron.rb +0 -28
  591. data/lib/poolparty/spec/matchers/have_deploydirectory.rb +0 -15
  592. data/lib/poolparty/spec/matchers/have_directory.rb +0 -31
  593. data/lib/poolparty/spec/matchers/have_exec.rb +0 -28
  594. data/lib/poolparty/spec/matchers/have_file.rb +0 -28
  595. data/lib/poolparty/spec/matchers/have_gempackage.rb +0 -28
  596. data/lib/poolparty/spec/matchers/have_git.rb +0 -28
  597. data/lib/poolparty/spec/matchers/have_host.rb +0 -28
  598. data/lib/poolparty/spec/matchers/have_mount.rb +0 -28
  599. data/lib/poolparty/spec/matchers/have_package.rb +0 -28
  600. data/lib/poolparty/spec/matchers/have_remotefile.rb +0 -28
  601. data/lib/poolparty/spec/matchers/have_rsyncmirror.rb +0 -28
  602. data/lib/poolparty/spec/matchers/have_service.rb +0 -28
  603. data/lib/poolparty/spec/matchers/have_sshkey.rb +0 -28
  604. data/lib/poolparty/spec/matchers/have_symlink.rb +0 -28
  605. data/lib/poolparty/spec/matchers/have_variable.rb +0 -32
  606. data/lib/poolparty/spec/spec/dynamic_matchers.rb +0 -63
  607. data/lib/poolparty/spec/spec/ensure_matchers_exist.rb +0 -7
  608. data/lib/poolparty/spec/templates/have_base.rb +0 -28
  609. data/lib/poolparty/templates/puppet.conf +0 -26
  610. data/lib/poolparty/templates/puppetcleaner +0 -12
  611. data/lib/poolparty/templates/puppetrerun +0 -22
  612. data/lib/poolparty/version.rb +0 -9
  613. data/lib/poolpartyspec.rb +0 -34
  614. data/log/pool.log +0 -0
  615. data/poolparty.gemspec +0 -580
  616. data/spec/poolparty/dependency_resolutions/base_spec.rb +0 -11
  617. data/spec/poolparty/modules/configurable_spec.rb +0 -29
  618. data/spec/poolparty/net/log/pool.log +0 -0
  619. data/spec/poolparty/net/messenger_spec.rb +0 -16
  620. data/spec/poolparty/plugins/svn_spec.rb +0 -16
  621. data/spec/poolparty/poolparty/custom_resource_spec.rb +0 -120
  622. data/spec/poolparty/poolparty/resources/class_package_spec.rb +0 -120
  623. data/spec/poolparty/poolparty/resources/conditional_spec.rb +0 -77
  624. data/spec/poolparty/poolparty/resources/cron_spec.rb +0 -50
  625. data/spec/poolparty/poolparty/resources/directory_spec.rb +0 -40
  626. data/spec/poolparty/poolparty/resources/exec_spec.rb +0 -37
  627. data/spec/poolparty/poolparty/resources/file_spec.rb +0 -40
  628. data/spec/poolparty/poolparty/resources/gem_spec.rb +0 -46
  629. data/spec/poolparty/poolparty/resources/host_spec.rb +0 -28
  630. data/spec/poolparty/poolparty/resources/package_spec.rb +0 -44
  631. data/spec/poolparty/poolparty/resources/remote_file_spec.rb +0 -40
  632. data/spec/poolparty/poolparty/resources/service_spec.rb +0 -45
  633. data/spec/poolparty/poolparty/resources/sshkey_spec.rb +0 -48
  634. data/spec/poolparty/poolparty/resources/symlink_spec.rb +0 -22
  635. data/spec/poolparty/poolparty/resources/user_spec.rb +0 -38
  636. data/spec/poolparty/poolparty/resources/variable_spec.rb +0 -24
  637. data/spec/poolparty/provisioners/capistrano/capistrano_spec.rb +0 -27
  638. data/spec/poolparty/provisioners/provisioner_base_spec.rb +0 -120
  639. data/spec/poolparty/spec/core/string_spec.rb +0 -57
  640. data/website/index.html +0 -107
  641. data/website/index.txt +0 -95
  642. data/website/stylesheets/code.css +0 -29
@@ -0,0 +1,1253 @@
1
+ [PHP]
2
+
3
+ ;;;;;;;;;;;
4
+ ; WARNING ;
5
+ ;;;;;;;;;;;
6
+ ; This is the default settings file for new PHP installations.
7
+ ; By default, PHP installs itself with a configuration suitable for
8
+ ; development purposes, and *NOT* for production purposes.
9
+ ; For several security-oriented considerations that should be taken
10
+ ; before going online with your site, please consult php.ini-recommended
11
+ ; and http://php.net/manual/en/security.php.
12
+
13
+
14
+ ;;;;;;;;;;;;;;;;;;;
15
+ ; About php.ini ;
16
+ ;;;;;;;;;;;;;;;;;;;
17
+ ; This file controls many aspects of PHP's behavior. In order for PHP to
18
+ ; read it, it must be named 'php.ini'. PHP looks for it in the current
19
+ ; working directory, in the path designated by the environment variable
20
+ ; PHPRC, and in the path that was defined in compile time (in that order).
21
+ ; Under Windows, the compile-time path is the Windows directory. The
22
+ ; path in which the php.ini file is looked for can be overridden using
23
+ ; the -c argument in command line mode.
24
+ ;
25
+ ; The syntax of the file is extremely simple. Whitespace and Lines
26
+ ; beginning with a semicolon are silently ignored (as you probably guessed).
27
+ ; Section headers (e.g. [Foo]) are also silently ignored, even though
28
+ ; they might mean something in the future.
29
+ ;
30
+ ; Directives are specified using the following syntax:
31
+ ; directive = value
32
+ ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
33
+ ;
34
+ ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
35
+ ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
36
+ ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
37
+ ;
38
+ ; Expressions in the INI file are limited to bitwise operators and parentheses:
39
+ ; | bitwise OR
40
+ ; & bitwise AND
41
+ ; ~ bitwise NOT
42
+ ; ! boolean NOT
43
+ ;
44
+ ; Boolean flags can be turned on using the values 1, On, True or Yes.
45
+ ; They can be turned off using the values 0, Off, False or No.
46
+ ;
47
+ ; An empty string can be denoted by simply not writing anything after the equal
48
+ ; sign, or by using the None keyword:
49
+ ;
50
+ ; foo = ; sets foo to an empty string
51
+ ; foo = none ; sets foo to an empty string
52
+ ; foo = "none" ; sets foo to the string 'none'
53
+ ;
54
+ ; If you use constants in your value, and these constants belong to a
55
+ ; dynamically loaded extension (either a PHP extension or a Zend extension),
56
+ ; you may only use these constants *after* the line that loads the extension.
57
+ ;
58
+ ;
59
+ ;;;;;;;;;;;;;;;;;;;
60
+ ; About this file ;
61
+ ;;;;;;;;;;;;;;;;;;;
62
+ ; All the values in the php.ini-dist file correspond to the builtin
63
+ ; defaults (that is, if no php.ini is used, or if you delete these lines,
64
+ ; the builtin defaults will be identical).
65
+
66
+
67
+ ;;;;;;;;;;;;;;;;;;;;
68
+ ; Language Options ;
69
+ ;;;;;;;;;;;;;;;;;;;;
70
+
71
+ ; Enable the PHP scripting language engine under Apache.
72
+ engine = On
73
+
74
+ ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
75
+ zend.ze1_compatibility_mode = Off
76
+
77
+ ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
78
+ ; NOTE: Using short tags should be avoided when developing applications or
79
+ ; libraries that are meant for redistribution, or deployment on PHP
80
+ ; servers which are not under your control, because short tags may not
81
+ ; be supported on the target server. For portable, redistributable code,
82
+ ; be sure not to use short tags.
83
+ short_open_tag = On
84
+
85
+ ; Allow ASP-style <% %> tags.
86
+ asp_tags = Off
87
+
88
+ ; The number of significant digits displayed in floating point numbers.
89
+ precision = 12
90
+
91
+ ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
92
+ y2k_compliance = On
93
+
94
+ ; Output buffering allows you to send header lines (including cookies) even
95
+ ; after you send body content, at the price of slowing PHP's output layer a
96
+ ; bit. You can enable output buffering during runtime by calling the output
97
+ ; buffering functions. You can also enable output buffering for all files by
98
+ ; setting this directive to On. If you wish to limit the size of the buffer
99
+ ; to a certain size - you can use a maximum number of bytes instead of 'On', as
100
+ ; a value for this directive (e.g., output_buffering=4096).
101
+ output_buffering = Off
102
+
103
+ ; You can redirect all of the output of your scripts to a function. For
104
+ ; example, if you set output_handler to "mb_output_handler", character
105
+ ; encoding will be transparently converted to the specified encoding.
106
+ ; Setting any output handler automatically turns on output buffering.
107
+ ; Note: People who wrote portable scripts should not depend on this ini
108
+ ; directive. Instead, explicitly set the output handler using ob_start().
109
+ ; Using this ini directive may cause problems unless you know what script
110
+ ; is doing.
111
+ ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
112
+ ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
113
+ ; Note: output_handler must be empty if this is set 'On' !!!!
114
+ ; Instead you must use zlib.output_handler.
115
+ ;output_handler =
116
+
117
+ ; Transparent output compression using the zlib library
118
+ ; Valid values for this option are 'off', 'on', or a specific buffer size
119
+ ; to be used for compression (default is 4KB)
120
+ ; Note: Resulting chunk size may vary due to nature of compression. PHP
121
+ ; outputs chunks that are few hundreds bytes each as a result of
122
+ ; compression. If you prefer a larger chunk size for better
123
+ ; performance, enable output_buffering in addition.
124
+ ; Note: You need to use zlib.output_handler instead of the standard
125
+ ; output_handler, or otherwise the output will be corrupted.
126
+ zlib.output_compression = Off
127
+ ;zlib.output_compression_level = -1
128
+
129
+ ; You cannot specify additional output handlers if zlib.output_compression
130
+ ; is activated here. This setting does the same as output_handler but in
131
+ ; a different order.
132
+ ;zlib.output_handler =
133
+
134
+ ; Implicit flush tells PHP to tell the output layer to flush itself
135
+ ; automatically after every output block. This is equivalent to calling the
136
+ ; PHP function flush() after each and every call to print() or echo() and each
137
+ ; and every HTML block. Turning this option on has serious performance
138
+ ; implications and is generally recommended for debugging purposes only.
139
+ implicit_flush = Off
140
+
141
+ ; The unserialize callback function will be called (with the undefined class'
142
+ ; name as parameter), if the unserializer finds an undefined class
143
+ ; which should be instantiated.
144
+ ; A warning appears if the specified function is not defined, or if the
145
+ ; function doesn't include/implement the missing class.
146
+ ; So only set this entry, if you really want to implement such a
147
+ ; callback-function.
148
+ unserialize_callback_func=
149
+
150
+ ; When floats & doubles are serialized store serialize_precision significant
151
+ ; digits after the floating point. The default value ensures that when floats
152
+ ; are decoded with unserialize, the data will remain the same.
153
+ serialize_precision = 100
154
+
155
+ ; Whether to enable the ability to force arguments to be passed by reference
156
+ ; at function call time. This method is deprecated and is likely to be
157
+ ; unsupported in future versions of PHP/Zend. The encouraged method of
158
+ ; specifying which arguments should be passed by reference is in the function
159
+ ; declaration. You're encouraged to try and turn this option Off and make
160
+ ; sure your scripts work properly with it in order to ensure they will work
161
+ ; with future versions of the language (you will receive a warning each time
162
+ ; you use this feature, and the argument will be passed by value instead of by
163
+ ; reference).
164
+ allow_call_time_pass_reference = On
165
+
166
+ ;
167
+ ; Safe Mode
168
+ ;
169
+ ; NOTE: this is considered a "broken" security measure.
170
+ ; Applications relying on this feature will not recieve full
171
+ ; support by the security team. For more information please
172
+ ; see /usr/share/doc/php5-common/README.Debian.security
173
+ ;
174
+ safe_mode = Off
175
+
176
+ ; By default, Safe Mode does a UID compare check when
177
+ ; opening files. If you want to relax this to a GID compare,
178
+ ; then turn on safe_mode_gid.
179
+ safe_mode_gid = Off
180
+
181
+ ; When safe_mode is on, UID/GID checks are bypassed when
182
+ ; including files from this directory and its subdirectories.
183
+ ; (directory must also be in include_path or full path must
184
+ ; be used when including)
185
+ safe_mode_include_dir =
186
+
187
+ ; When safe_mode is on, only executables located in the safe_mode_exec_dir
188
+ ; will be allowed to be executed via the exec family of functions.
189
+ safe_mode_exec_dir =
190
+
191
+ ; Setting certain environment variables may be a potential security breach.
192
+ ; This directive contains a comma-delimited list of prefixes. In Safe Mode,
193
+ ; the user may only alter environment variables whose names begin with the
194
+ ; prefixes supplied here. By default, users will only be able to set
195
+ ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
196
+ ;
197
+ ; Note: If this directive is empty, PHP will let the user modify ANY
198
+ ; environment variable!
199
+ safe_mode_allowed_env_vars = PHP_
200
+
201
+ ; This directive contains a comma-delimited list of environment variables that
202
+ ; the end user won't be able to change using putenv(). These variables will be
203
+ ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
204
+ safe_mode_protected_env_vars = LD_LIBRARY_PATH
205
+
206
+ ; open_basedir, if set, limits all file operations to the defined directory
207
+ ; and below. This directive makes most sense if used in a per-directory
208
+ ; or per-virtualhost web server configuration file. This directive is
209
+ ; *NOT* affected by whether Safe Mode is turned On or Off.
210
+
211
+ ; NOTE: this is considered a "broken" security measure.
212
+ ; Applications relying on this feature will not recieve full
213
+ ; support by the security team. For more information please
214
+ ; see /usr/share/doc/php5-common/README.Debian.security
215
+ ;
216
+
217
+ ;open_basedir =
218
+
219
+ ; This directive allows you to disable certain functions for security reasons.
220
+ ; It receives a comma-delimited list of function names. This directive is
221
+ ; *NOT* affected by whether Safe Mode is turned On or Off.
222
+ disable_functions =
223
+
224
+ ; This directive allows you to disable certain classes for security reasons.
225
+ ; It receives a comma-delimited list of class names. This directive is
226
+ ; *NOT* affected by whether Safe Mode is turned On or Off.
227
+ disable_classes =
228
+
229
+ ; Colors for Syntax Highlighting mode. Anything that's acceptable in
230
+ ; <span style="color: ???????"> would work.
231
+ ;highlight.string = #DD0000
232
+ ;highlight.comment = #FF9900
233
+ ;highlight.keyword = #007700
234
+ ;highlight.bg = #FFFFFF
235
+ ;highlight.default = #0000BB
236
+ ;highlight.html = #000000
237
+
238
+ ; If enabled, the request will be allowed to complete even if the user aborts
239
+ ; the request. Consider enabling it if executing long request, which may end up
240
+ ; being interrupted by the user or a browser timing out.
241
+ ; ignore_user_abort = On
242
+
243
+ ; Determines the size of the realpath cache to be used by PHP. This value should
244
+ ; be increased on systems where PHP opens many files to reflect the quantity of
245
+ ; the file operations performed.
246
+ ; realpath_cache_size=16k
247
+
248
+ ; Duration of time, in seconds for which to cache realpath information for a given
249
+ ; file or directory. For systems with rarely changing files, consider increasing this
250
+ ; value.
251
+ ; realpath_cache_ttl=120
252
+
253
+ ;
254
+ ; Misc
255
+ ;
256
+ ; Decides whether PHP may expose the fact that it is installed on the server
257
+ ; (e.g. by adding its signature to the Web server header). It is no security
258
+ ; threat in any way, but it makes it possible to determine whether you use PHP
259
+ ; on your server or not.
260
+ expose_php = On
261
+
262
+
263
+ ;;;;;;;;;;;;;;;;;;;
264
+ ; Resource Limits ;
265
+ ;;;;;;;;;;;;;;;;;;;
266
+
267
+ max_execution_time = 120 ; Maximum execution time of each script, in seconds
268
+ max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
269
+ ;max_input_nesting_level = 64 ; Maximum input variable nesting level
270
+ memory_limit = 64M ; Maximum amount of memory a script may consume (16MB)
271
+
272
+
273
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
274
+ ; Error handling and logging ;
275
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
276
+
277
+ ; error_reporting is a bit-field. Or each number up to get desired error
278
+ ; reporting level
279
+ ; E_ALL - All errors and warnings (doesn't include E_STRICT)
280
+ ; E_ERROR - fatal run-time errors
281
+ ; E_RECOVERABLE_ERROR - almost fatal run-time errors
282
+ ; E_WARNING - run-time warnings (non-fatal errors)
283
+ ; E_PARSE - compile-time parse errors
284
+ ; E_NOTICE - run-time notices (these are warnings which often result
285
+ ; from a bug in your code, but it's possible that it was
286
+ ; intentional (e.g., using an uninitialized variable and
287
+ ; relying on the fact it's automatically initialized to an
288
+ ; empty string)
289
+ ; E_STRICT - run-time notices, enable to have PHP suggest changes
290
+ ; to your code which will ensure the best interoperability
291
+ ; and forward compatibility of your code
292
+ ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
293
+ ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
294
+ ; initial startup
295
+ ; E_COMPILE_ERROR - fatal compile-time errors
296
+ ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
297
+ ; E_USER_ERROR - user-generated error message
298
+ ; E_USER_WARNING - user-generated warning message
299
+ ; E_USER_NOTICE - user-generated notice message
300
+ ;
301
+ ; Examples:
302
+ ;
303
+ ; - Show all errors, except for notices and coding standards warnings
304
+ ;
305
+ ;error_reporting = E_ALL & ~E_NOTICE
306
+ ;
307
+ ; - Show all errors, except for notices
308
+ ;
309
+ ;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
310
+ ;
311
+ ; - Show only errors
312
+ ;
313
+ ;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
314
+ ;
315
+ ; - Show all errors except for notices and coding standards warnings
316
+ ;
317
+ error_reporting = E_ALL & ~E_NOTICE
318
+
319
+ ; Print out errors (as a part of the output). For production web sites,
320
+ ; you're strongly encouraged to turn this feature off, and use error logging
321
+ ; instead (see below). Keeping display_errors enabled on a production web site
322
+ ; may reveal security information to end users, such as file paths on your Web
323
+ ; server, your database schema or other information.
324
+ ;
325
+ ; possible values for display_errors:
326
+ ;
327
+ ; Off - Do not display any errors
328
+ ; stderr - Display errors to STDERR (affects only CGI/CLI binaries!)
329
+ ;
330
+ ;display_errors = "stderr"
331
+ ;
332
+ ; stdout (On) - Display errors to STDOUT
333
+ ;
334
+ display_errors = On
335
+
336
+ ; Even when display_errors is on, errors that occur during PHP's startup
337
+ ; sequence are not displayed. It's strongly recommended to keep
338
+ ; display_startup_errors off, except for when debugging.
339
+ display_startup_errors = Off
340
+
341
+ ; Log errors into a log file (server-specific log, stderr, or error_log (below))
342
+ ; As stated above, you're strongly advised to use error logging in place of
343
+ ; error displaying on production web sites.
344
+ log_errors = Off
345
+
346
+ ; Set maximum length of log_errors. In error_log information about the source is
347
+ ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
348
+ log_errors_max_len = 1024
349
+
350
+ ; Do not log repeated messages. Repeated errors must occur in same file on same
351
+ ; line until ignore_repeated_source is set true.
352
+ ignore_repeated_errors = Off
353
+
354
+ ; Ignore source of message when ignoring repeated messages. When this setting
355
+ ; is On you will not log errors with repeated messages from different files or
356
+ ; source lines.
357
+ ignore_repeated_source = Off
358
+
359
+ ; If this parameter is set to Off, then memory leaks will not be shown (on
360
+ ; stdout or in the log). This has only effect in a debug compile, and if
361
+ ; error reporting includes E_WARNING in the allowed list
362
+ report_memleaks = On
363
+
364
+ ;report_zend_debug = 0
365
+
366
+ ; Store the last error/warning message in $php_errormsg (boolean).
367
+ track_errors = Off
368
+
369
+ ; Disable the inclusion of HTML tags in error messages.
370
+ ; Note: Never use this feature for production boxes.
371
+ ;html_errors = Off
372
+
373
+ ; If html_errors is set On PHP produces clickable error messages that direct
374
+ ; to a page describing the error or function causing the error in detail.
375
+ ; You can download a copy of the PHP manual from http://www.php.net/docs.php
376
+ ; and change docref_root to the base URL of your local copy including the
377
+ ; leading '/'. You must also specify the file extension being used including
378
+ ; the dot.
379
+ ; Note: Never use this feature for production boxes.
380
+ ;docref_root = "/phpmanual/"
381
+ ;docref_ext = .html
382
+
383
+ ; String to output before an error message.
384
+ ;error_prepend_string = "<font color=ff0000>"
385
+
386
+ ; String to output after an error message.
387
+ ;error_append_string = "</font>"
388
+
389
+ ; Log errors to specified file.
390
+ ;error_log = filename
391
+
392
+ ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
393
+ ;error_log = syslog
394
+
395
+
396
+ ;;;;;;;;;;;;;;;;;
397
+ ; Data Handling ;
398
+ ;;;;;;;;;;;;;;;;;
399
+ ;
400
+ ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
401
+
402
+ ; The separator used in PHP generated URLs to separate arguments.
403
+ ; Default is "&".
404
+ ;arg_separator.output = "&amp;"
405
+
406
+ ; List of separator(s) used by PHP to parse input URLs into variables.
407
+ ; Default is "&".
408
+ ; NOTE: Every character in this directive is considered as separator!
409
+ ;arg_separator.input = ";&"
410
+
411
+ ; This directive describes the order in which PHP registers GET, POST, Cookie,
412
+ ; Environment and Built-in variables (G, P, C, E & S respectively, often
413
+ ; referred to as EGPCS or GPC). Registration is done from left to right, newer
414
+ ; values override older values.
415
+ variables_order = "EGPCS"
416
+
417
+ ; Whether or not to register the EGPCS variables as global variables. You may
418
+ ; want to turn this off if you don't want to clutter your scripts' global scope
419
+ ; with user data. This makes most sense when coupled with track_vars - in which
420
+ ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
421
+ ; variables.
422
+ ;
423
+ ; You should do your best to write your scripts so that they do not require
424
+ ; register_globals to be on; Using form variables as globals can easily lead
425
+ ; to possible security problems, if the code is not very well thought of.
426
+
427
+ ; NOTE: applications relying on this feature will not recieve full
428
+ ; support by the security team. For more information please
429
+ ; see /usr/share/doc/php5-common/README.Debian.security
430
+ ;
431
+ register_globals = Off
432
+
433
+ ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
434
+ ; and friends. If you're not using them, it's recommended to turn them off,
435
+ ; for performance reasons.
436
+ register_long_arrays = On
437
+
438
+ ; This directive tells PHP whether to declare the argv&argc variables (that
439
+ ; would contain the GET information). If you don't use these variables, you
440
+ ; should turn it off for increased performance.
441
+ register_argc_argv = On
442
+
443
+ ; When enabled, the SERVER and ENV variables are created when they're first
444
+ ; used (Just In Time) instead of when the script starts. If these variables
445
+ ; are not used within a script, having this directive on will result in a
446
+ ; performance gain. The PHP directives register_globals, register_long_arrays,
447
+ ; and register_argc_argv must be disabled for this directive to have any affect.
448
+ auto_globals_jit = On
449
+
450
+ ; Maximum size of POST data that PHP will accept.
451
+ post_max_size = 8M
452
+
453
+ ; Magic quotes
454
+ ;
455
+
456
+ ; Magic quotes for incoming GET/POST/Cookie data.
457
+ magic_quotes_gpc = On
458
+
459
+ ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
460
+ magic_quotes_runtime = Off
461
+
462
+ ; Use Sybase-style magic quotes (escape ' with '' instead of \').
463
+ magic_quotes_sybase = Off
464
+
465
+ ; Automatically add files before or after any PHP document.
466
+ auto_prepend_file =
467
+ auto_append_file =
468
+
469
+ ; As of 4.0b4, PHP always outputs a character encoding by default in
470
+ ; the Content-type: header. To disable sending of the charset, simply
471
+ ; set it to be empty.
472
+ ;
473
+ ; PHP's built-in default is text/html
474
+ default_mimetype = "text/html"
475
+ ;default_charset = "iso-8859-1"
476
+
477
+ ; Always populate the $HTTP_RAW_POST_DATA variable.
478
+ ;always_populate_raw_post_data = On
479
+
480
+
481
+ ;;;;;;;;;;;;;;;;;;;;;;;;;
482
+ ; Paths and Directories ;
483
+ ;;;;;;;;;;;;;;;;;;;;;;;;;
484
+
485
+ ; UNIX: "/path1:/path2"
486
+ ;include_path = ".:/usr/share/php"
487
+ ;
488
+ ; Windows: "\path1;\path2"
489
+ ;include_path = ".;c:\php\includes"
490
+
491
+ ; The root of the PHP pages, used only if nonempty.
492
+ ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
493
+ ; if you are running php as a CGI under any web server (other than IIS)
494
+ ; see documentation for security issues. The alternate is to use the
495
+ ; cgi.force_redirect configuration below
496
+ doc_root =
497
+
498
+ ; The directory under which PHP opens the script using /~username used only
499
+ ; if nonempty.
500
+ user_dir =
501
+
502
+ ; Directory in which the loadable extensions (modules) reside.
503
+ ; extension_dir = "./"
504
+
505
+ ; Whether or not to enable the dl() function. The dl() function does NOT work
506
+ ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
507
+ ; disabled on them.
508
+ ; NOTE: this is a potential security hole and is disabled by default in debian
509
+ enable_dl = Off
510
+
511
+ ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
512
+ ; most web servers. Left undefined, PHP turns this on by default. You can
513
+ ; turn it off here AT YOUR OWN RISK
514
+ ; **You CAN safely turn this off for IIS, in fact, you MUST.**
515
+ ; cgi.force_redirect = 1
516
+
517
+ ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
518
+ ; every request.
519
+ ; cgi.nph = 1
520
+
521
+ ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
522
+ ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
523
+ ; will look for to know it is OK to continue execution. Setting this variable MAY
524
+ ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
525
+ ; cgi.redirect_status_env = ;
526
+
527
+ ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
528
+ ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
529
+ ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
530
+ ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting
531
+ ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
532
+ ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
533
+ ; cgi.fix_pathinfo=0
534
+
535
+ ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
536
+ ; security tokens of the calling client. This allows IIS to define the
537
+ ; security context that the request runs under. mod_fastcgi under Apache
538
+ ; does not currently support this feature (03/17/2002)
539
+ ; Set to 1 if running under IIS. Default is zero.
540
+ ; fastcgi.impersonate = 1;
541
+
542
+ ; Disable logging through FastCGI connection
543
+ ; fastcgi.logging = 0
544
+
545
+ ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
546
+ ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
547
+ ; is supported by Apache. When this option is set to 1 PHP will send
548
+ ; RFC2616 compliant header.
549
+ ; Default is zero.
550
+ ;cgi.rfc2616_headers = 0
551
+
552
+
553
+ ;;;;;;;;;;;;;;;;
554
+ ; File Uploads ;
555
+ ;;;;;;;;;;;;;;;;
556
+
557
+ ; Whether to allow HTTP file uploads.
558
+ file_uploads = On
559
+
560
+ ; Temporary directory for HTTP uploaded files (will use system default if not
561
+ ; specified).
562
+ ;upload_tmp_dir =
563
+
564
+ ; Maximum allowed size for uploaded files.
565
+ upload_max_filesize = 2M
566
+
567
+
568
+ ;;;;;;;;;;;;;;;;;;
569
+ ; Fopen wrappers ;
570
+ ;;;;;;;;;;;;;;;;;;
571
+
572
+ ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
573
+ allow_url_fopen = On
574
+
575
+ ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
576
+ allow_url_include = Off
577
+
578
+ ; Define the anonymous ftp password (your email address)
579
+ ;from="john@doe.com"
580
+
581
+ ; Define the User-Agent string
582
+ ; user_agent="PHP"
583
+
584
+ ; Default timeout for socket based streams (seconds)
585
+ default_socket_timeout = 60
586
+
587
+ ; If your scripts have to deal with files from Macintosh systems,
588
+ ; or you are running on a Mac and need to deal with files from
589
+ ; unix or win32 systems, setting this flag will cause PHP to
590
+ ; automatically detect the EOL character in those files so that
591
+ ; fgets() and file() will work regardless of the source of the file.
592
+ ; auto_detect_line_endings = Off
593
+
594
+
595
+ ;;;;;;;;;;;;;;;;;;;;;;
596
+ ; Dynamic Extensions ;
597
+ ;;;;;;;;;;;;;;;;;;;;;;
598
+ ;
599
+ ; If you wish to have an extension loaded automatically, use the following
600
+ ; syntax:
601
+ ;
602
+ ; extension=modulename.extension
603
+ ;
604
+ ; For example, on Windows:
605
+ ;
606
+ ; extension=msql.dll
607
+ ;
608
+ ; ... or under UNIX:
609
+ ;
610
+ ; extension=msql.so
611
+ ;
612
+ ; Note that it should be the name of the module only; no directory information
613
+ ; needs to go here. Specify the location of the extension with the
614
+ ; extension_dir directive above.
615
+
616
+
617
+ ;;;;;;;;;;;;;;;;;;;
618
+ ; Module Settings ;
619
+ ;;;;;;;;;;;;;;;;;;;
620
+
621
+ [Date]
622
+ ; Defines the default timezone used by the date functions
623
+ ;date.timezone =
624
+
625
+ ;date.default_latitude = 31.7667
626
+ ;date.default_longitude = 35.2333
627
+
628
+ ;date.sunrise_zenith = 90.583333
629
+ ;date.sunset_zenith = 90.583333
630
+
631
+ [filter]
632
+ ;filter.default = unsafe_raw
633
+ ;filter.default_flags =
634
+
635
+ [iconv]
636
+ ;iconv.input_encoding = ISO-8859-1
637
+ ;iconv.internal_encoding = ISO-8859-1
638
+ ;iconv.output_encoding = ISO-8859-1
639
+
640
+ [sqlite]
641
+ ;sqlite.assoc_case = 0
642
+
643
+ [xmlrpc]
644
+ ;xmlrpc_error_number = 0
645
+ ;xmlrpc_errors = 0
646
+
647
+ [Pcre]
648
+ ;PCRE library backtracking limit.
649
+ ;pcre.backtrack_limit=100000
650
+
651
+ ;PCRE library recursion limit.
652
+ ;Please note that if you set this value to a high number you may consume all
653
+ ;the available process stack and eventually crash PHP (due to reaching the
654
+ ;stack size limit imposed by the Operating System).
655
+ ;pcre.recursion_limit=100000
656
+
657
+ [Syslog]
658
+ ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
659
+ ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
660
+ ; runtime, you can define these variables by calling define_syslog_variables().
661
+ define_syslog_variables = Off
662
+
663
+ [mail function]
664
+ ; For Win32 only.
665
+ SMTP = localhost
666
+ smtp_port = 25
667
+
668
+ ; For Win32 only.
669
+ ;sendmail_from = me@example.com
670
+
671
+ ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
672
+ ;sendmail_path =
673
+
674
+ ; Force the addition of the specified parameters to be passed as extra parameters
675
+ ; to the sendmail binary. These parameters will always replace the value of
676
+ ; the 5th parameter to mail(), even in safe mode.
677
+ ;mail.force_extra_parameters =
678
+
679
+ [SQL]
680
+ sql.safe_mode = Off
681
+
682
+ [ODBC]
683
+ ;odbc.default_db = Not yet implemented
684
+ ;odbc.default_user = Not yet implemented
685
+ ;odbc.default_pw = Not yet implemented
686
+
687
+ ; Allow or prevent persistent links.
688
+ odbc.allow_persistent = On
689
+
690
+ ; Check that a connection is still valid before reuse.
691
+ odbc.check_persistent = On
692
+
693
+ ; Maximum number of persistent links. -1 means no limit.
694
+ odbc.max_persistent = -1
695
+
696
+ ; Maximum number of links (persistent + non-persistent). -1 means no limit.
697
+ odbc.max_links = -1
698
+
699
+ ; Handling of LONG fields. Returns number of bytes to variables. 0 means
700
+ ; passthru.
701
+ odbc.defaultlrl = 4096
702
+
703
+ ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
704
+ ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
705
+ ; of uodbc.defaultlrl and uodbc.defaultbinmode
706
+ odbc.defaultbinmode = 1
707
+
708
+ [MySQL]
709
+ ; Allow or prevent persistent links.
710
+ mysql.allow_persistent = On
711
+
712
+ ; Maximum number of persistent links. -1 means no limit.
713
+ mysql.max_persistent = -1
714
+
715
+ ; Maximum number of links (persistent + non-persistent). -1 means no limit.
716
+ mysql.max_links = -1
717
+
718
+ ; Default port number for mysql_connect(). If unset, mysql_connect() will use
719
+ ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
720
+ ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
721
+ ; at MYSQL_PORT.
722
+ mysql.default_port =
723
+
724
+ ; Default socket name for local MySQL connects. If empty, uses the built-in
725
+ ; MySQL defaults.
726
+ mysql.default_socket =
727
+
728
+ ; Default host for mysql_connect() (doesn't apply in safe mode).
729
+ mysql.default_host =
730
+
731
+ ; Default user for mysql_connect() (doesn't apply in safe mode).
732
+ mysql.default_user =
733
+
734
+ ; Default password for mysql_connect() (doesn't apply in safe mode).
735
+ ; Note that this is generally a *bad* idea to store passwords in this file.
736
+ ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
737
+ ; and reveal this password! And of course, any users with read access to this
738
+ ; file will be able to reveal the password as well.
739
+ mysql.default_password =
740
+
741
+ ; Maximum time (in seconds) for connect timeout. -1 means no limit
742
+ mysql.connect_timeout = 60
743
+
744
+ ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
745
+ ; SQL-Errors will be displayed.
746
+ mysql.trace_mode = Off
747
+
748
+ [MySQLi]
749
+
750
+ ; Maximum number of links. -1 means no limit.
751
+ mysqli.max_links = -1
752
+
753
+ ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
754
+ ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
755
+ ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
756
+ ; at MYSQL_PORT.
757
+ mysqli.default_port = 3306
758
+
759
+ ; Default socket name for local MySQL connects. If empty, uses the built-in
760
+ ; MySQL defaults.
761
+ mysqli.default_socket =
762
+
763
+ ; Default host for mysql_connect() (doesn't apply in safe mode).
764
+ mysqli.default_host =
765
+
766
+ ; Default user for mysql_connect() (doesn't apply in safe mode).
767
+ mysqli.default_user =
768
+
769
+ ; Default password for mysqli_connect() (doesn't apply in safe mode).
770
+ ; Note that this is generally a *bad* idea to store passwords in this file.
771
+ ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
772
+ ; and reveal this password! And of course, any users with read access to this
773
+ ; file will be able to reveal the password as well.
774
+ mysqli.default_pw =
775
+
776
+ ; Allow or prevent reconnect
777
+ mysqli.reconnect = Off
778
+
779
+ [mSQL]
780
+ ; Allow or prevent persistent links.
781
+ msql.allow_persistent = On
782
+
783
+ ; Maximum number of persistent links. -1 means no limit.
784
+ msql.max_persistent = -1
785
+
786
+ ; Maximum number of links (persistent+non persistent). -1 means no limit.
787
+ msql.max_links = -1
788
+
789
+ [OCI8]
790
+ ; enables privileged connections using external credentials (OCI_SYSOPER, OCI_SYSDBA)
791
+ ;oci8.privileged_connect = Off
792
+
793
+ ; Connection: The maximum number of persistent OCI8 connections per
794
+ ; process. Using -1 means no limit.
795
+ ;oci8.max_persistent = -1
796
+
797
+ ; Connection: The maximum number of seconds a process is allowed to
798
+ ; maintain an idle persistent connection. Using -1 means idle
799
+ ; persistent connections will be maintained forever.
800
+ ;oci8.persistent_timeout = -1
801
+
802
+ ; Connection: The number of seconds that must pass before issuing a
803
+ ; ping during oci_pconnect() to check the connection validity. When
804
+ ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
805
+ ; pings completely.
806
+ ;oci8.ping_interval = 60
807
+
808
+ ; Tuning: This option enables statement caching, and specifies how
809
+ ; many statements to cache. Using 0 disables statement caching.
810
+ ;oci8.statement_cache_size = 20
811
+
812
+ ; Tuning: Enables statement prefetching and sets the default number of
813
+ ; rows that will be fetched automatically after statement execution.
814
+ ;oci8.default_prefetch = 10
815
+
816
+ ; Compatibility. Using On means oci_close() will not close
817
+ ; oci_connect() and oci_new_connect() connections.
818
+ ;oci8.old_oci_close_semantics = Off
819
+
820
+ [PostgresSQL]
821
+ ; Allow or prevent persistent links.
822
+ pgsql.allow_persistent = On
823
+
824
+ ; Detect broken persistent links always with pg_pconnect().
825
+ ; Auto reset feature requires a little overheads.
826
+ pgsql.auto_reset_persistent = Off
827
+
828
+ ; Maximum number of persistent links. -1 means no limit.
829
+ pgsql.max_persistent = -1
830
+
831
+ ; Maximum number of links (persistent+non persistent). -1 means no limit.
832
+ pgsql.max_links = -1
833
+
834
+ ; Ignore PostgreSQL backends Notice message or not.
835
+ ; Notice message logging require a little overheads.
836
+ pgsql.ignore_notice = 0
837
+
838
+ ; Log PostgreSQL backends Noitce message or not.
839
+ ; Unless pgsql.ignore_notice=0, module cannot log notice message.
840
+ pgsql.log_notice = 0
841
+
842
+ [Sybase]
843
+ ; Allow or prevent persistent links.
844
+ sybase.allow_persistent = On
845
+
846
+ ; Maximum number of persistent links. -1 means no limit.
847
+ sybase.max_persistent = -1
848
+
849
+ ; Maximum number of links (persistent + non-persistent). -1 means no limit.
850
+ sybase.max_links = -1
851
+
852
+ ;sybase.interface_file = "/usr/sybase/interfaces"
853
+
854
+ ; Minimum error severity to display.
855
+ sybase.min_error_severity = 10
856
+
857
+ ; Minimum message severity to display.
858
+ sybase.min_message_severity = 10
859
+
860
+ ; Compatibility mode with old versions of PHP 3.0.
861
+ ; If on, this will cause PHP to automatically assign types to results according
862
+ ; to their Sybase type, instead of treating them all as strings. This
863
+ ; compatibility mode will probably not stay around forever, so try applying
864
+ ; whatever necessary changes to your code, and turn it off.
865
+ sybase.compatability_mode = Off
866
+
867
+ [Sybase-CT]
868
+ ; Allow or prevent persistent links.
869
+ sybct.allow_persistent = On
870
+
871
+ ; Maximum number of persistent links. -1 means no limit.
872
+ sybct.max_persistent = -1
873
+
874
+ ; Maximum number of links (persistent + non-persistent). -1 means no limit.
875
+ sybct.max_links = -1
876
+
877
+ ; Minimum server message severity to display.
878
+ sybct.min_server_severity = 10
879
+
880
+ ; Minimum client message severity to display.
881
+ sybct.min_client_severity = 10
882
+
883
+ [bcmath]
884
+ ; Number of decimal digits for all bcmath functions.
885
+ bcmath.scale = 0
886
+
887
+ [browscap]
888
+ ;browscap = extra/browscap.ini
889
+
890
+ [Informix]
891
+ ; Default host for ifx_connect() (doesn't apply in safe mode).
892
+ ifx.default_host =
893
+
894
+ ; Default user for ifx_connect() (doesn't apply in safe mode).
895
+ ifx.default_user =
896
+
897
+ ; Default password for ifx_connect() (doesn't apply in safe mode).
898
+ ifx.default_password =
899
+
900
+ ; Allow or prevent persistent links.
901
+ ifx.allow_persistent = On
902
+
903
+ ; Maximum number of persistent links. -1 means no limit.
904
+ ifx.max_persistent = -1
905
+
906
+ ; Maximum number of links (persistent + non-persistent). -1 means no limit.
907
+ ifx.max_links = -1
908
+
909
+ ; If on, select statements return the contents of a text blob instead of its id.
910
+ ifx.textasvarchar = 0
911
+
912
+ ; If on, select statements return the contents of a byte blob instead of its id.
913
+ ifx.byteasvarchar = 0
914
+
915
+ ; Trailing blanks are stripped from fixed-length char columns. May help the
916
+ ; life of Informix SE users.
917
+ ifx.charasvarchar = 0
918
+
919
+ ; If on, the contents of text and byte blobs are dumped to a file instead of
920
+ ; keeping them in memory.
921
+ ifx.blobinfile = 0
922
+
923
+ ; NULL's are returned as empty strings, unless this is set to 1. In that case,
924
+ ; NULL's are returned as string 'NULL'.
925
+ ifx.nullformat = 0
926
+
927
+ [Session]
928
+ ; Handler used to store/retrieve data.
929
+ session.save_handler = files
930
+
931
+ ; Argument passed to save_handler. In the case of files, this is the path
932
+ ; where data files are stored. Note: Windows users have to change this
933
+ ; variable in order to use PHP's session functions.
934
+ ;
935
+ ; As of PHP 4.0.1, you can define the path as:
936
+ ;
937
+ ; session.save_path = "N;/path"
938
+ ;
939
+ ; where N is an integer. Instead of storing all the session files in
940
+ ; /path, what this will do is use subdirectories N-levels deep, and
941
+ ; store the session data in those directories. This is useful if you
942
+ ; or your OS have problems with lots of files in one directory, and is
943
+ ; a more efficient layout for servers that handle lots of sessions.
944
+ ;
945
+ ; NOTE 1: PHP will not create this directory structure automatically.
946
+ ; You can use the script in the ext/session dir for that purpose.
947
+ ; NOTE 2: See the section on garbage collection below if you choose to
948
+ ; use subdirectories for session storage
949
+ ;
950
+ ; The file storage module creates files using mode 600 by default.
951
+ ; You can change that by using
952
+ ;
953
+ ; session.save_path = "N;MODE;/path"
954
+ ;
955
+ ; where MODE is the octal representation of the mode. Note that this
956
+ ; does not overwrite the process's umask.
957
+ ;session.save_path = /var/lib/php5
958
+
959
+ ; Whether to use cookies.
960
+ session.use_cookies = 1
961
+
962
+ ;session.cookie_secure =
963
+
964
+ ; This option enables administrators to make their users invulnerable to
965
+ ; attacks which involve passing session ids in URLs; defaults to 0.
966
+ ; session.use_only_cookies = 1
967
+
968
+ ; Name of the session (used as cookie name).
969
+ session.name = PHPSESSID
970
+
971
+ ; Initialize session on request startup.
972
+ session.auto_start = 0
973
+
974
+ ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
975
+ session.cookie_lifetime = 0
976
+
977
+ ; The path for which the cookie is valid.
978
+ session.cookie_path = /
979
+
980
+ ; The domain for which the cookie is valid.
981
+ session.cookie_domain =
982
+
983
+ ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
984
+ session.cookie_httponly =
985
+
986
+ ; Handler used to serialize data. php is the standard serializer of PHP.
987
+ session.serialize_handler = php
988
+
989
+ ; Define the probability that the 'garbage collection' process is started
990
+ ; on every session initialization.
991
+ ; The probability is calculated by using gc_probability/gc_divisor,
992
+ ; e.g. 1/100 means there is a 1% chance that the GC process starts
993
+ ; on each request.
994
+
995
+ ; This is disabled in the Debian packages, due to the strict permissions
996
+ ; on /var/lib/php5. Instead of setting this here, see the cronjob at
997
+ ; /etc/cron.d/php5, which uses the session.gc_maxlifetime setting below
998
+ ;session.gc_probability = 0
999
+ session.gc_divisor = 100
1000
+
1001
+ ; After this number of seconds, stored data will be seen as 'garbage' and
1002
+ ; cleaned up by the garbage collection process.
1003
+ session.gc_maxlifetime = 1440
1004
+
1005
+ ; NOTE: If you are using the subdirectory option for storing session files
1006
+ ; (see session.save_path above), then garbage collection does *not*
1007
+ ; happen automatically. You will need to do your own garbage
1008
+ ; collection through a shell script, cron entry, or some other method.
1009
+ ; For example, the following script would is the equivalent of
1010
+ ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1011
+ ; cd /path/to/sessions; find -cmin +24 | xargs rm
1012
+
1013
+ ; PHP 4.2 and less have an undocumented feature/bug that allows you to
1014
+ ; to initialize a session variable in the global scope, albeit register_globals
1015
+ ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
1016
+ ; You can disable the feature and the warning separately. At this time,
1017
+ ; the warning is only displayed, if bug_compat_42 is enabled.
1018
+
1019
+ session.bug_compat_42 = 1
1020
+ session.bug_compat_warn = 1
1021
+
1022
+ ; Check HTTP Referer to invalidate externally stored URLs containing ids.
1023
+ ; HTTP_REFERER has to contain this substring for the session to be
1024
+ ; considered as valid.
1025
+ session.referer_check =
1026
+
1027
+ ; How many bytes to read from the file.
1028
+ session.entropy_length = 0
1029
+
1030
+ ; Specified here to create the session id.
1031
+ session.entropy_file =
1032
+
1033
+ ;session.entropy_length = 16
1034
+
1035
+ ;session.entropy_file = /dev/urandom
1036
+
1037
+ ; Set to {nocache,private,public,} to determine HTTP caching aspects
1038
+ ; or leave this empty to avoid sending anti-caching headers.
1039
+ session.cache_limiter = nocache
1040
+
1041
+ ; Document expires after n minutes.
1042
+ session.cache_expire = 180
1043
+
1044
+ ; trans sid support is disabled by default.
1045
+ ; Use of trans sid may risk your users security.
1046
+ ; Use this option with caution.
1047
+ ; - User may send URL contains active session ID
1048
+ ; to other person via. email/irc/etc.
1049
+ ; - URL that contains active session ID may be stored
1050
+ ; in publically accessible computer.
1051
+ ; - User may access your site with the same session ID
1052
+ ; always using URL stored in browser's history or bookmarks.
1053
+ session.use_trans_sid = 0
1054
+
1055
+ ; Select a hash function
1056
+ ; 0: MD5 (128 bits)
1057
+ ; 1: SHA-1 (160 bits)
1058
+ session.hash_function = 0
1059
+
1060
+ ; Define how many bits are stored in each character when converting
1061
+ ; the binary hash data to something readable.
1062
+ ;
1063
+ ; 4 bits: 0-9, a-f
1064
+ ; 5 bits: 0-9, a-v
1065
+ ; 6 bits: 0-9, a-z, A-Z, "-", ","
1066
+ session.hash_bits_per_character = 4
1067
+
1068
+ ; The URL rewriter will look for URLs in a defined set of HTML tags.
1069
+ ; form/fieldset are special; if you include them here, the rewriter will
1070
+ ; add a hidden <input> field with the info which is otherwise appended
1071
+ ; to URLs. If you want XHTML conformity, remove the form entry.
1072
+ ; Note that all valid entries require a "=", even if no value follows.
1073
+ url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
1074
+
1075
+ [MSSQL]
1076
+ ; Allow or prevent persistent links.
1077
+ mssql.allow_persistent = On
1078
+
1079
+ ; Maximum number of persistent links. -1 means no limit.
1080
+ mssql.max_persistent = -1
1081
+
1082
+ ; Maximum number of links (persistent+non persistent). -1 means no limit.
1083
+ mssql.max_links = -1
1084
+
1085
+ ; Minimum error severity to display.
1086
+ mssql.min_error_severity = 10
1087
+
1088
+ ; Minimum message severity to display.
1089
+ mssql.min_message_severity = 10
1090
+
1091
+ ; Compatibility mode with old versions of PHP 3.0.
1092
+ mssql.compatability_mode = Off
1093
+
1094
+ ; Connect timeout
1095
+ ;mssql.connect_timeout = 5
1096
+
1097
+ ; Query timeout
1098
+ ;mssql.timeout = 60
1099
+
1100
+ ; Valid range 0 - 2147483647. Default = 4096.
1101
+ ;mssql.textlimit = 4096
1102
+
1103
+ ; Valid range 0 - 2147483647. Default = 4096.
1104
+ ;mssql.textsize = 4096
1105
+
1106
+ ; Limits the number of records in each batch. 0 = all records in one batch.
1107
+ ;mssql.batchsize = 0
1108
+
1109
+ ; Specify how datetime and datetim4 columns are returned
1110
+ ; On => Returns data converted to SQL server settings
1111
+ ; Off => Returns values as YYYY-MM-DD hh:mm:ss
1112
+ ;mssql.datetimeconvert = On
1113
+
1114
+ ; Use NT authentication when connecting to the server
1115
+ mssql.secure_connection = Off
1116
+
1117
+ ; Specify max number of processes. -1 = library default
1118
+ ; msdlib defaults to 25
1119
+ ; FreeTDS defaults to 4096
1120
+ ;mssql.max_procs = -1
1121
+
1122
+ ; Specify client character set.
1123
+ ; If empty or not set the client charset from freetds.comf is used
1124
+ ; This is only used when compiled with FreeTDS
1125
+ ;mssql.charset = "ISO-8859-1"
1126
+
1127
+ [Assertion]
1128
+ ; Assert(expr); active by default.
1129
+ ;assert.active = On
1130
+
1131
+ ; Issue a PHP warning for each failed assertion.
1132
+ ;assert.warning = On
1133
+
1134
+ ; Don't bail out by default.
1135
+ ;assert.bail = Off
1136
+
1137
+ ; User-function to be called if an assertion fails.
1138
+ ;assert.callback = 0
1139
+
1140
+ ; Eval the expression with current error_reporting(). Set to true if you want
1141
+ ; error_reporting(0) around the eval().
1142
+ ;assert.quiet_eval = 0
1143
+
1144
+ [COM]
1145
+ ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1146
+ ;com.typelib_file =
1147
+ ; allow Distributed-COM calls
1148
+ ;com.allow_dcom = true
1149
+ ; autoregister constants of a components typlib on com_load()
1150
+ ;com.autoregister_typelib = true
1151
+ ; register constants casesensitive
1152
+ ;com.autoregister_casesensitive = false
1153
+ ; show warnings on duplicate constant registrations
1154
+ ;com.autoregister_verbose = true
1155
+
1156
+ [mbstring]
1157
+ ; language for internal character representation.
1158
+ ;mbstring.language = Japanese
1159
+
1160
+ ; internal/script encoding.
1161
+ ; Some encoding cannot work as internal encoding.
1162
+ ; (e.g. SJIS, BIG5, ISO-2022-*)
1163
+ ;mbstring.internal_encoding = EUC-JP
1164
+
1165
+ ; http input encoding.
1166
+ ;mbstring.http_input = auto
1167
+
1168
+ ; http output encoding. mb_output_handler must be
1169
+ ; registered as output buffer to function
1170
+ ;mbstring.http_output = SJIS
1171
+
1172
+ ; enable automatic encoding translation according to
1173
+ ; mbstring.internal_encoding setting. Input chars are
1174
+ ; converted to internal encoding by setting this to On.
1175
+ ; Note: Do _not_ use automatic encoding translation for
1176
+ ; portable libs/applications.
1177
+ ;mbstring.encoding_translation = Off
1178
+
1179
+ ; automatic encoding detection order.
1180
+ ; auto means
1181
+ ;mbstring.detect_order = auto
1182
+
1183
+ ; substitute_character used when character cannot be converted
1184
+ ; one from another
1185
+ ;mbstring.substitute_character = none;
1186
+
1187
+ ; overload(replace) single byte functions by mbstring functions.
1188
+ ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1189
+ ; etc. Possible values are 0,1,2,4 or combination of them.
1190
+ ; For example, 7 for overload everything.
1191
+ ; 0: No overload
1192
+ ; 1: Overload mail() function
1193
+ ; 2: Overload str*() functions
1194
+ ; 4: Overload ereg*() functions
1195
+ ;mbstring.func_overload = 0
1196
+
1197
+ [FrontBase]
1198
+ ;fbsql.allow_persistent = On
1199
+ ;fbsql.autocommit = On
1200
+ ;fbsql.show_timestamp_decimals = Off
1201
+ ;fbsql.default_database =
1202
+ ;fbsql.default_database_password =
1203
+ ;fbsql.default_host =
1204
+ ;fbsql.default_password =
1205
+ ;fbsql.default_user = "_SYSTEM"
1206
+ ;fbsql.generate_warnings = Off
1207
+ ;fbsql.max_connections = 128
1208
+ ;fbsql.max_links = 128
1209
+ ;fbsql.max_persistent = -1
1210
+ ;fbsql.max_results = 128
1211
+
1212
+ [gd]
1213
+ ; Tell the jpeg decode to libjpeg warnings and try to create
1214
+ ; a gd image. The warning will then be displayed as notices
1215
+ ; disabled by default
1216
+ ;gd.jpeg_ignore_warning = 0
1217
+
1218
+ [exif]
1219
+ ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1220
+ ; With mbstring support this will automatically be converted into the encoding
1221
+ ; given by corresponding encode setting. When empty mbstring.internal_encoding
1222
+ ; is used. For the decode settings you can distinguish between motorola and
1223
+ ; intel byte order. A decode setting cannot be empty.
1224
+ ;exif.encode_unicode = ISO-8859-15
1225
+ ;exif.decode_unicode_motorola = UCS-2BE
1226
+ ;exif.decode_unicode_intel = UCS-2LE
1227
+ ;exif.encode_jis =
1228
+ ;exif.decode_jis_motorola = JIS
1229
+ ;exif.decode_jis_intel = JIS
1230
+
1231
+ [Tidy]
1232
+ ; The path to a default tidy configuration file to use when using tidy
1233
+ ;tidy.default_config = /usr/local/lib/php/default.tcfg
1234
+
1235
+ ; Should tidy clean and repair output automatically?
1236
+ ; WARNING: Do not use this option if you are generating non-html content
1237
+ ; such as dynamic images
1238
+ tidy.clean_output = Off
1239
+
1240
+ [soap]
1241
+ ; Enables or disables WSDL caching feature.
1242
+ soap.wsdl_cache_enabled=1
1243
+ ; Sets the directory name where SOAP extension will put cache files.
1244
+ soap.wsdl_cache_dir="/tmp"
1245
+ ; (time to live) Sets the number of second while cached file will be used
1246
+ ; instead of original one.
1247
+ soap.wsdl_cache_ttl=86400
1248
+
1249
+ ; Local Variables:
1250
+ ; tab-width: 4
1251
+ ; End:
1252
+
1253
+