Advertisement
Guest User

Untitled

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