branch Attitude Adjustment packages
[12.09/packages.git] / lang / php5 / files / php.ini
1 [PHP]
2
3 zend.ze1_compatibility_mode = Off
4
5 ; Language Options
6
7 engine = On
8 ;short_open_tag = Off
9 precision    =  12
10 y2k_compliance = On
11 output_buffering = Off
12 ;output_handler =
13 zlib.output_compression = Off
14 ;zlib.output_compression_level = -1
15 ;zlib.output_handler =
16 implicit_flush = Off
17 unserialize_callback_func =
18 serialize_precision = 100
19
20 ;open_basedir =
21 disable_functions =
22 disable_classes =
23
24 ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
25 ; <span style="color: ???????"> would work.
26 ;highlight.string  = #DD0000
27 ;highlight.comment = #FF9900
28 ;highlight.keyword = #007700
29 ;highlight.bg      = #FFFFFF
30 ;highlight.default = #0000BB
31 ;highlight.html    = #000000
32
33 ;ignore_user_abort = On
34 ;realpath_cache_size = 16k
35 ;realpath_cache_ttl = 120
36
37 ; Miscellaneous
38
39 expose_php = On
40
41 ; Resource Limits
42
43 max_execution_time = 30 ; Maximum execution time of each script, in seconds.
44 max_input_time = 60     ; Maximum amount of time each script may spend parsing request data.
45 ;max_input_nesting_level = 64
46 memory_limit = 8M       ; Maximum amount of memory a script may consume.
47
48 ; Error handling and logging
49
50 ; Error Level Constants:
51 ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 6.0.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 & ~E_NOTICE  (Show all errors, except for notices and coding standards warnings.)
78 ;   E_ALL & ~E_NOTICE | E_STRICT  (Show all errors, except for notices)
79 ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
80 ;   E_ALL | E_STRICT  (Show all errors, warnings and notices including coding standards.)
81 ; Default Value: E_ALL & ~E_NOTICE
82 error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT
83
84 display_errors = On
85 display_startup_errors = Off
86 log_errors = Off
87 log_errors_max_len = 1024
88 ignore_repeated_errors = Off
89 ignore_repeated_source = Off
90 report_memleaks = On
91 ;report_zend_debug = 0
92 track_errors = Off
93 ;html_errors = Off
94 ;docref_root = "/phpmanual/"
95 ;docref_ext = .html
96 ;error_prepend_string = "<font color=#ff0000>"
97 ;error_append_string = "</font>"
98 ; Log errors to specified file.
99 ;error_log = /var/log/php_errors.log
100 ; Log errors to syslog.
101 ;error_log = syslog
102
103 ; Data Handling
104
105 ;arg_separator.output = "&amp;"
106 ;arg_separator.input = ";&"
107 variables_order = "EGPCS"
108 request_order = "GP"
109 register_globals = Off
110 register_long_arrays = Off
111 register_argc_argv = On
112 auto_globals_jit = On
113 post_max_size = 8M
114 ;magic_quotes_gpc = Off
115 magic_quotes_runtime = Off
116 magic_quotes_sybase = Off
117 auto_prepend_file =
118 auto_append_file =
119 default_mimetype = "text/html"
120 ;default_charset = "iso-8859-1"
121 ;always_populate_raw_post_data = On
122
123 ; Paths and Directories
124
125 ; UNIX: "/path1:/path2"
126 ;include_path = ".:/php/includes"
127 doc_root = "/www"
128 user_dir =
129 extension_dir = "/usr/lib/php"
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 = 2M
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
154
155 ; Dynamic Extensions
156
157 ;extension=ctype.so
158 ;extension=curl.so
159 ;extension=dom.so
160 ;extension=exif.so
161 ;extension=ftp.so
162 ;extension=gd.so
163 ;extension=gmp.so
164 ;extension=hash.so
165 ;extension=iconv.so
166 ;extension=json.so
167 ;extension=ldap.so
168 ;extension=mbstring.so
169 ;extension=mcrypt.so
170 ;extension=mysql.so
171 ;extension=openssl.so
172 ;extension=pcre.so
173 ;extension=pdo.so
174 ;extension=pdo-mysql.so
175 ;extension=pdo-pgsql.so
176 ;extension=pdo_sqlite.so
177 ;extension=pgsql.so
178 ;extension=session.so
179 ;extension=soap.so
180 ;extension=sockets.so
181 ;extension=sqlite.so
182 ;extension=sqlite3.so
183 ;extension=tokenizer.so
184 ;extension=xml.so
185 ;extension=xmlreader.so
186 ;extension=xmlwriter.so
187
188 ; Module Settings
189
190 [APC]
191 apc.enabled = 1
192 apc.shm_segments = 1    ;The number of shared memory segments to allocate for the compiler cache.
193 apc.shm_size = 4M       ;The size of each shared memory segment.
194
195 [Date]
196 ;date.timezone =
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 [sqlite]
212 ;sqlite.assoc_case = 0
213
214 [sqlite3]
215 ;sqlite3.extension_dir =
216
217 [Pdo_mysql]
218 pdo_mysql.cache_size = 2000
219 pdo_mysql.default_socket=
220
221 [MySQL]
222 mysql.allow_local_infile = On
223 mysql.allow_persistent = On
224 mysql.cache_size = 2000
225 mysql.max_persistent = -1
226 mysql.max_links = -1
227 mysql.default_port =
228 mysql.default_socket =
229 mysql.default_host =
230 mysql.default_user =
231 mysql.default_password =
232 mysql.connect_timeout = 60
233 mysql.trace_mode = Off
234
235 [PostgresSQL]
236 pgsql.allow_persistent = On
237 pgsql.auto_reset_persistent = Off
238 pgsql.max_persistent = -1
239 pgsql.max_links = -1
240 pgsql.ignore_notice = 0
241 pgsql.log_notice = 0
242
243 [Session]
244 session.save_handler = files
245 session.save_path = "/tmp"
246 session.use_cookies = 1
247 ;session.cookie_secure =
248 session.use_only_cookies = 1
249 session.name = PHPSESSID
250 session.auto_start = 0
251 session.cookie_lifetime = 0
252 session.cookie_path = /
253 session.cookie_domain =
254 session.cookie_httponly =
255 session.serialize_handler = php
256 session.gc_probability = 1
257 session.gc_divisor     = 100
258 session.gc_maxlifetime = 1440
259 session.bug_compat_42 = On
260 session.bug_compat_warn = On
261 session.referer_check =
262 session.entropy_length = 0
263 ;session.entropy_file = /dev/urandom
264 session.entropy_file =
265 ;session.entropy_length = 16
266 session.cache_limiter = nocache
267 session.cache_expire = 180
268 session.use_trans_sid = 0
269 session.hash_function = 0
270 session.hash_bits_per_character = 4
271 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
272
273 [mbstring]
274 ;mbstring.language = Japanese
275 ;mbstring.internal_encoding = EUC-JP
276 ;mbstring.http_input = auto
277 ;mbstring.http_output = SJIS
278 ;mbstring.encoding_translation = Off
279 ;mbstring.detect_order = auto
280 ;mbstring.substitute_character = none;
281 ;mbstring.func_overload = 0
282 ;mbstring.strict_detection = Off
283 ;mbstring.http_output_conv_mimetype=
284 ;mbstring.script_encoding=
285
286 [gd]
287 ;gd.jpeg_ignore_warning = 0
288
289 [exif]
290 ;exif.encode_unicode = ISO-8859-15
291 ;exif.decode_unicode_motorola = UCS-2BE
292 ;exif.decode_unicode_intel    = UCS-2LE
293 ;exif.encode_jis =
294 ;exif.decode_jis_motorola = JIS
295 ;exif.decode_jis_intel    = JIS
296
297 [soap]
298 soap.wsdl_cache_enabled=1
299 soap.wsdl_cache_dir="/tmp"
300 soap.wsdl_cache_ttl=86400
301 soap.wsdl_cache_limit = 5
302
303 [sysvshm]
304 ;sysvshm.init_mem = 10000
305
306 [ldap]
307 ldap.max_links = -1
308
309 [mcrypt]
310 ;mcrypt.algorithms_dir=
311 ;mcrypt.modes_dir=