php.ini 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. [PHP]
  2. zend.ze1_compatibility_mode = Off
  3. ; Language Options
  4. engine = On
  5. ;short_open_tag = Off
  6. precision = 12
  7. y2k_compliance = On
  8. output_buffering = Off
  9. ;output_handler =
  10. zlib.output_compression = Off
  11. ;zlib.output_compression_level = -1
  12. ;zlib.output_handler =
  13. implicit_flush = Off
  14. unserialize_callback_func =
  15. serialize_precision = 100
  16. ;open_basedir =
  17. disable_functions =
  18. disable_classes =
  19. ; Colors for Syntax Highlighting mode. Anything that's acceptable in
  20. ; <span style="color: ???????"> would work.
  21. ;highlight.string = #DD0000
  22. ;highlight.comment = #FF9900
  23. ;highlight.keyword = #007700
  24. ;highlight.bg = #FFFFFF
  25. ;highlight.default = #0000BB
  26. ;highlight.html = #000000
  27. ;ignore_user_abort = On
  28. ;realpath_cache_size = 16k
  29. ;realpath_cache_ttl = 120
  30. ; Miscellaneous
  31. expose_php = On
  32. ; Resource Limits
  33. max_execution_time = 30 ; Maximum execution time of each script, in seconds.
  34. max_input_time = 60 ; Maximum amount of time each script may spend parsing request data.
  35. ;max_input_nesting_level = 64
  36. memory_limit = 8M ; Maximum amount of memory a script may consume.
  37. ; Error handling and logging
  38. ; Error Level Constants:
  39. ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
  40. ; E_ERROR - fatal run-time errors
  41. ; E_RECOVERABLE_ERROR - almost fatal run-time errors
  42. ; E_WARNING - run-time warnings (non-fatal errors)
  43. ; E_PARSE - compile-time parse errors
  44. ; E_NOTICE - run-time notices (these are warnings which often result
  45. ; from a bug in your code, but it's possible that it was
  46. ; intentional (e.g., using an uninitialized variable and
  47. ; relying on the fact it's automatically initialized to an
  48. ; empty string)
  49. ; E_STRICT - run-time notices, enable to have PHP suggest changes
  50. ; to your code which will ensure the best interoperability
  51. ; and forward compatibility of your code
  52. ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
  53. ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
  54. ; initial startup
  55. ; E_COMPILE_ERROR - fatal compile-time errors
  56. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  57. ; E_USER_ERROR - user-generated error message
  58. ; E_USER_WARNING - user-generated warning message
  59. ; E_USER_NOTICE - user-generated notice message
  60. ; E_DEPRECATED - warn about code that will not work in future versions
  61. ; of PHP
  62. ; E_USER_DEPRECATED - user-generated deprecation warnings
  63. ;
  64. ; Common Values:
  65. ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
  66. ; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
  67. ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
  68. ; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
  69. ; Default Value: E_ALL & ~E_NOTICE
  70. error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
  71. display_errors = On
  72. display_startup_errors = Off
  73. log_errors = Off
  74. log_errors_max_len = 1024
  75. ignore_repeated_errors = Off
  76. ignore_repeated_source = Off
  77. report_memleaks = On
  78. ;report_zend_debug = 0
  79. track_errors = Off
  80. ;html_errors = Off
  81. ;docref_root = "/phpmanual/"
  82. ;docref_ext = .html
  83. ;error_prepend_string = "<font color=#ff0000>"
  84. ;error_append_string = "</font>"
  85. ; Log errors to specified file.
  86. ;error_log = /var/log/php_errors.log
  87. ; Log errors to syslog.
  88. ;error_log = syslog
  89. ; Data Handling
  90. ;arg_separator.output = "&amp;"
  91. ;arg_separator.input = ";&"
  92. variables_order = "EGPCS"
  93. request_order = "GP"
  94. register_globals = Off
  95. register_long_arrays = Off
  96. register_argc_argv = On
  97. auto_globals_jit = On
  98. post_max_size = 8M
  99. ;magic_quotes_gpc = Off
  100. magic_quotes_runtime = Off
  101. magic_quotes_sybase = Off
  102. auto_prepend_file =
  103. auto_append_file =
  104. default_mimetype = "text/html"
  105. ;default_charset = "iso-8859-1"
  106. ;always_populate_raw_post_data = On
  107. ; Paths and Directories
  108. ; UNIX: "/path1:/path2"
  109. ;include_path = ".:/php/includes"
  110. doc_root = "/www"
  111. user_dir =
  112. extension_dir = "/usr/lib/php"
  113. enable_dl = On
  114. ;cgi.force_redirect = 1
  115. ;cgi.nph = 1
  116. ;cgi.redirect_status_env = ;
  117. cgi.fix_pathinfo=1
  118. ;fastcgi.impersonate = 1;
  119. ;fastcgi.logging = 0
  120. ;cgi.rfc2616_headers = 0
  121. ; File Uploads
  122. file_uploads = On
  123. upload_tmp_dir = "/tmp"
  124. upload_max_filesize = 2M
  125. max_file_uploads = 20
  126. ; Fopen wrappers
  127. allow_url_fopen = On
  128. allow_url_include = Off
  129. ;from="john@doe.com"
  130. ;user_agent="PHP"
  131. default_socket_timeout = 60
  132. ;auto_detect_line_endings = Off