Advertisement
Guest User

Openwrt

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