Guest User

Untitled

a guest
Oct 5th, 2014
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.23 KB | None | 0 0
  1. [PHP]
  2.  
  3. zend.ze1_compatibility_mode = Off
  4.  
  5. ; Language Options
  6.  
  7. engine = On
  8. ;short_open_tag = Off
  9. precision = 12
  10. y2k_compliance = On
  11. output_buffering = Off
  12. ;output_handler =
  13. zlib.output_compression = Off
  14. ;zlib.output_compression_level = -1
  15. ;zlib.output_handler =
  16. implicit_flush = Off
  17. unserialize_callback_func =
  18. serialize_precision = 100
  19.  
  20. ;open_basedir =
  21. disable_functions =
  22. disable_classes =
  23.  
  24. ; Colors for Syntax Highlighting mode. Anything that's acceptable in
  25. ; <span style="color: ???????"> would work.
  26. ;highlight.string = #DD0000
  27. ;highlight.comment = #FF9900
  28. ;highlight.keyword = #007700
  29. ;highlight.bg = #FFFFFF
  30. ;highlight.default = #0000BB
  31. ;highlight.html = #000000
  32.  
  33. ;ignore_user_abort = On
  34. ;realpath_cache_size = 16k
  35. ;realpath_cache_ttl = 120
  36.  
  37. ; Miscellaneous
  38.  
  39. expose_php = On
  40.  
  41. ; Resource Limits
  42.  
  43. max_execution_time = 30 ; Maximum execution time of each script, in seconds.
  44. max_input_time = 60 ; Maximum amount of time each script may spend parsing request data.
  45. ;max_input_nesting_level = 64
  46. memory_limit = 8M ; Maximum amount of memory a script may consume.
  47.  
  48. ; Error handling and logging
  49.  
  50. ; Error Level Constants:
  51. ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
  52. ; E_ERROR - fatal run-time errors
  53. ; E_RECOVERABLE_ERROR - almost fatal run-time errors
  54. ; E_WARNING - run-time warnings (non-fatal errors)
  55. ; E_PARSE - compile-time parse errors
  56. ; E_NOTICE - run-time notices (these are warnings which often result
  57. ; from a bug in your code, but it's possible that it was
  58. ; intentional (e.g., using an uninitialized variable and
  59. ; relying on the fact it's automatically initialized to an
  60. ; empty string)
  61. ; E_STRICT - run-time notices, enable to have PHP suggest changes
  62. ; to your code which will ensure the best interoperability
  63. ; and forward compatibility of your code
  64. ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
  65. ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
  66. ; initial startup
  67. ; E_COMPILE_ERROR - fatal compile-time errors
  68. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  69. ; E_USER_ERROR - user-generated error message
  70. ; E_USER_WARNING - user-generated warning message
  71. ; E_USER_NOTICE - user-generated notice message
  72. ; E_DEPRECATED - warn about code that will not work in future versions
  73. ; of PHP
  74. ; E_USER_DEPRECATED - user-generated deprecation warnings
  75. ;
  76. ; Common Values:
  77. ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
  78. ; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
  79. ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
  80. ; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
  81. ; Default Value: E_ALL & ~E_NOTICE
  82. error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
  83.  
  84. display_errors = On
  85. display_startup_errors = Off
  86. log_errors = Off
  87. log_errors_max_len = 1024
  88. ignore_repeated_errors = Off
  89. ignore_repeated_source = Off
  90. report_memleaks = On
  91. ;report_zend_debug = 0
  92. track_errors = Off
  93. ;html_errors = Off
  94. ;docref_root = "/phpmanual/"
  95. ;docref_ext = .html
  96. ;error_prepend_string = "<font color=#ff0000>"
  97. ;error_append_string = "</font>"
  98. ; Log errors to specified file.
  99. ;error_log = /var/log/php_errors.log
  100. ; Log errors to syslog.
  101. ;error_log = syslog
  102.  
  103. ; Data Handling
  104.  
  105. ;arg_separator.output = "&amp;"
  106. ;arg_separator.input = ";&"
  107. variables_order = "EGPCS"
  108. request_order = "GP"
  109. register_globals = Off
  110. register_long_arrays = Off
  111. register_argc_argv = On
  112.  
  113. auto_globals_jit = On
  114. post_max_size = 8M
  115. ;magic_quotes_gpc = Off
  116. magic_quotes_runtime = Off
  117. magic_quotes_sybase = Off
  118. auto_prepend_file =
  119. auto_append_file =
  120. default_mimetype = "text/html"
  121. ;default_charset = "iso-8859-1"
  122. ;always_populate_raw_post_data = On
  123.  
  124. ; Paths and Directories
  125.  
  126. ; UNIX: "/path1:/path2"
  127. ;include_path = ".:/php/includes"
  128. doc_root = "/opt/www"
  129. user_dir =
  130. extension_dir = "/usr/lib/php"
  131. enable_dl = On
  132. ;cgi.force_redirect = 1
  133. ;cgi.nph = 1
  134. ;cgi.redirect_status_env = ;
  135. cgi.fix_pathinfo=1
  136. ;fastcgi.impersonate = 1;
  137. ;fastcgi.logging = 0
  138. ;cgi.rfc2616_headers = 0
  139.  
  140. ; File Uploads
  141.  
  142. file_uploads = On
  143. upload_tmp_dir = "/tmp"
  144. upload_max_filesize = 2M
  145. max_file_uploads = 20
  146.  
  147. ; Fopen wrappers
  148.  
  149. allow_url_fopen = On
  150. allow_url_include = Off
  151. ;user_agent="PHP"
  152. default_socket_timeout = 60
  153. ;auto_detect_line_endings = Off
  154.  
  155. ; Dynamic Extensions
  156.  
  157. extension=gd.so
  158. extension=pdo.so
  159. extension=sqlite.so
  160. extension=session.so
  161. extension=timezonedb.so
  162. extension=ctype.so
  163. extension=curl.so
  164. extension=dom.so
  165. extension=exif.so
  166. extension=ftp.so
  167. extension=gd.so
  168. extension=gmp.so
  169. extension=hash.so
  170. extension=iconv.so
  171. extension=json.so
  172. extension=ldap.so
  173. extension=mbstring.so
  174. extension=mcrypt.so
  175. extension=mysql.so
  176. extension=openssl.so
  177. extension=pcre.so
  178. extension=pdo.so
  179. extension=pdo-mysql.so
  180. extension=pdo-pgsql.so
  181. extension=pdo_sqlite.so
  182. extension=pgsql.so
  183. extension=session.so
  184. extension=soap.so
  185. extension=sockets.so
  186. extension=sqlite.so
  187. extension=sqlite3.so
  188. extension=tokenizer.so
  189. extension=xml.so
  190. extension=xmlreader.so
  191. extension=xmlwriter.so
  192. ; Module Settings
  193.  
  194. [APC]
  195. apc.enabled = 1
  196. apc.shm_segments = 1 ;The number of shared memory segments to allocate for the compiler cache.
  197. apc.shm_size = 4M ;The size of each shared memory segment.
  198.  
  199. [Date]
  200. date.timezone = Europe/Moscow
  201. ;date.default_latitude = 31.7667
  202. ;date.default_longitude = 35.2333
  203. ;date.sunrise_zenith = 90.583333
  204. ;date.sunset_zenith = 90.583333
  205.  
  206. [filter]
  207. ;filter.default = unsafe_raw
  208. ;filter.default_flags =
  209.  
  210. [iconv]
  211. ;iconv.input_encoding = ISO-8859-1
  212. ;iconv.internal_encoding = ISO-8859-1
  213. ;iconv.output_encoding = ISO-8859-1
  214.  
  215. [sqlite]
  216. ;sqlite.assoc_case = 0
  217.  
  218. [sqlite3]
  219. ;sqlite3.extension_dir =
  220.  
  221. [Pdo_mysql]
  222. pdo_mysql.cache_size = 2000
  223. pdo_mysql.default_socket=
  224.  
  225. [MySQL]
  226. mysql.allow_local_infile = On
  227. mysql.allow_persistent = On
  228. mysql.cache_size = 2000
  229. mysql.max_persistent = -1
  230. mysql.max_links = -1
  231. mysql.default_port =
  232. mysql.default_socket =
  233. mysql.default_host =
  234. mysql.default_user =
  235. mysql.default_password =
  236. mysql.connect_timeout = 60
  237. mysql.trace_mode = Off
  238.  
  239. [PostgresSQL]
  240. pgsql.allow_persistent = On
  241. pgsql.auto_reset_persistent = Off
  242. pgsql.max_persistent = -1
  243. pgsql.max_links = -1
  244. pgsql.ignore_notice = 0
  245. pgsql.log_notice = 0
  246.  
  247. [Session]
  248. session.save_handler = files
  249. session.save_path = "/tmp"
  250. session.use_cookies = 1
  251. ;session.cookie_secure =
  252. session.use_only_cookies = 1
  253. session.name = PHPSESSID
  254. session.auto_start = 0
  255. session.cookie_lifetime = 0
  256. session.cookie_path = /
  257. session.cookie_domain =
  258. session.cookie_httponly =
  259. session.serialize_handler = php
  260. session.gc_probability = 1
  261. session.gc_divisor = 100
  262. session.gc_maxlifetime = 1440
  263. session.bug_compat_42 = On
  264. session.bug_compat_warn = On
  265. session.referer_check =
  266. session.entropy_length = 0
  267. ;session.entropy_file = /dev/urandom
  268. session.entropy_file =
  269. ;session.entropy_length = 16
  270. session.cache_limiter = nocache
  271. session.cache_expire = 180
  272. session.use_trans_sid = 0
  273. session.hash_function = 0
  274. session.hash_bits_per_character = 4
  275. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
  276.  
  277. [mbstring]
  278. ;mbstring.language = Japanese
  279. ;mbstring.internal_encoding = EUC-JP
  280. ;mbstring.http_input = auto
  281. ;mbstring.http_output = SJIS
  282. ;mbstring.encoding_translation = Off
  283. ;mbstring.detect_order = auto
  284. ;mbstring.substitute_character = none;
  285. ;mbstring.func_overload = 0
  286. ;mbstring.strict_detection = Off
  287. ;mbstring.http_output_conv_mimetype=
  288. ;mbstring.script_encoding=
  289.  
  290. [gd]
  291. ;gd.jpeg_ignore_warning = 0
  292.  
  293. [exif]
  294. ;exif.encode_unicode = ISO-8859-15
  295. ;exif.decode_unicode_motorola = UCS-2BE
  296. ;exif.decode_unicode_intel = UCS-2LE
  297. ;exif.encode_jis =
  298. ;exif.decode_jis_motorola = JIS
  299. ;exif.decode_jis_intel = JIS
  300. [soap]
  301. soap.wsdl_cache_enabled=1
  302. soap.wsdl_cache_dir="/tmp"
  303. soap.wsdl_cache_ttl=86400
  304. soap.wsdl_cache_limit = 5
  305.  
  306. [sysvshm]
  307. ;sysvshm.init_mem = 10000
  308.  
  309. [ldap]
  310. ldap.max_links = -1
  311.  
  312. [mcrypt]
  313. ;mcrypt.algorithms_dir=
  314. ;mcrypt.modes_dir=
Advertisement
Add Comment
Please, Sign In to add comment