Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.96 KB | None | 0 0
  1. [PHP]
  2. ;user_ini.filename = ".user.ini"
  3. ;user_ini.filename =
  4. ;user_ini.cache_ttl = 300
  5.  
  6. engine = On
  7. short_open_tag = On
  8. precision = 14
  9. output_buffering = off
  10. ;output_handler =
  11. zlib.output_compression = Off
  12. ;zlib.output_compression_level = -1
  13. ;zlib.output_handler =
  14. implicit_flush = Off
  15. unserialize_callback_func =
  16. serialize_precision = -1
  17.  
  18. ; --------------------------------------------
  19. ; Установка защиты от внешнего доступа
  20. ; См. Руководство Пользователя: Защита сервера
  21. ; --------------------------------------------
  22. %disallow%open_basedir = "%ssitedir%;%sprogdir%/userdata/temp;%sprogdir%/modules/system/html/openserver;%sprogdir%/modules/php/%phpdriver%"
  23. %disallow%disable_functions = exec,system,shell_exec,passthru,popen,pclose,dl,apache_note,apache_setenv,define_syslog_variables,pcntl_exec,syslog,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,apache_child_terminate,posix_getpwuid
  24. ; --------------------------------------------
  25.  
  26. disable_classes =
  27. ;highlight.string = #DD0000
  28. ;highlight.comment = #FF9900
  29. ;highlight.keyword = #007700
  30. ;highlight.default = #0000BB
  31. ;highlight.html = #000000
  32.  
  33. ignore_user_abort = Off
  34. realpath_cache_size=2048k
  35. realpath_cache_ttl=600
  36. zend.enable_gc = On
  37. ;zend.multibyte = Off
  38. ;zend.script_encoding =
  39.  
  40. expose_php = Off
  41. max_execution_time = 180
  42. max_input_time = 180
  43. ;max_input_nesting_level = 64
  44. ; max_input_vars = 1000
  45. memory_limit = 1536M
  46.  
  47. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  48. ; Error handling and logging ;
  49. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  50.  
  51. ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.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 (Show all errors, warnings and notices including coding standards.)
  78. ; E_ALL & ~E_NOTICE (Show all errors, except for notices)
  79. ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
  80. ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
  81. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
  82. ; Development Value: E_ALL
  83. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
  84. ; http://php.net/error-reporting
  85. error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT
  86. display_errors = On
  87. display_startup_errors = On
  88. log_errors = On
  89.  
  90. log_errors_max_len = 1024
  91. ignore_repeated_errors = Off
  92. ignore_repeated_source = Off
  93. report_memleaks = Off
  94. ;report_zend_debug = 0
  95. track_errors = On
  96. ;xmlrpc_errors = 0
  97. ;xmlrpc_error_number = 0
  98. html_errors = On
  99. ;docref_root = "/phpmanual/"
  100. ;docref_ext = .html
  101. ;error_prepend_string = "<span style='color: #ff0000'>"
  102. ;error_append_string = "</span>"
  103. error_log = "%sprogdir%/userdata/logs/%phpdriver%_error.log"
  104. ;windows.show_crt_warning
  105.  
  106. ;arg_separator.output = "&amp;"
  107. ;arg_separator.input = ";&"
  108. variables_order = "GPCS"
  109. request_order = "GP"
  110. register_argc_argv = On
  111. auto_globals_jit = On
  112. ;enable_post_data_reading = Off
  113. auto_prepend_file =
  114. auto_append_file =
  115. default_mimetype = "text/html"
  116. ;default_charset = "UTF-8"
  117.  
  118. include_path = ".;%sprogdir%/modules/php/%phpdriver%;%sprogdir%/modules/php/%phpdriver%/PEAR/pear"
  119. doc_root =
  120. user_dir =
  121. extension_dir = "%sprogdir%/modules/php/%phpdriver%/ext/"
  122. enable_dl = Off
  123.  
  124. cgi.force_redirect = 0
  125. cgi.fix_pathinfo=0
  126. fastcgi.impersonate = 0
  127. fastcgi.logging = 0
  128. cgi.nph = 0
  129. cgi.rfc2616_headers = 0
  130.  
  131. file_uploads = On
  132. upload_tmp_dir = "%sprogdir%/userdata/temp/"
  133. upload_max_filesize = 500M
  134. post_max_size = 500M
  135. max_file_uploads = 20
  136.  
  137. allow_url_fopen = On
  138. allow_url_include = Off
  139. ;from="john@doe.com"
  140. ;user_agent="PHP"
  141. default_socket_timeout = 60
  142. ;auto_detect_line_endings = Off
  143.  
  144. extension=php_mbstring.dll
  145. extension=php_bz2.dll
  146. ;extension=php_com_dotnet.dll
  147. extension=php_curl.dll
  148. ;extension=php_enchant.dll
  149. extension=php_exif.dll
  150. extension=php_fileinfo.dll
  151. extension=php_ftp.dll
  152. extension=php_gd2.dll
  153. extension=php_gettext.dll
  154. ;extension=php_gmp.dll
  155. extension=php_igbinary.dll
  156. extension=php_imap.dll
  157. ;extension=php_interbase.dll
  158. ;extension=php_intl.dll
  159. ;extension=php_ldap.dll
  160. extension=php_mongodb.dll
  161. extension=php_mysqli.dll
  162. ;extension=php_oci8_12c.dll
  163. extension=php_odbc.dll
  164. extension=php_openssl.dll
  165. extension=php_pdflib.dll
  166. ;extension=php_pdo_firebird.dll
  167. extension=php_pdo_mysql.dll
  168. ;extension=php_pdo_oci.dll
  169. ;extension=php_pdo_odbc.dll
  170. extension=php_pdo_pgsql.dll
  171. extension=php_pdo_sqlite.dll
  172. ;extension=php_pgsql.dll
  173. ;extension=php_phalcon.dll
  174. ;extension=php_phpdbg_webhelper.dll
  175. extension=php_redis.dll
  176. ;extension=php_shmop.dll
  177. ; The MIBS data available in the PHP distribution must be installed.
  178. ; See http://www.php.net/manual/en/snmp.installation.php
  179. ;extension=php_snmp.dll
  180. extension=php_soap.dll
  181. extension=php_sockets.dll
  182. extension=php_sqlite3.dll
  183. ;extension=php_sysvshm.dll
  184. ;extension=php_tidy.dll
  185. extension=php_timezonedb.dll
  186. extension=php_xmlrpc.dll
  187. extension=php_xsl.dll
  188.  
  189. [CLI Server]
  190. cli_server.color = On
  191.  
  192. [curl]
  193. curl.cainfo = "%sprogdir%/modules/php/%phpdriver%/cacert.pem"
  194.  
  195. [Date]
  196. date.timezone = "Europe/Moscow"
  197. ;date.default_latitude = 31.7667
  198. ;date.default_longitude = 35.2333
  199. ;date.sunrise_zenith = 90.583333
  200. ;date.sunset_zenith = 90.583333
  201.  
  202. [filter]
  203. ;filter.default = unsafe_raw
  204. ;filter.default_flags =
  205.  
  206. [iconv]
  207. ;iconv.input_encoding = ISO-8859-1
  208. ;iconv.internal_encoding = ISO-8859-1
  209. ;iconv.output_encoding = ISO-8859-1
  210.  
  211. [intl]
  212. ;intl.default_locale =
  213. ;intl.error_level = E_WARNING
  214.  
  215. [sqlite]
  216. ;sqlite.assoc_case = 0
  217.  
  218. [sqlite3]
  219. ;sqlite3.extension_dir =
  220.  
  221. [Pcre]
  222. ;pcre.backtrack_limit=100000
  223. ;pcre.recursion_limit=100000
  224. ;Enables or disables JIT compilation of patterns. This requires the PCRE
  225. ;library to be compiled with JIT support.
  226. ;pcre.jit=1
  227.  
  228. [Pdo]
  229. ;pdo_odbc.connection_pooling=strict
  230. ;pdo_odbc.db2_instance_name
  231.  
  232. [Pdo_mysql]
  233. pdo_mysql.cache_size = 2000
  234. pdo_mysql.default_socket=
  235.  
  236. [Phar]
  237. ;phar.readonly = On
  238. ;phar.require_hash = On
  239. ;phar.cache_list =
  240.  
  241. [mail function]
  242. ;SMTP = localhost
  243. ;smtp_port = 25
  244. ;sendmail_from = me@example.com
  245. sendmail_path = "%mailway%"
  246. ;mail.force_extra_parameters =
  247. mail.add_x_header = On
  248. ;mail.log =
  249.  
  250. [SQL]
  251. sql.safe_mode = Off
  252.  
  253. [ODBC]
  254. ;odbc.default_db = Not yet implemented
  255. ;odbc.default_user = Not yet implemented
  256. ;odbc.default_pw = Not yet implemented
  257. ;odbc.default_cursortype
  258. odbc.allow_persistent = On
  259. odbc.check_persistent = On
  260. odbc.max_persistent = -1
  261. odbc.max_links = -1
  262. odbc.defaultlrl = 4096
  263. odbc.defaultbinmode = 1
  264. ;birdstep.max_links = -1
  265.  
  266. [Interbase]
  267. ibase.allow_persistent = 1
  268. ibase.max_persistent = -1
  269. ibase.max_links = -1
  270. ;ibase.default_db =
  271. ;ibase.default_user =
  272. ;ibase.default_password =
  273. ;ibase.default_charset =
  274. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
  275. ibase.dateformat = "%Y-%m-%d"
  276. ibase.timeformat = "%H:%M:%S"
  277.  
  278. [MySQLi]
  279. mysqli.max_persistent = -1
  280. ;mysqli.allow_local_infile = On
  281. mysqli.allow_persistent = On
  282. mysqli.max_links = -1
  283. mysqli.cache_size = 2000
  284. mysqli.default_port = %mysqlport%
  285. mysqli.default_socket =
  286. mysqli.default_host =
  287. mysqli.default_user =
  288. mysqli.default_pw =
  289. mysqli.reconnect = Off
  290.  
  291. [mysqlnd]
  292. mysqlnd.collect_statistics = On
  293. mysqlnd.collect_memory_statistics = On
  294. ;mysqlnd.net_cmd_buffer_size = 2048
  295. ;mysqlnd.net_read_buffer_size = 32768
  296.  
  297. [OCI8]
  298. ;oci8.privileged_connect = Off
  299. ;oci8.max_persistent = -1
  300. ;oci8.persistent_timeout = -1
  301. ;oci8.ping_interval = 60
  302. ;oci8.connection_class =
  303. ;oci8.events = Off
  304. ;oci8.statement_cache_size = 20
  305. ;oci8.default_prefetch = 100
  306. ;oci8.old_oci_close_semantics = Off
  307.  
  308. [PostgreSQL]
  309. pgsql.allow_persistent = On
  310. pgsql.auto_reset_persistent = Off
  311. pgsql.max_persistent = -1
  312. pgsql.max_links = -1
  313. pgsql.ignore_notice = 0
  314. pgsql.log_notice = 0
  315.  
  316. [bcmath]
  317. bcmath.scale = 0
  318.  
  319. [browscap]
  320. ;browscap = "%sprogdir%/modules/php/%phpdriver%/browscap.ini"
  321.  
  322. [Session]
  323. session.save_handler = files
  324. session.save_path = "%sprogdir%/userdata/temp/"
  325. session.use_cookies = 1
  326. ;session.cookie_secure =
  327. session.use_only_cookies = 1
  328. session.name = PHPSESSID
  329. session.auto_start = 0
  330. session.cookie_lifetime = 0
  331. session.cookie_path = /
  332. session.cookie_domain =
  333. session.cookie_httponly =
  334. session.serialize_handler = php
  335. session.gc_probability = 1
  336. session.gc_divisor = 1000
  337. session.gc_maxlifetime = 1440
  338. session.bug_compat_42 = On
  339. session.bug_compat_warn = On
  340. session.referer_check =
  341. session.cache_limiter = nocache
  342. session.cache_expire = 180
  343. session.use_trans_sid = 0
  344. session.trans_sid_tags = "a=href,area=href,frame=src,form="
  345. ;session.trans_sid_hosts=""
  346. session.sid_length = 32
  347. session.sid_bits_per_character = 5
  348. ;session.upload_progress.enabled = On
  349. ;session.upload_progress.cleanup = On
  350. ;session.upload_progress.prefix = "upload_progress_"
  351. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
  352. ;session.upload_progress.freq = "1%"
  353. ;session.upload_progress.min_freq = "1"
  354. ; Only write session data when session data is changed. Enabled by default.
  355. ; http://php.net/session.lazy-write
  356. ;session.lazy_write = On
  357.  
  358. [Assertion]
  359. ; Switch whether to compile assertions at all (to have no overhead at run-time)
  360. ; -1: Do not compile at all
  361. ; 0: Jump over assertion at run-time
  362. ; 1: Execute assertions
  363. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
  364. ; Default Value: 1
  365. ; Development Value: 1
  366. ; Production Value: -1
  367. ; http://php.net/zend.assertions
  368. zend.assertions = -1
  369. ;assert.active = On
  370. ; Throw an AssertationException on failed assertions
  371. ; http://php.net/assert.exception
  372. ;assert.exception = On
  373. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
  374. ; http://php.net/assert.warning
  375. ;assert.warning = On
  376. ;assert.bail = Off
  377. ;assert.callback = 0
  378. ;assert.quiet_eval = 0
  379.  
  380. [COM]
  381. ;com.typelib_file =
  382. ;com.allow_dcom = true
  383. ;com.autoregister_typelib = true
  384. ;com.autoregister_casesensitive = false
  385. ;com.autoregister_verbose = true
  386. ;com.code_page=
  387.  
  388. [mbstring]
  389. ;mbstring.language = Japanese
  390. ;mbstring.internal_encoding = EUC-JP
  391. ;mbstring.http_input = auto
  392. ;mbstring.http_output = SJIS
  393. ;mbstring.encoding_translation = Off
  394. ;mbstring.detect_order = auto
  395. ;mbstring.substitute_character = none;
  396. ;mbstring.func_overload = 0
  397. ;mbstring.strict_detection = Off
  398. ;mbstring.http_output_conv_mimetype=
  399.  
  400. [gd]
  401. gd.jpeg_ignore_warning = 1
  402.  
  403. [exif]
  404. ;exif.encode_unicode = ISO-8859-15
  405. ;exif.decode_unicode_motorola = UCS-2BE
  406. ;exif.decode_unicode_intel = UCS-2LE
  407. ;exif.encode_jis =
  408. ;exif.decode_jis_motorola = JIS
  409. ;exif.decode_jis_intel = JIS
  410.  
  411. [Tidy]
  412. ;tidy.default_config = /usr/local/lib/php/default.tcfg
  413. tidy.clean_output = Off
  414.  
  415. [soap]
  416. soap.wsdl_cache_enabled=1
  417. soap.wsdl_cache_dir="%sprogdir%/userdata/temp"
  418. soap.wsdl_cache_ttl=86400
  419. soap.wsdl_cache_limit = 5
  420.  
  421. [sysvshm]
  422. ;sysvshm.init_mem = 10000
  423.  
  424. [ldap]
  425. ldap.max_links = -1
  426.  
  427. [mcrypt]
  428. ;mcrypt.algorithms_dir=
  429. ;mcrypt.modes_dir=
  430.  
  431. [dba]
  432. ;dba.default_handler=
  433.  
  434. [openssl]
  435. openssl.cafile="%sprogdir%/modules/php/%phpdriver%/cacert.pem"
  436. ;openssl.capath=
  437.  
  438. [Ioncube Loader]
  439. ;zend_extension="%sprogdir%/modules/php/%phpdriver%/ext/php_ioncube.dll"
  440.  
  441. [opcache]
  442. ; Внимание! Данное расширение не работает под Windows.
  443. ; Возможно падение сервера в процессе работы или отказ запуска!
  444. ;zend_extension="%sprogdir%/modules/php/%phpdriver%/ext/php_opcache.dll"
  445. ;opcache.enable=1
  446. ;opcache.enable_cli=0
  447. ;opcache.memory_consumption=64
  448. ;opcache.interned_strings_buffer=4
  449. ;opcache.max_accelerated_files=2000
  450. ;opcache.max_wasted_percentage=5
  451. ;opcache.use_cwd=1
  452. ;opcache.validate_timestamps=1
  453. ;opcache.revalidate_freq=2
  454. ;opcache.revalidate_path=0
  455. ;opcache.save_comments=0
  456. ;opcache.load_comments=0
  457. ;opcache.fast_shutdown=1
  458. ;opcache.enable_file_override=0
  459. ;opcache.optimization_level=0xffffffff
  460. ;;opcache.inherited_hack=1
  461. ;;opcache.dups_fix=0
  462. ;;opcache.blacklist_filename=
  463. ;;opcache.max_file_size=0
  464. ;;opcache.consistency_checks=0
  465. ;;opcache.force_restart_timeout=180
  466. ;;opcache.error_log=
  467. ;;opcache.log_verbosity_level=1
  468. ;;opcache.preferred_memory_model=
  469. ;;opcache.protect_memory=1
  470. ;; Allows calling OPcache API functions only from PHP scripts which path is
  471. ;; started from specified string. The default "" means no restriction
  472. ;;opcache.restrict_api=
  473. ;; Mapping base of shared memory segments (for Windows only). All the PHP
  474. ;; processes have to map shared memory into the same address space. This
  475. ;; directive allows to manually fix the "Unable to reattach to base address"
  476. ;; errors.
  477. ;;opcache.mmap_base=
  478. ;; Enables and sets the second level cache directory.
  479. ;; It should improve performance when SHM memory is full, at server restart or
  480. ;; SHM reset. The default "" disables file based caching.
  481. ;;opcache.file_cache=
  482. ;; Enables or disables opcode caching in shared memory.
  483. ;;opcache.file_cache_only=0
  484. ;; Enables or disables checksum validation when script loaded from file cache.
  485. ;;opcache.file_cache_consistency_checks=1
  486. ;; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
  487. ;; This should improve performance, but requires appropriate OS configuration.
  488. ;;opcache.huge_code_pages=1
  489.  
  490. [Xdebug]
  491. ;zend_extension="%sprogdir%/modules/php/%phpdriver%/ext/php_xdebug.dll"
  492. ;xdebug.default_enable = 1
  493. xdebug.auto_trace = 0
  494. xdebug.collect_includes = 1
  495. ;xdebug.collect_params = 4
  496. ;xdebug.collect_return = 1
  497. ;xdebug.collect_assignments = 1
  498. ;xdebug.collect_vars = 1
  499. xdebug.dump.REQUEST = *
  500. xdebug.dump.SESSION = *
  501. xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD
  502. ;xdebug.dump.COOKIE =
  503. ;xdebug.dump.FILES =
  504. ;xdebug.dump.GET =
  505. ;xdebug.dump.POST =
  506. xdebug.dump_globals = 1
  507. xdebug.dump_once = 1
  508. xdebug.dump_undefined = 1
  509. xdebug.extended_info = 1
  510. ;xdebug.file_link_format = ""
  511. ;xdebug.idekey = ""
  512. ;xdebug.manual_url = "http://www.php.net"
  513. xdebug.max_nesting_level = 256
  514. xdebug.overload_var_dump = 1
  515. ;xdebug.profiler_append = 1
  516. xdebug.profiler_enable = 0
  517. xdebug.profiler_enable_trigger = 0
  518. xdebug.profiler_output_dir="%sprogdir%/userdata/temp/xdebug/"
  519. xdebug.profiler_output_name = "cachegrind.out.%H%R"
  520. ;xdebug.remote_autostart = 0
  521. ;xdebug.remote_enable = 1
  522. ;xdebug.remote_handler = "dbgp"
  523. ;xdebug.remote_host = "localhost"
  524. ;xdebug.remote_log = "none"
  525. ;xdebug.remote_mode = "req"
  526. ;xdebug.remote_port = 9000
  527. ;xdebug.scream = 1
  528. ;xdebug.show_exception_trace = 0
  529. ;xdebug.show_local_vars = 1
  530. ;xdebug.show_mem_delta = 1
  531. ;xdebug.trace_format = 1
  532. ;xdebug.trace_options = 1
  533. xdebug.trace_output_dir = "%sprogdir%/userdata/temp/xdebug/"
  534. ;xdebug.trace_output_name = "trace.%H%R"
  535. xdebug.var_display_max_children = 256
  536. ;xdebug.var_display_max_data = 1024
  537. xdebug.var_display_max_depth = 16
  538. ;xdebug.remote_cookie_expire_time = 3600
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement