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

321 lines
8.1 KiB

  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
  133. ; Dynamic Extensions
  134. ;extension=ctype.so
  135. ;extension=curl.so
  136. ;extension=dom.so
  137. ;extension=exif.so
  138. ;extension=ftp.so
  139. ;extension=gd.so
  140. ;extension=gmp.so
  141. ;extension=hash.so
  142. ;extension=iconv.so
  143. ;extension=json.so
  144. ;extension=ldap.so
  145. ;extension=mbstring.so
  146. ;extension=mcrypt.so
  147. ;extension=mysql.so
  148. ;extension=openssl.so
  149. ;extension=pcre.so
  150. ;extension=pdo.so
  151. ;extension=pdo-mysql.so
  152. ;extension=pdo-pgsql.so
  153. ;extension=pdo_sqlite.so
  154. ;extension=pgsql.so
  155. ;extension=session.so
  156. ;extension=soap.so
  157. ;extension=sockets.so
  158. ;extension=sqlite.so
  159. ;extension=sqlite3.so
  160. ;extension=tokenizer.so
  161. ;extension=xml.so
  162. ;extension=xmlreader.so
  163. ;extension=xmlwriter.so
  164. ; Module Settings
  165. [APC]
  166. apc.enabled = 1
  167. apc.shm_segments = 1 ;The number of shared memory segments to allocate for the compiler cache.
  168. apc.shm_size = 4M ;The size of each shared memory segment.
  169. [Date]
  170. ;date.timezone =
  171. ;date.default_latitude = 31.7667
  172. ;date.default_longitude = 35.2333
  173. ;date.sunrise_zenith = 90.583333
  174. ;date.sunset_zenith = 90.583333
  175. [filter]
  176. ;filter.default = unsafe_raw
  177. ;filter.default_flags =
  178. [iconv]
  179. ;iconv.input_encoding = ISO-8859-1
  180. ;iconv.internal_encoding = ISO-8859-1
  181. ;iconv.output_encoding = ISO-8859-1
  182. [sqlite]
  183. ;sqlite.assoc_case = 0
  184. [sqlite3]
  185. ;sqlite3.extension_dir =
  186. [Pdo_mysql]
  187. pdo_mysql.cache_size = 2000
  188. pdo_mysql.default_socket=
  189. [MySQL]
  190. mysql.allow_local_infile = On
  191. mysql.allow_persistent = On
  192. mysql.cache_size = 2000
  193. mysql.max_persistent = -1
  194. mysql.max_links = -1
  195. mysql.default_port =
  196. mysql.default_socket =
  197. mysql.default_host =
  198. mysql.default_user =
  199. mysql.default_password =
  200. mysql.connect_timeout = 60
  201. mysql.trace_mode = Off
  202. [PostgresSQL]
  203. pgsql.allow_persistent = On
  204. pgsql.auto_reset_persistent = Off
  205. pgsql.max_persistent = -1
  206. pgsql.max_links = -1
  207. pgsql.ignore_notice = 0
  208. pgsql.log_notice = 0
  209. [Session]
  210. session.save_handler = files
  211. session.save_path = "/tmp"
  212. session.use_cookies = 1
  213. ;session.cookie_secure =
  214. session.use_only_cookies = 1
  215. session.name = PHPSESSID
  216. session.auto_start = 0
  217. session.cookie_lifetime = 0
  218. session.cookie_path = /
  219. session.cookie_domain =
  220. session.cookie_httponly =
  221. session.serialize_handler = php
  222. session.gc_probability = 1
  223. session.gc_divisor = 100
  224. session.gc_maxlifetime = 1440
  225. session.bug_compat_42 = On
  226. session.bug_compat_warn = On
  227. session.referer_check =
  228. session.entropy_length = 0
  229. ;session.entropy_file = /dev/urandom
  230. session.entropy_file =
  231. ;session.entropy_length = 16
  232. session.cache_limiter = nocache
  233. session.cache_expire = 180
  234. session.use_trans_sid = 0
  235. session.hash_function = 0
  236. session.hash_bits_per_character = 4
  237. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
  238. [mbstring]
  239. ;mbstring.language = Japanese
  240. ;mbstring.internal_encoding = EUC-JP
  241. ;mbstring.http_input = auto
  242. ;mbstring.http_output = SJIS
  243. ;mbstring.encoding_translation = Off
  244. ;mbstring.detect_order = auto
  245. ;mbstring.substitute_character = none;
  246. ;mbstring.func_overload = 0
  247. ;mbstring.strict_detection = Off
  248. ;mbstring.http_output_conv_mimetype=
  249. ;mbstring.script_encoding=
  250. [gd]
  251. ;gd.jpeg_ignore_warning = 0
  252. [exif]
  253. ;exif.encode_unicode = ISO-8859-15
  254. ;exif.decode_unicode_motorola = UCS-2BE
  255. ;exif.decode_unicode_intel = UCS-2LE
  256. ;exif.encode_jis =
  257. ;exif.decode_jis_motorola = JIS
  258. ;exif.decode_jis_intel = JIS
  259. [soap]
  260. soap.wsdl_cache_enabled=1
  261. soap.wsdl_cache_dir="/tmp"
  262. soap.wsdl_cache_ttl=86400
  263. soap.wsdl_cache_limit = 5
  264. [sysvshm]
  265. ;sysvshm.init_mem = 10000
  266. [ldap]
  267. ldap.max_links = -1
  268. [mcrypt]
  269. ;mcrypt.algorithms_dir=
  270. ;mcrypt.modes_dir=
  271. [opcache]
  272. ;opcache.memory_consumption=8 ; 8M is the allowed minimum
  273. ;opcache.interned_strings_buffer=1
  274. opcache.max_accelerated_files=200 ; 200 is the allowed minimum
  275. ;opcache.revalidate_freq=60
  276. ;opcache.fast_shutdown=1
  277. opcache.enable_cli=1
  278. opcache.enable=1
  279. ;opcache.log_verbosity_level=4