source: packages/lang/php5/files/php.ini @ 19306

Last change on this file since 19306 was 19306, checked in by jow, 7 years ago

[packages] php5 (#6559)

  • sync with upstream php.ini
  • EXIF extension moved out of core
  • enable more extensions
  • optional linking against libxml2
  • Property svn:eol-style set to native
File size: 8.0 KB
Line 
1[PHP]
2
3zend.ze1_compatibility_mode = Off
4
5; Language Options
6
7engine = On
8;short_open_tag = Off
9precision    =  12
10y2k_compliance = On
11output_buffering = Off
12;output_handler =
13zlib.output_compression = Off
14;zlib.output_compression_level = -1
15;zlib.output_handler =
16implicit_flush = Off
17unserialize_callback_func =
18serialize_precision = 100
19allow_call_time_pass_reference = On
20
21safe_mode = Off
22safe_mode_gid = Off
23safe_mode_include_dir =
24safe_mode_exec_dir =
25safe_mode_allowed_env_vars = PHP_
26safe_mode_protected_env_vars = LD_LIBRARY_PATH
27;open_basedir =
28disable_functions =
29disable_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
46expose_php = On
47
48; Resource Limits
49
50max_execution_time = 30 ; Maximum execution time of each script, in seconds.
51max_input_time = 60     ; Maximum amount of time each script may spend parsing request data.
52;max_input_nesting_level = 64
53memory_limit = 8M       ; 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
89error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT
90
91display_errors = On
92display_startup_errors = Off
93log_errors = Off
94log_errors_max_len = 1024
95ignore_repeated_errors = Off
96ignore_repeated_source = Off
97report_memleaks = On
98;report_zend_debug = 0
99track_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 = /var/log/php_errors.log
107; Log errors to syslog.
108;error_log = syslog
109
110; Data Handling
111
112;arg_separator.output = "&amp;"
113;arg_separator.input = ";&"
114variables_order = "EGPCS"
115request_order = "GP"
116register_globals = Off
117register_long_arrays = Off
118register_argc_argv = On
119auto_globals_jit = On
120post_max_size = 8M
121;magic_quotes_gpc = Off
122magic_quotes_runtime = Off
123magic_quotes_sybase = Off
124auto_prepend_file =
125auto_append_file =
126default_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"
134doc_root = "/www"
135user_dir =
136extension_dir = "/usr/lib/php"
137enable_dl = On
138;cgi.force_redirect = 1
139;cgi.nph = 1
140;cgi.redirect_status_env = ;
141cgi.fix_pathinfo=1
142;fastcgi.impersonate = 1;
143;fastcgi.logging = 0
144;cgi.rfc2616_headers = 0
145
146; File Uploads
147
148file_uploads = On
149upload_tmp_dir = "/tmp"
150upload_max_filesize = 2M
151max_file_uploads = 20
152
153; Fopen wrappers
154
155allow_url_fopen = On
156allow_url_include = Off
157;from="john@doe.com"
158;user_agent="PHP"
159default_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]
198apc.enabled = 1
199apc.shm_segments = 1    ;The number of shared memory segments to allocate for the compiler cache.
200apc.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]
225pdo_mysql.cache_size = 2000
226pdo_mysql.default_socket=
227
228[MySQL]
229mysql.allow_local_infile = On
230mysql.allow_persistent = On
231mysql.cache_size = 2000
232mysql.max_persistent = -1
233mysql.max_links = -1
234mysql.default_port =
235mysql.default_socket =
236mysql.default_host =
237mysql.default_user =
238mysql.default_password =
239mysql.connect_timeout = 60
240mysql.trace_mode = Off
241
242[PostgresSQL]
243pgsql.allow_persistent = On
244pgsql.auto_reset_persistent = Off
245pgsql.max_persistent = -1
246pgsql.max_links = -1
247pgsql.ignore_notice = 0
248pgsql.log_notice = 0
249
250[Session]
251session.save_handler = files
252session.save_path = "/tmp"
253session.use_cookies = 1
254;session.cookie_secure =
255session.use_only_cookies = 1
256session.name = PHPSESSID
257session.auto_start = 0
258session.cookie_lifetime = 0
259session.cookie_path = /
260session.cookie_domain =
261session.cookie_httponly =
262session.serialize_handler = php
263session.gc_probability = 1
264session.gc_divisor     = 100
265session.gc_maxlifetime = 1440
266session.bug_compat_42 = On
267session.bug_compat_warn = On
268session.referer_check =
269session.entropy_length = 0
270;session.entropy_file = /dev/urandom
271session.entropy_file =
272;session.entropy_length = 16
273session.cache_limiter = nocache
274session.cache_expire = 180
275session.use_trans_sid = 0
276session.hash_function = 0
277session.hash_bits_per_character = 4
278url_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]
305soap.wsdl_cache_enabled=1
306soap.wsdl_cache_dir="/tmp"
307soap.wsdl_cache_ttl=86400
308soap.wsdl_cache_limit = 5
309
310[sysvshm]
311;sysvshm.init_mem = 10000
312
313[ldap]
314ldap.max_links = -1
315
316[mcrypt]
317;mcrypt.algorithms_dir=
318;mcrypt.modes_dir=
Note: See TracBrowser for help on using the repository browser.