1 ; example INI file for pecl/http
5 ; enable if you want to transform all errors to exceptions (PHP >= 5 only)
6 ;http.only_exceptions = 1
8 ; disable if you don't want php to exit in case of redirects and cache hits;
9 ; a "NULL" output handler will be started instead, which discards all output
12 ; disable if you don't want 404 Not found status messages being sent,
13 ; if a file attempted to be sent with http_send_file() etc. cannot be found
14 ;http.send.not_found_404 = 0
16 ; the hashing algorithm with wich ETags are generated (MD5, SHA1, CRC32B);
17 ; if ext/hash is available, this can be set to any hash algorithm ext/hash supports
18 ; MD5 is the default and fallback algorithm
19 ;http.etag.mode = "MD5"
21 ; allowed request methods
22 ; by default PHP ignores unkown request methods
23 ; PHP will exit with a response status of 405 and an Allow header
24 ; if it encounters a request method not contained in the specified list
25 ;http.request.methods.allowed = "HEAD, GET, POST"
27 ; custom request methods
28 ;http.request.methods.custom = "KICK, BANN"
30 ; log file for positive cache hits
33 ; log file for redirects
36 ; log file for responses with http_send_file() etc. where the file's not been found
39 ; log file for requests with an unallowed request method
40 ;http.log.allowed_methods =
42 ; composite log file (i.e. log all messages to this file)
45 ; automatically deflate content if requested/supported by client
46 ;http.send.deflate.start_auto = 1
47 ;http.send.deflate.start_flags = HTTP_DEFLATE_LEVEL_DEF
49 ; automatically inflate sent content
50 ;http.send.inflate.start_auto = 0
51 ;http.send.inflate.start_flags =
53 ; global HttpRequestDataShare settings
54 ;http.request.datashare.cookie = 0
55 ;http.request.datashare.dns = 1
57 ; limit of idle persistent handles per provider
58 ;http.persistent.handles.limit = -1
60 ; default ident of persistent handles
61 ;http.persistent.handles.ident = "GLOBAL"