b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | [PHP] |
| 2 | |
| 3 | ;;;;;;;;;;;;;;;;;;;; |
| 4 | ; Language Options ; |
| 5 | ;;;;;;;;;;;;;;;;;;;; |
| 6 | |
| 7 | engine = On |
| 8 | ;short_open_tag = Off |
| 9 | precision = 12 |
| 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 | ;unserialize_max_depth = 4096 |
| 18 | serialize_precision = 100 |
| 19 | ;open_basedir = |
| 20 | disable_functions = |
| 21 | disable_classes = |
| 22 | ;highlight.string = #DD0000 |
| 23 | ;highlight.comment = #FF9900 |
| 24 | ;highlight.keyword = #007700 |
| 25 | ;highlight.bg = #FFFFFF |
| 26 | ;highlight.default = #0000BB |
| 27 | ;highlight.html = #000000 |
| 28 | ;ignore_user_abort = On |
| 29 | ;realpath_cache_size = 16k |
| 30 | ;realpath_cache_ttl = 120 |
| 31 | ;zend.enable_gc = On |
| 32 | ;zend.multibyte = Off |
| 33 | ;zend.script_encoding = |
| 34 | ;zend.exception_ignore_args = On |
| 35 | |
| 36 | ;;;;;;;;;;;;;;;;; |
| 37 | ; Miscellaneous ; |
| 38 | ;;;;;;;;;;;;;;;;; |
| 39 | |
| 40 | expose_php = On |
| 41 | |
| 42 | ;;;;;;;;;;;;;;;;;;; |
| 43 | ; Resource Limits ; |
| 44 | ;;;;;;;;;;;;;;;;;;; |
| 45 | |
| 46 | max_execution_time = 30 |
| 47 | max_input_time = 60 |
| 48 | ;max_input_nesting_level = 64 |
| 49 | ;max_input_vars = 1000 |
| 50 | memory_limit = 8M |
| 51 | |
| 52 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 53 | ; Error handling and logging ; |
| 54 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 55 | |
| 56 | error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT |
| 57 | display_errors = On |
| 58 | display_startup_errors = Off |
| 59 | log_errors = Off |
| 60 | log_errors_max_len = 1024 |
| 61 | ignore_repeated_errors = Off |
| 62 | ignore_repeated_source = Off |
| 63 | report_memleaks = On |
| 64 | ;report_zend_debug = 0 |
| 65 | track_errors = Off |
| 66 | ;html_errors = Off |
| 67 | ;docref_root = "/phpmanual/" |
| 68 | ;docref_ext = .html |
| 69 | ;error_prepend_string = "<span style='color: #ff0000'>" |
| 70 | ;error_append_string = "</span>" |
| 71 | ;error_log = syslog |
| 72 | ;syslog.ident = php |
| 73 | ;syslog.facility = user |
| 74 | ;syslog.filter = ascii |
| 75 | |
| 76 | ;;;;;;;;;;;;;;;;; |
| 77 | ; Data Handling ; |
| 78 | ;;;;;;;;;;;;;;;;; |
| 79 | |
| 80 | ;arg_separator.output = "&" |
| 81 | ;arg_separator.input = ";&" |
| 82 | variables_order = "EGPCS" |
| 83 | request_order = "GP" |
| 84 | register_argc_argv = On |
| 85 | auto_globals_jit = On |
| 86 | ;enable_post_data_reading = Off |
| 87 | post_max_size = 8M |
| 88 | auto_prepend_file = |
| 89 | auto_append_file = |
| 90 | default_mimetype = "text/html" |
| 91 | ;default_charset = "UTF-8" |
| 92 | ;internal_encoding = |
| 93 | ;input_encoding = |
| 94 | ;output_encoding = |
| 95 | |
| 96 | ;;;;;;;;;;;;;;;;;;;;;;;;; |
| 97 | ; Paths and Directories ; |
| 98 | ;;;;;;;;;;;;;;;;;;;;;;;;; |
| 99 | |
| 100 | ;include_path = ".:/php/includes" |
| 101 | doc_root = "/www" |
| 102 | user_dir = |
| 103 | extension_dir = "/usr/lib/php" |
| 104 | ;sys_temp_dir = "/tmp" |
| 105 | enable_dl = On |
| 106 | ;cgi.force_redirect = 1 |
| 107 | ;cgi.nph = 1 |
| 108 | ;cgi.redirect_status_env = |
| 109 | cgi.fix_pathinfo = 1 |
| 110 | ;cgi.discard_path = 1 |
| 111 | ;fastcgi.impersonate = 1 |
| 112 | ;fastcgi.logging = 0 |
| 113 | ;cgi.rfc2616_headers = 0 |
| 114 | ;cgi.check_shebang_line = 1 |
| 115 | |
| 116 | ;;;;;;;;;;;;;;;; |
| 117 | ; File Uploads ; |
| 118 | ;;;;;;;;;;;;;;;; |
| 119 | |
| 120 | file_uploads = On |
| 121 | upload_tmp_dir = "/tmp" |
| 122 | upload_max_filesize = 2M |
| 123 | max_file_uploads = 20 |
| 124 | |
| 125 | ;;;;;;;;;;;;;;;;;; |
| 126 | ; Fopen wrappers ; |
| 127 | ;;;;;;;;;;;;;;;;;; |
| 128 | |
| 129 | allow_url_fopen = On |
| 130 | allow_url_include = Off |
| 131 | ;from = "john@doe.com" |
| 132 | ;user_agent = "PHP" |
| 133 | default_socket_timeout = 60 |
| 134 | ;auto_detect_line_endings = Off |