За последние 24 часа нас посетили 18757 программистов и 1723 робота. Сейчас ищут 1076 программистов ...

Проблема загрузки файлов на сервер

Тема в разделе "PHP для новичков", создана пользователем dr.5y51em, 19 июн 2009.

  1. dr.5y51em

    dr.5y51em Активный пользователь

    С нами с:
    19 июн 2009
    Сообщения:
    8
    Симпатии:
    0
    Столкнулся с проблемой загрузки больших файлов. Если быть точнее, фильмов. Почему не грузит, не понимаю. Скрипт просто сбрасывается через секунд 20, а то и меньше.

    Вот кусочки php.ini
    Код (Text):
    1.  
    2. max_execution_time = 170
    3. max_input_time = 170
    4. memory_limit = 4500M
    5. post_max_size = 4700M
    6. file_uploads = On
    7. upload_max_filesize = 4500M
    Раньше всё работало, потом переустановил сервер и перестало. Кстати, сервер у меня на готовом пакете xampp. Помогите пожалуйста.
    з.ы.
    Только не надо говорить чтоб я грузил файлы через ftp. Мне нужен критично http. Тем более что раньше всё было ок. Подскажите что мог забыть. За ранее спасибо.
     
  2. alexeurodnepr

    alexeurodnepr Активный пользователь

    С нами с:
    18 июл 2008
    Сообщения:
    244
    Симпатии:
    0
    сюда еще загляни особенно первый пункт

    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;

    max_execution_time = 120 ; Maximum execution time of each script, in seconds
    max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
    memory_limit = 16M ; Maximum amount of memory a script may consume (16MB)
     
  3. dr.5y51em

    dr.5y51em Активный пользователь

    С нами с:
    19 июн 2009
    Сообщения:
    8
    Симпатии:
    0
    Я же указал их. Чатайте пожалуйста внимательней. Помогите пожалуйста.
     
  4. dr.5y51em

    dr.5y51em Активный пользователь

    С нами с:
    19 июн 2009
    Сообщения:
    8
    Симпатии:
    0
    Неужели никто не поможет? О_о
     
  5. TheShock

    TheShock Активный пользователь

    С нами с:
    30 май 2009
    Сообщения:
    1.255
    Симпатии:
    0
    Адрес:
    Київ
  6. cloozis

    cloozis Активный пользователь

    С нами с:
    8 окт 2008
    Сообщения:
    75
    Симпатии:
    0
    Адрес:
    Russia
    у меня такаеже проблема ((
     
  7. dr.5y51em

    dr.5y51em Активный пользователь

    С нами с:
    19 июн 2009
    Сообщения:
    8
    Симпатии:
    0
    Спасибо, сейчас по факам попробую. Насчёт upload_tmp_dir, точно не оно, т.к. файлы маленьких размеров загружаются.
     
  8. TheShock

    TheShock Активный пользователь

    С нами с:
    30 май 2009
    Сообщения:
    1.255
    Симпатии:
    0
    Адрес:
    Київ
    ну, например, в tmp_dir недостаточно места?
     
  9. У апача еще есть свой Timeout
     
  10. alexeurodnepr

    alexeurodnepr Активный пользователь

    С нами с:
    18 июл 2008
    Сообщения:
    244
    Симпатии:
    0
    флоппик

    а как называется тот параметр?
     
  11. Ты не поверишь. Он называется Timeout
     
  12. dr.5y51em

    dr.5y51em Активный пользователь

    С нами с:
    19 июн 2009
    Сообщения:
    8
    Симпатии:
    0
    Ничего не помогает. :cry:
     
  13. dr.5y51em

    dr.5y51em Активный пользователь

    С нами с:
    19 июн 2009
    Сообщения:
    8
    Симпатии:
    0
    Люди, помогите, я в отчаянии. Использую xampp вот конфиг
    Код (Text):
    1.  
    2. [PHP];;;;;;;;;;;
    3. ; WARNING ;
    4. ;;;;;;;;;;;
    5. ; This is the default settings file for new PHP installations.
    6. ; By default, PHP installs itself with a configuration suitable for
    7. ; development purposes, and *NOT* for production purposes.
    8. ; For several security-oriented considerations that should be taken
    9. ; before going online with your site, please consult php.ini-recommended
    10. ; and https://php.ru/manual/security.html.
    11.  
    12.  
    13. ;;;;;;;;;;;;;;;;;;;
    14. ; About php.ini   ;
    15. ;;;;;;;;;;;;;;;;;;;
    16. ; This file controls many aspects of PHP's behavior.  In order for PHP to
    17. ; read it, it must be named 'php.ini'.  PHP looks for it in the current
    18. ; working directory, in the path designated by the environment variable
    19. ; PHPRC, and in the path that was defined in compile time (in that order).
    20. ; Under Windows, the compile-time path is the Windows directory.  The
    21. ; path in which the php.ini file is looked for can be overridden using
    22. ; the -c argument in command line mode.
    23. ;
    24. ; The syntax of the file is extremely simple.  Whitespace and Lines
    25. ; beginning with a semicolon are silently ignored (as you probably guessed).
    26. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    27. ; they might mean something in the future.
    28. ;
    29. ; Directives are specified using the following syntax:
    30. ; directive = value
    31. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    32. ;
    33. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    34. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    35. ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
    36. ;
    37. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    38. ; |        bitwise OR
    39. ; &        bitwise AND
    40. ; ~        bitwise NOT
    41. ; !        boolean NOT
    42. ;
    43. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    44. ; They can be turned off using the values 0, Off, False or No.
    45. ;
    46. ; An empty string can be denoted by simply not writing anything after the equal
    47. ; sign, or by using the None keyword:
    48. ;
    49. ;  foo =         ; sets foo to an empty string
    50. ;  foo = none    ; sets foo to an empty string
    51. ;  foo = "none"  ; sets foo to the string 'none'
    52. ;
    53. ; If you use constants in your value, and these constants belong to a
    54. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    55. ; you may only use these constants *after* the line that loads the extension.
    56. ;
    57. ;
    58. ;;;;;;;;;;;;;;;;;;;
    59. ; About this file ;
    60. ;;;;;;;;;;;;;;;;;;;
    61. ; All the values in the php.ini-dist file correspond to the builtin
    62. ; defaults (that is, if no php.ini is used, or if you delete these lines,
    63. ; the builtin defaults will be identical).
    64.  
    65.  
    66. ;;;;;;;;;;;;;;;;;;;;
    67. ; Language Options ;
    68. ;;;;;;;;;;;;;;;;;;;;
    69.  
    70. ; Enable the PHP scripting language engine under Apache.
    71. engine = On
    72.  
    73. ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
    74. zend.ze1_compatibility_mode = Off
    75.  
    76. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
    77. ; NOTE: Using short tags should be avoided when developing applications or
    78. ; libraries that are meant for redistribution, or deployment on PHP
    79. ; servers which are not under your control, because short tags may not
    80. ; be supported on the target server. For portable, redistributable code,
    81. ; be sure not to use short tags.
    82. short_open_tag = On
    83.  
    84. ; Allow ASP-style <% %> tags.
    85. asp_tags = Off
    86.  
    87. ; The number of significant digits displayed in floating point numbers.
    88. precision    =  12
    89.  
    90. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
    91. y2k_compliance = On
    92.  
    93. ; Output buffering allows you to send header lines (including cookies) even
    94. ; after you send body content, at the price of slowing PHP's output layer a
    95. ; bit.  You can enable output buffering during runtime by calling the output
    96. ; buffering functions.  You can also enable output buffering for all files by
    97. ; setting this directive to On.  If you wish to limit the size of the buffer
    98. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
    99. ; a value for this directive (e.g., output_buffering=4096).
    100. output_buffering = Off
    101.  
    102. ; You can redirect all of the output of your scripts to a function.  For
    103. ; example, if you set output_handler to "mb_output_handler", character
    104. ; encoding will be transparently converted to the specified encoding.
    105. ; Setting any output handler automatically turns on output buffering.
    106. ; Note: People who wrote portable scripts should not depend on this ini
    107. ;       directive. Instead, explicitly set the output handler using ob_start().
    108. ;       Using this ini directive may cause problems unless you know what script
    109. ;       is doing.
    110. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    111. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    112. ; Note: output_handler must be empty if this is set 'On' !!!!
    113. ;       Instead you must use zlib.output_handler.
    114. ;output_handler =
    115.  
    116. ; Transparent output compression using the zlib library
    117. ; Valid values for this option are 'off', 'on', or a specific buffer size
    118. ; to be used for compression (default is 4KB)
    119. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    120. ;       outputs chunks that are few hundreds bytes each as a result of
    121. ;       compression. If you prefer a larger chunk size for better
    122. ;       performance, enable output_buffering in addition.
    123. ; Note: You need to use zlib.output_handler instead of the standard
    124. ;       output_handler, or otherwise the output will be corrupted.
    125. zlib.output_compression = Off
    126.  
    127. ; You cannot specify additional output handlers if zlib.output_compression
    128. ; is activated here. This setting does the same as output_handler but in
    129. ; a different order.
    130. ;zlib.output_handler =
    131.  
    132. ; Implicit flush tells PHP to tell the output layer to flush itself
    133. ; automatically after every output block.  This is equivalent to calling the
    134. ; PHP function flush() after each and every call to print() or echo() and each
    135. ; and every HTML block.  Turning this option on has serious performance
    136. ; implications and is generally recommended for debugging purposes only.
    137. implicit_flush = Off
    138.  
    139. ; The unserialize callback function will be called (with the undefined class'
    140. ; name as parameter), if the unserializer finds an undefined class
    141. ; which should be instantiated.
    142. ; A warning appears if the specified function is not defined, or if the
    143. ; function doesn't include/implement the missing class.
    144. ; So only set this entry, if you really want to implement such a
    145. ; callback-function.
    146. unserialize_callback_func=
    147.  
    148. ; When floats & doubles are serialized store serialize_precision significant
    149. ; digits after the floating point. The default value ensures that when floats
    150. ; are decoded with unserialize, the data will remain the same.
    151. serialize_precision = 100
    152.  
    153. ; Whether to enable the ability to force arguments to be passed by reference
    154. ; at function call time.  This method is deprecated and is likely to be
    155. ; unsupported in future versions of PHP/Zend.  The encouraged method of
    156. ; specifying which arguments should be passed by reference is in the function
    157. ; declaration.  You're encouraged to try and turn this option Off and make
    158. ; sure your scripts work properly with it in order to ensure they will work
    159. ; with future versions of the language (you will receive a warning each time
    160. ; you use this feature, and the argument will be passed by value instead of by
    161. ; reference).
    162. allow_call_time_pass_reference = On
    163.  
    164. ;
    165. ; Safe Mode
    166. ;
    167. safe_mode = Off
    168.  
    169. ; By default, Safe Mode does a UID compare check when
    170. ; opening files. If you want to relax this to a GID compare,
    171. ; then turn on safe_mode_gid.
    172. safe_mode_gid = Off
    173.  
    174. ; When safe_mode is on, UID/GID checks are bypassed when
    175. ; including files from this directory and its subdirectories.
    176. ; (directory must also be in include_path or full path must
    177. ; be used when including)
    178. safe_mode_include_dir =
    179.  
    180. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
    181. ; will be allowed to be executed via the exec family of functions.
    182. safe_mode_exec_dir =
    183.  
    184. ; Setting certain environment variables may be a potential security breach.
    185. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
    186. ; the user may only alter environment variables whose names begin with the
    187. ; prefixes supplied here.  By default, users will only be able to set
    188. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
    189. ;
    190. ; Note:  If this directive is empty, PHP will let the user modify ANY
    191. ; environment variable!
    192. safe_mode_allowed_env_vars = PHP_
    193.  
    194. ; This directive contains a comma-delimited list of environment variables that
    195. ; the end user won't be able to change using putenv().  These variables will be
    196. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
    197. safe_mode_protected_env_vars = LD_LIBRARY_PATH
    198.  
    199. ; open_basedir, if set, limits all file operations to the defined directory
    200. ; and below.  This directive makes most sense if used in a per-directory
    201. ; or per-virtualhost web server configuration file. This directive is
    202. ; *NOT* affected by whether Safe Mode is turned On or Off.
    203. ;open_basedir =
    204.  
    205. ; This directive allows you to disable certain functions for security reasons.
    206. ; It receives a comma-delimited list of function names. This directive is
    207. ; *NOT* affected by whether Safe Mode is turned On or Off.
    208. disable_functions =
    209.  
    210. ; This directive allows you to disable certain classes for security reasons.
    211. ; It receives a comma-delimited list of class names. This directive is
    212. ; *NOT* affected by whether Safe Mode is turned On or Off.
    213. disable_classes =
    214.  
    215. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    216. ; <span style="color: ???????"> would work.
    217. ;highlight.string  = #DD0000
    218. ;highlight.comment = #FF9900
    219. ;highlight.keyword = #007700
    220. ;highlight.bg      = #FFFFFF
    221. ;highlight.default = #0000BB
    222. ;highlight.html    = #000000
    223.  
    224. ; If enabled, the request will be allowed to complete even if the user aborts
    225. ; the request. Consider enabling it if executing long request, which may end up
    226. ; being interrupted by the user or a browser timing out.
    227. ; ignore_user_abort = On
    228.  
    229. ;
    230. ; Misc
    231. ;
    232. ; Decides whether PHP may expose the fact that it is installed on the server
    233. ; (e.g. by adding its signature to the Web server header).  It is no security
    234. ; threat in any way, but it makes it possible to determine whether you use PHP
    235. ; on your server or not.
    236. expose_php = On
    237.  
    238.  
    239. ;;;;;;;;;;;;;;;;;;;
    240. ; Resource Limits ;
    241. ;;;;;;;;;;;;;;;;;;;
    242.  
    243. max_execution_time = 320     ; Maximum execution time of each script, in seconds
    244. max_input_time = 320    ; Maximum amount of time each script may spend parsing request data
    245. memory_limit = 5200M      ; Maximum amount of memory a script may consume (16MB)
    246.  
    247.  
    248. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    249. ; Error handling and logging ;
    250. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    251.  
    252. ; error_reporting is a bit-field.  Or each number up to get desired error
    253. ; reporting level
    254. ; E_ALL             - All errors and warnings (doesn't include E_STRICT)
    255. ; E_ERROR           - fatal run-time errors
    256. ; E_WARNING         - run-time warnings (non-fatal errors)
    257. ; E_PARSE           - compile-time parse errors
    258. ; E_NOTICE          - run-time notices (these are warnings which often result
    259. ;                     from a bug in your code, but it's possible that it was
    260. ;                     intentional (e.g., using an uninitialized variable and
    261. ;                     relying on the fact it's automatically initialized to an
    262. ;                     empty string)
    263. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    264. ;                     to your code which will ensure the best interoperability
    265. ;                     and forward compatibility of your code
    266. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    267. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    268. ;                     initial startup
    269. ; E_COMPILE_ERROR   - fatal compile-time errors
    270. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    271. ; E_USER_ERROR      - user-generated error message
    272. ; E_USER_WARNING    - user-generated warning message
    273. ; E_USER_NOTICE     - user-generated notice message
    274. ;
    275. ; Examples:
    276. ;
    277. ;   - Show all errors, except for notices and coding standards warnings
    278. ;
    279. ;error_reporting = E_ALL & ~E_NOTICE
    280. ;
    281. ;   - Show all errors, except for notices
    282. ;
    283. ;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
    284. ;
    285. ;   - Show only errors
    286. ;
    287. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
    288. ;
    289. ;   - Show all errors except for notices and coding standards warnings
    290. ;
    291. error_reporting  =  E_ALL & ~E_NOTICE
    292.  
    293. ; Print out errors (as a part of the output).  For production web sites,
    294. ; you're strongly encouraged to turn this feature off, and use error logging
    295. ; instead (see below).  Keeping display_errors enabled on a production web site
    296. ; may reveal security information to end users, such as file paths on your Web
    297. ; server, your database schema or other information.
    298. display_errors = On
    299.  
    300. ; Even when display_errors is on, errors that occur during PHP's startup
    301. ; sequence are not displayed.  It's strongly recommended to keep
    302. ; display_startup_errors off, except for when debugging.
    303. display_startup_errors = Off
    304.  
    305. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
    306. ; As stated above, you're strongly advised to use error logging in place of
    307. ; error displaying on production web sites.
    308. log_errors = Off
    309.  
    310. ; Set maximum length of log_errors. In error_log information about the source is
    311. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    312. log_errors_max_len = 1024
    313.  
    314. ; Do not log repeated messages. Repeated errors must occur in same file on same
    315. ; line until ignore_repeated_source is set true.
    316. ignore_repeated_errors = Off
    317.  
    318. ; Ignore source of message when ignoring repeated messages. When this setting
    319. ; is On you will not log errors with repeated messages from different files or
    320. ; sourcelines.
    321. ignore_repeated_source = Off
    322.  
    323. ; If this parameter is set to Off, then memory leaks will not be shown (on
    324. ; stdout or in the log). This has only effect in a debug compile, and if
    325. ; error reporting includes E_WARNING in the allowed list
    326. report_memleaks = On
    327.  
    328. ; Store the last error/warning message in $php_errormsg (boolean).
    329. track_errors = Off
    330.  
    331. ; Disable the inclusion of HTML tags in error messages.
    332. ; Note: Never use this feature for production boxes.
    333. ;html_errors = Off
    334.  
    335. ; If html_errors is set On PHP produces clickable error messages that direct
    336. ; to a page describing the error or function causing the error in detail.
    337. ; You can download a copy of the PHP manual from http://www.php.net/docs.php
    338. ; and change docref_root to the base URL of your local copy including the
    339. ; leading '/'. You must also specify the file extension being used including
    340. ; the dot.
    341. ; Note: Never use this feature for production boxes.
    342. ;docref_root = "/phpmanual/"
    343. ;docref_ext = .html
    344.  
    345. ; String to output before an error message.
    346. ;error_prepend_string = "<font color=ff0000>"
    347.  
    348. ; String to output after an error message.
    349. ;error_append_string = "</font>"
    350.  
    351. ; Log errors to specified file.
    352. ;error_log = "\xampp\apache\logs\phperror.log"
    353.  
    354. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
    355. ;error_log = syslog
    356.  
    357.  
    358. ;;;;;;;;;;;;;;;;;
    359. ; Data Handling ;
    360. ;;;;;;;;;;;;;;;;;
    361. ;
    362. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
    363.  
    364. ; The separator used in PHP generated URLs to separate arguments.
    365. ; Default is "&".
    366. arg_separator.output = "&amp;"
    367.  
    368. ; List of separator(s) used by PHP to parse input URLs into variables.
    369. ; Default is "&".
    370. ; NOTE: Every character in this directive is considered as separator!
    371. ;arg_separator.input = ";&"
    372.  
    373. ; This directive describes the order in which PHP registers GET, POST, Cookie,
    374. ; Environment and Built-in variables (G, P, C, E & S respectively, often
    375. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
    376. ; values override older values.
    377. variables_order = "EGPCS"
    378.  
    379. ; Whether or not to register the EGPCS variables as global variables.  You may
    380. ; want to turn this off if you don't want to clutter your scripts' global scope
    381. ; with user data.  This makes most sense when coupled with track_vars - in which
    382. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
    383. ; variables.
    384. ;
    385. ; You should do your best to write your scripts so that they do not require
    386. ; register_globals to be on;  Using form variables as globals can easily lead
    387. ; to possible security problems, if the code is not very well thought of.
    388. register_globals = Off
    389.  
    390. ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
    391. ; and friends.  If you're not using them, it's recommended to turn them off,
    392. ; for performance reasons.
    393. register_long_arrays = On
    394.  
    395. ; This directive tells PHP whether to declare the argv&argc variables (that
    396. ; would contain the GET information).  If you don't use these variables, you
    397. ; should turn it off for increased performance.
    398. register_argc_argv = On
    399.  
    400. ; When enabled, the SERVER and ENV variables are created when they're first
    401. ; used (Just In Time) instead of when the script starts. If these variables
    402. ; are not used within a script, having this directive on will result in a
    403. ; performance gain. The PHP directives register_globals, register_long_arrays,
    404. ; and register_argc_argv must be disabled for this directive to have any affect.
    405. auto_globals_jit = On
    406.  
    407. ; Maximum size of POST data that PHP will accept.
    408. post_max_size = 5000M
    409.  
    410. ; Magic quotes
    411. ;
    412.  
    413. ; Magic quotes for incoming GET/POST/Cookie data.
    414. magic_quotes_gpc = On
    415.  
    416. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
    417. magic_quotes_runtime = Off
    418.  
    419. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
    420. magic_quotes_sybase = Off
    421.  
    422. ; Automatically add files before or after any PHP document.
    423. auto_prepend_file =
    424. auto_append_file =
    425.  
    426. ; As of 4.0b4, PHP always outputs a character encoding by default in
    427. ; the Content-type: header.  To disable sending of the charset, simply
    428. ; set it to be empty.
    429. ;
    430. ; PHP's built-in default is text/html
    431. default_mimetype = "text/html"
    432. ;default_charset = "iso-8859-1"
    433.  
    434. ; Always populate the $HTTP_RAW_POST_DATA variable.
    435. ;always_populate_raw_post_data = On
    436.  
    437.  
    438. ;;;;;;;;;;;;;;;;;;;;;;;;;
    439. ; Paths and Directories ;
    440. ;;;;;;;;;;;;;;;;;;;;;;;;;
    441.  
    442. ; UNIX: "/path1:/path2"
    443. ;include_path = ".:/php/includes"
    444. ;
    445. ; Windows: "\path1;\path2"
    446. include_path = ".;\xampp\php\pear\"
    447.  
    448. ; The root of the PHP pages, used only if nonempty.
    449. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    450. ; if you are running php as a CGI under any web server (other than IIS)
    451. ; see documentation for security issues.  The alternate is to use the
    452. ; cgi.force_redirect configuration below
    453. doc_root =
    454.  
    455. ; The directory under which PHP opens the script using /~username used only
    456. ; if nonempty.
    457. user_dir =
    458.  
    459. ; Directory in which the loadable extensions (modules) reside.
    460. extension_dir = "\xampp\php\ext\"
    461.  
    462. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    463. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    464. ; disabled on them.
    465. enable_dl = On
    466.  
    467. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    468. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    469. ; turn it off here AT YOUR OWN RISK
    470. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    471. ; cgi.force_redirect = 1
    472.  
    473. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    474. ; every request.
    475. ; cgi.nph = 1
    476.  
    477. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    478. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    479. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    480. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    481. ; cgi.redirect_status_env = ;
    482.  
    483. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    484. ; security tokens of the calling client.  This allows IIS to define the
    485. ; security context that the request runs under.  mod_fastcgi under Apache
    486. ; does not currently support this feature (03/17/2002)
    487. ; Set to 1 if running under IIS.  Default is zero.
    488. ; fastcgi.impersonate = 1;
    489.  
    490. ; Disable logging through FastCGI connection
    491. ; fastcgi.log = 0
    492.  
    493. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    494. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
    495. ; is supported by Apache. When this option is set to 1 PHP will send
    496. ; RFC2616 compliant header.
    497. ; Default is zero.
    498. ;cgi.rfc2616_headers = 0
    499.  
    500.  
    501. ;;;;;;;;;;;;;;;;
    502. ; File Uploads ;
    503. ;;;;;;;;;;;;;;;;
    504.  
    505. ; Whether to allow HTTP file uploads.
    506. file_uploads = On
    507.  
    508. ; Temporary directory for HTTP uploaded files (will use system default if not
    509. ; specified).
    510. upload_tmp_dir = "\xampp\tmp"
    511.  
    512. ; Maximum allowed size for uploaded files.
    513. upload_max_filesize = 4500M
    514.  
    515.  
    516. ;;;;;;;;;;;;;;;;;;
    517. ; Fopen wrappers ;
    518. ;;;;;;;;;;;;;;;;;;
    519.  
    520. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    521. allow_url_fopen = On
    522.  
    523. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    524. allow_url_include = Off
    525.  
    526. ; Define the anonymous ftp password (your email address)
    527. ;from="john@doe.com"
    528.  
    529. ; Define the User-Agent string
    530. ; user_agent="PHP"
    531.  
    532. ; Default timeout for socket based streams (seconds)
    533. default_socket_timeout = 60
    534.  
    535. ; If your scripts have to deal with files from Macintosh systems,
    536. ; or you are running on a Mac and need to deal with files from
    537. ; unix or win32 systems, setting this flag will cause PHP to
    538. ; automatically detect the EOL character in those files so that
    539. ; fgets() and file() will work regardless of the source of the file.
    540. ; auto_detect_line_endings = Off
    541.  
    542.  
    543. ;;;;;;;;;;;;;;;;;;;;;;
    544. ; Dynamic Extensions ;
    545. ;;;;;;;;;;;;;;;;;;;;;;
    546. ;
    547. ; If you wish to have an extension loaded automatically, use the following
    548. ; syntax:
    549. ;
    550. ;   extension=modulename.extension
    551. ;
    552. ; For example, on Windows:
    553. ;
    554. ;   extension=msql.dll
    555. ;
    556. ; ... or under UNIX:
    557. ;
    558. ;   extension=msql.so
    559. ;
    560. ; Note that it should be the name of the module only; no directory information
    561. ; needs to go here.  Specify the location of the extension with the
    562. ; extension_dir directive above.
    563.  
    564.  
    565. ; Windows Extensions
    566. ; Note that ODBC support is built in, so no dll is needed for it.
    567. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    568. ; extension folders as well as the separate PECL DLL download (PHP 5).
    569. ; Be sure to appropriately set the extension_dir directive.
    570.  
    571. ;extension=php_apc.dll
    572. ;extension=php_apd.dll
    573. ;extension=php_bcompiler.dll
    574. ;extension=php_bitset.dll
    575. ;extension=php_blenc.dll
    576. ;extension=php_bz2.dll
    577. ;extension=php_bz2_filter.dll
    578. ;extension=php_classkit.dll
    579. ;extension=php_cpdf.dll
    580. ;extension=php_crack.dll
    581. ;extension=php_curl.dll
    582. ;extension=php_cvsclient.dll
    583. ;extension=php_db.dll
    584. ;extension=php_dba.dll
    585. ;extension=php_dbase.dll
    586. ;extension=php_dbx.dll
    587. ;extension=php_dio.dll
    588. ;extension=php_docblock.dll
    589. extension=php_domxml.dll
    590. ;extension=php_event.dll
    591. ;extension=php_fdf.dll
    592. ;extension=php_fileinfo.dll
    593. ;extension=php_filepro.dll
    594. ;extension=php_filter.dll
    595. ;extension=php_fribidi.dll
    596. extension=php_gd2.dll
    597. extension=php_gettext.dll
    598. ;extension=php_gmp.dll
    599. ;extension=php_gopher.dll
    600. ;extension=php_hash.dll
    601. ;extension=php_http.dll
    602. ;extension=php_hyperwave.dll
    603. ;extension=php_ibm_db2.dll
    604. ;extension=php_id3.dll
    605. ;extension=php_ifx.dll
    606. ;extension=php_iisfunc.dll
    607. ;extension=php_imagick.dll
    608. extension=php_imap.dll
    609. ;extension=php_ingres.dll
    610. ;extension=php_interbase.dll
    611. ;extension=php_ixsfunc.dll
    612. ;extension=php_java.dll
    613. ;extension=php_json.dll
    614. ;extension=php_ldap.dll
    615. ;extension=php_lzf.dll
    616. ;extension=php_mailparse.dll
    617. ;extension=php_maxdb.dll
    618. extension=php_mbstring.dll
    619. extension=php_exif.dll
    620. extension=php_mcrypt.dll
    621. ;extension=php_mcrypt_filter.dll
    622. ;extension=php_memcache.dll
    623. ;extension=php_mhash.dll
    624. extension=php_mime_magic.dll
    625. extension=php_ming.dll
    626. ;extension=php_msql.dll
    627. extension=php_mssql.dll
    628. extension=php_mysql.dll
    629. extension=php_mysqli.dll
    630. ;extension=php_netools.dll
    631. ;extension=php_ntuser.dll
    632. ;extension=php_oracle.dll
    633. ;extension=php_oci8.dll
    634. ;extension=php_oggvorbis.dll
    635. ;extension=php_openssl.dll
    636. ;extension=php_parsekit.dll
    637. extension=php_pdf.dll
    638. extension=php_pdo.dll
    639. ;extension=php_pdo_firebird.dll
    640. extension=php_pdo_mssql.dll
    641. extension=php_pdo_mysql.dll
    642. ;extension=php_pdo_oci.dll
    643. ;extension=php_pdo_oci8.dll
    644. ;extension=php_pdo_odbc.dll
    645. ;extension=php_pdo_sqlite.dll
    646. ;extension=php_perl.dll
    647. extension=php_pgsql.dll
    648. ;extension=php_phpdoc.dll
    649. ;extension=php_pop3.dll
    650. ;extension=php_printer.dll
    651. ;extension=php_pspell.dll
    652. ;extension=php_radius.dll
    653. ;extension=php_runkit.dll
    654. ;extension=php_sdo.dll
    655. ;extension=php_sdo_das_xml.dll
    656. ;extension=php_shmop.dll
    657. ;extension=php_smtp.dll
    658. ;extension=php_snmp.dll
    659. extension=php_soap.dll
    660. extension=php_sockets.dll
    661. extension=php_sqlite.dll
    662. ;extension=php_ssh2.dll
    663. ;extension=php_stats.dll
    664. ;extension=php_svn.dll
    665. ;extension=php_sybase_ct.dll
    666. ;extension=php_threads.dll
    667. ;extension=php_tidy.dll
    668. ;extension=php_timezonedb.dll
    669. ;extension=php_translit.dll
    670. ;extension=php_win32ps.dll
    671. ;extension=php_win32scheduler.dll
    672. ;extension=php_win32service.dll
    673. ;extension=php_win32std.dll
    674. ;extension=php_xdebug.dll
    675. ;extension=php_xmlreader.dll
    676. extension=php_xmlrpc.dll
    677. ;extension=php_xmlwriter.dll
    678. extension=php_xsl.dll
    679. ;extension=php_yaz.dll ; Module make problems
    680. extension=php_zip.dll
    681. ;extension=php_zlib_filter.dll
    682.  
    683. extension=php_ps.dll
    684. extension=php_paradox.dll
    685. ;;;;;;;;;;;;;;;;;;;
    686. ; Module Settings ;
    687. ;;;;;;;;;;;;;;;;;;;
    688.  
    689. [Date]
    690. ; Defines the default timezone used by the date functions
    691. ;date.timezone =
    692.  
    693. [Syslog]
    694. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
    695. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
    696. ; runtime, you can define these variables by calling define_syslog_variables().
    697. define_syslog_variables  = Off
    698.  
    699. [mail function]
    700. ; For Win32 only.
    701. SMTP = localhost
    702. smtp_port = 25
    703.  
    704. ; For Win32 only.
    705. ;sendmail_from = me@example.com
    706.  
    707. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    708. ;sendmail_path = "\xampp\sendmail\sendmail.exe -t"
    709.  
    710. ; Force the addition of the specified parameters to be passed as extra parameters
    711. ; to the sendmail binary. These parameters will always replace the value of
    712. ; the 5th parameter to mail(), even in safe mode.
    713. ;mail.force_extra_parameters =
    714.  
    715. [SQL]
    716. sql.safe_mode = Off
    717.  
    718. [ODBC]
    719. ;odbc.default_db    =  Not yet implemented
    720. ;odbc.default_user  =  Not yet implemented
    721. ;odbc.default_pw    =  Not yet implemented
    722.  
    723. ; Allow or prevent persistent links.
    724. odbc.allow_persistent = On
    725.  
    726. ; Check that a connection is still valid before reuse.
    727. odbc.check_persistent = On
    728.  
    729. ; Maximum number of persistent links.  -1 means no limit.
    730. odbc.max_persistent = -1
    731.  
    732. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    733. odbc.max_links = -1
    734.  
    735. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    736. ; passthru.
    737. odbc.defaultlrl = 4096
    738.  
    739. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    740. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    741. ; of uodbc.defaultlrl and uodbc.defaultbinmode
    742. odbc.defaultbinmode = 1
    743.  
    744. [MySQL]
    745. ; Allow or prevent persistent links.
    746. mysql.allow_persistent = On
    747.  
    748. ; Maximum number of persistent links.  -1 means no limit.
    749. mysql.max_persistent = -1
    750.  
    751. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    752. mysql.max_links = -1
    753.  
    754. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    755. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    756. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    757. ; at MYSQL_PORT.
    758. mysql.default_port =
    759.  
    760. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    761. ; MySQL defaults.
    762. mysql.default_socket =
    763.  
    764. ; Default host for mysql_connect() (doesn't apply in safe mode).
    765. mysql.default_host =
    766.  
    767. ; Default user for mysql_connect() (doesn't apply in safe mode).
    768. mysql.default_user =
    769.  
    770. ; Default password for mysql_connect() (doesn't apply in safe mode).
    771. ; Note that this is generally a *bad* idea to store passwords in this file.
    772. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    773. ; and reveal this password!  And of course, any users with read access to this
    774. ; file will be able to reveal the password as well.
    775. mysql.default_password =
    776.  
    777. ; Maximum time (in secondes) for connect timeout. -1 means no limit
    778. mysql.connect_timeout = 60
    779.  
    780. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    781. ; SQL-Errors will be displayed.
    782. mysql.trace_mode = Off
    783.  
    784. [MySQLi]
    785.  
    786. ; Maximum number of links.  -1 means no limit.
    787. mysqli.max_links = -1
    788.  
    789. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    790. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    791. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    792. ; at MYSQL_PORT.
    793. mysqli.default_port = 3306
    794.  
    795. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    796. ; MySQL defaults.
    797. mysqli.default_socket =
    798.  
    799. ; Default host for mysql_connect() (doesn't apply in safe mode).
    800. mysqli.default_host =
    801.  
    802. ; Default user for mysql_connect() (doesn't apply in safe mode).
    803. mysqli.default_user =
    804.  
    805. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    806. ; Note that this is generally a *bad* idea to store passwords in this file.
    807. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    808. ; and reveal this password!  And of course, any users with read access to this
    809. ; file will be able to reveal the password as well.
    810. mysqli.default_pw =
    811.  
    812. ; Allow or prevent reconnect
    813. mysqli.reconnect = Off
    814.  
    815. [mSQL]
    816. ; Allow or prevent persistent links.
    817. msql.allow_persistent = On
    818.  
    819. ; Maximum number of persistent links.  -1 means no limit.
    820. msql.max_persistent = -1
    821.  
    822. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    823. msql.max_links = -1
    824.  
    825. [PostgresSQL]
    826. ; Allow or prevent persistent links.
    827. ;pgsql.allow_persistent = On
    828.  
    829. ; Detect broken persistent links always with pg_pconnect().
    830. ; Auto reset feature requires a little overheads.
    831. ;pgsql.auto_reset_persistent = Off
    832.  
    833. ; Maximum number of persistent links.  -1 means no limit.
    834. ;pgsql.max_persistent = -1
    835.  
    836. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    837. ;pgsql.max_links = -1
    838.  
    839. ; Ignore PostgreSQL backends Notice message or not.
    840. ; Notice message logging require a little overheads.
    841. ;pgsql.ignore_notice = 0
    842.  
    843. ; Log PostgreSQL backends Noitce message or not.
    844. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    845. ;pgsql.log_notice = 0
    846.  
    847. [Sybase]
    848. ; Allow or prevent persistent links.
    849. sybase.allow_persistent = On
    850.  
    851. ; Maximum number of persistent links.  -1 means no limit.
    852. sybase.max_persistent = -1
    853.  
    854. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    855. sybase.max_links = -1
    856.  
    857. ;sybase.interface_file = "/usr/sybase/interfaces"
    858.  
    859. ; Minimum error severity to display.
    860. sybase.min_error_severity = 10
    861.  
    862. ; Minimum message severity to display.
    863. sybase.min_message_severity = 10
    864.  
    865. ; Compatability mode with old versions of PHP 3.0.
    866. ; If on, this will cause PHP to automatically assign types to results according
    867. ; to their Sybase type, instead of treating them all as strings.  This
    868. ; compatibility mode will probably not stay around forever, so try applying
    869. ; whatever necessary changes to your code, and turn it off.
    870. sybase.compatability_mode = Off
    871.  
    872. [Sybase-CT]
    873. ; Allow or prevent persistent links.
    874. sybct.allow_persistent = On
    875.  
    876. ; Maximum number of persistent links.  -1 means no limit.
    877. sybct.max_persistent = -1
    878.  
    879. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    880. sybct.max_links = -1
    881.  
    882. ; Minimum server message severity to display.
    883. sybct.min_server_severity = 10
    884.  
    885. ; Minimum client message severity to display.
    886. sybct.min_client_severity = 10
    887.  
    888. [bcmath]
    889. ; Number of decimal digits for all bcmath functions.
    890. bcmath.scale = 0
    891.  
    892. [browscap]
    893. browscap = "\xampp\php\browscap\browscap.ini"
    894.  
    895. [Informix]
    896. ; Default host for ifx_connect() (doesn't apply in safe mode).
    897. ifx.default_host =
    898.  
    899. ; Default user for ifx_connect() (doesn't apply in safe mode).
    900. ifx.default_user =
    901.  
    902. ; Default password for ifx_connect() (doesn't apply in safe mode).
    903. ifx.default_password =
    904.  
    905. ; Allow or prevent persistent links.
    906. ifx.allow_persistent = On
    907.  
    908. ; Maximum number of persistent links.  -1 means no limit.
    909. ifx.max_persistent = -1
    910.  
    911. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    912. ifx.max_links = -1
    913.  
    914. ; If on, select statements return the contents of a text blob instead of its id.
    915. ifx.textasvarchar = 0
    916.  
    917. ; If on, select statements return the contents of a byte blob instead of its id.
    918. ifx.byteasvarchar = 0
    919.  
    920. ; Trailing blanks are stripped from fixed-length char columns.  May help the
    921. ; life of Informix SE users.
    922. ifx.charasvarchar = 0
    923.  
    924. ; If on, the contents of text and byte blobs are dumped to a file instead of
    925. ; keeping them in memory.
    926. ifx.blobinfile = 0
    927.  
    928. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
    929. ; NULL's are returned as string 'NULL'.
    930. ifx.nullformat = 0
    931.  
    932. [Session]
    933. ; Handler used to store/retrieve data.
    934. session.save_handler = files
    935.  
    936. ; Argument passed to save_handler.  In the case of files, this is the path
    937. ; where data files are stored. Note: Windows users have to change this
    938. ; variable in order to use PHP's session functions.
    939. ;
    940. ; As of PHP 4.0.1, you can define the path as:
    941. ;
    942. ;     session.save_path = "N;/path"
    943. ;
    944. ; where N is an integer.  Instead of storing all the session files in
    945. ; /path, what this will do is use subdirectories N-levels deep, and
    946. ; store the session data in those directories.  This is useful if you
    947. ; or your OS have problems with lots of files in one directory, and is
    948. ; a more efficient layout for servers that handle lots of sessions.
    949. ;
    950. ; NOTE 1: PHP will not create this directory structure automatically.
    951. ;         You can use the script in the ext/session dir for that purpose.
    952. ; NOTE 2: See the section on garbage collection below if you choose to
    953. ;         use subdirectories for session storage
    954. ;
    955. ; The file storage module creates files using mode 600 by default.
    956. ; You can change that by using
    957. ;
    958. ;     session.save_path = "N;MODE;/path"
    959. ;
    960. ; where MODE is the octal representation of the mode. Note that this
    961. ; does not overwrite the process's umask.
    962. session.save_path = "\xampp\tmp"
    963.  
    964. ; Whether to use cookies.
    965. session.use_cookies = 1
    966.  
    967. ; This option enables administrators to make their users invulnerable to
    968. ; attacks which involve passing session ids in URLs; defaults to 0.
    969. ; session.use_only_cookies = 1
    970.  
    971. ; Name of the session (used as cookie name).
    972. session.name = PHPSESSID
    973.  
    974. ; Initialize session on request startup.
    975. session.auto_start = 0
    976.  
    977. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    978. session.cookie_lifetime = 0
    979.  
    980. ; The path for which the cookie is valid.
    981. session.cookie_path = /
    982.  
    983. ; The domain for which the cookie is valid.
    984. session.cookie_domain =
    985.  
    986. ; Handler used to serialize data.  php is the standard serializer of PHP.
    987. session.serialize_handler = php
    988.  
    989. ; Define the probability that the 'garbage collection' process is started
    990. ; on every session initialization.
    991. ; The probability is calculated by using gc_probability/gc_divisor,
    992. ; e.g. 1/100 means there is a 1% chance that the GC process starts
    993. ; on each request.
    994.  
    995. session.gc_probability = 1
    996. session.gc_divisor     = 100
    997.  
    998. ; After this number of seconds, stored data will be seen as 'garbage' and
    999. ; cleaned up by the garbage collection process.
    1000. session.gc_maxlifetime = 1440
    1001.  
    1002. ; NOTE: If you are using the subdirectory option for storing session files
    1003. ;       (see session.save_path above), then garbage collection does *not*
    1004. ;       happen automatically.  You will need to do your own garbage
    1005. ;       collection through a shell script, cron entry, or some other method.
    1006. ;       For example, the following script would is the equivalent of
    1007. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    1008. ;          cd /path/to/sessions; find -cmin +24 | xargs rm
    1009.  
    1010. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
    1011. ; to initialize a session variable in the global scope, albeit register_globals
    1012. ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
    1013. ; You can disable the feature and the warning separately. At this time,
    1014. ; the warning is only displayed, if bug_compat_42 is enabled.
    1015.  
    1016. session.bug_compat_42 = 1
    1017. session.bug_compat_warn = 1
    1018.  
    1019. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1020. ; HTTP_REFERER has to contain this substring for the session to be
    1021. ; considered as valid.
    1022. session.referer_check =
    1023.  
    1024. ; How many bytes to read from the file.
    1025. session.entropy_length = 0
    1026.  
    1027. ; Specified here to create the session id.
    1028. session.entropy_file =
    1029.  
    1030. ;session.entropy_length = 16
    1031.  
    1032. ;session.entropy_file = /dev/urandom
    1033.  
    1034. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    1035. ; or leave this empty to avoid sending anti-caching headers.
    1036. session.cache_limiter = nocache
    1037.  
    1038. ; Document expires after n minutes.
    1039. session.cache_expire = 180
    1040.  
    1041. ; trans sid support is disabled by default.
    1042. ; Use of trans sid may risk your users security.
    1043. ; Use this option with caution.
    1044. ; - User may send URL contains active session ID
    1045. ;   to other person via. email/irc/etc.
    1046. ; - URL that contains active session ID may be stored
    1047. ;   in publically accessible computer.
    1048. ; - User may access your site with the same session ID
    1049. ;   always using URL stored in browser's history or bookmarks.
    1050. session.use_trans_sid = 0
    1051.  
    1052. ; Select a hash function
    1053. ; 0: MD5   (128 bits)
    1054. ; 1: SHA-1 (160 bits)
    1055. session.hash_function = 0
    1056.  
    1057. ; Define how many bits are stored in each character when converting
    1058. ; the binary hash data to something readable.
    1059. ;
    1060. ; 4 bits: 0-9, a-f
    1061. ; 5 bits: 0-9, a-v
    1062. ; 6 bits: 0-9, a-z, A-Z, "-", ","
    1063. session.hash_bits_per_character = 4
    1064.  
    1065. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    1066. ; form/fieldset are special; if you include them here, the rewriter will
    1067. ; add a hidden <input> field with the info which is otherwise appended
    1068. ; to URLs.  If you want XHTML conformity, remove the form entry.
    1069. ; Note that all valid entries require a "=", even if no value follows.
    1070. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
    1071.  
    1072. [MSSQL]
    1073. ; Allow or prevent persistent links.
    1074. mssql.allow_persistent = On
    1075.  
    1076. ; Maximum number of persistent links.  -1 means no limit.
    1077. mssql.max_persistent = -1
    1078.  
    1079. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    1080. mssql.max_links = -1
    1081.  
    1082. ; Minimum error severity to display.
    1083. mssql.min_error_severity = 10
    1084.  
    1085. ; Minimum message severity to display.
    1086. mssql.min_message_severity = 10
    1087.  
    1088. ; Compatability mode with old versions of PHP 3.0.
    1089. mssql.compatability_mode = Off
    1090.  
    1091. ; Connect timeout
    1092. ;mssql.connect_timeout = 5
    1093.  
    1094. ; Query timeout
    1095. ;mssql.timeout = 60
    1096.  
    1097. ; Valid range 0 - 2147483647.  Default = 4096.
    1098. ;mssql.textlimit = 4096
    1099.  
    1100. ; Valid range 0 - 2147483647.  Default = 4096.
    1101. ;mssql.textsize = 4096
    1102.  
    1103. ; Limits the number of records in each batch.  0 = all records in one batch.
    1104. ;mssql.batchsize = 0
    1105.  
    1106. ; Specify how datetime and datetim4 columns are returned
    1107. ; On => Returns data converted to SQL server settings
    1108. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    1109. ;mssql.datetimeconvert = On
    1110.  
    1111. ; Use NT authentication when connecting to the server
    1112. mssql.secure_connection = Off
    1113.  
    1114. ; Specify max number of processes. -1 = library default
    1115. ; msdlib defaults to 25
    1116. ; FreeTDS defaults to 4096
    1117. ;mssql.max_procs = -1
    1118.  
    1119. [Assertion]
    1120. ; Assert(expr); active by default.
    1121. ;assert.active = On
    1122.  
    1123. ; Issue a PHP warning for each failed assertion.
    1124. ;assert.warning = On
    1125.  
    1126. ; Don't bail out by default.
    1127. ;assert.bail = Off
    1128.  
    1129. ; User-function to be called if an assertion fails.
    1130. ;assert.callback = 0
    1131.  
    1132. ; Eval the expression with current error_reporting().  Set to true if you want
    1133. ; error_reporting(0) around the eval().
    1134. ;assert.quiet_eval = 0
    1135.  
    1136. [Verisign Payflow Pro]
    1137. ; Default Payflow Pro server.
    1138. pfpro.defaulthost = "test-payflow.verisign.com"
    1139.  
    1140. ; Default port to connect to.
    1141. pfpro.defaultport = 443
    1142.  
    1143. ; Default timeout in seconds.
    1144. pfpro.defaulttimeout = 30
    1145.  
    1146. ; Default proxy IP address (if required).
    1147. ;pfpro.proxyaddress =
    1148.  
    1149. ; Default proxy port.
    1150. ;pfpro.proxyport =
    1151.  
    1152. ; Default proxy logon.
    1153. ;pfpro.proxylogon =
    1154.  
    1155. ; Default proxy password.
    1156. ;pfpro.proxypassword =
    1157.  
    1158. [COM]
    1159. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    1160. ;com.typelib_file =
    1161. ; allow Distributed-COM calls
    1162. ;com.allow_dcom = true
    1163. ; autoregister constants of a components typlib on com_load()
    1164. ;com.autoregister_typelib = true
    1165. ; register constants casesensitive
    1166. ;com.autoregister_casesensitive = false
    1167. ; show warnings on duplicate constat registrations
    1168. ;com.autoregister_verbose = true
    1169.  
    1170. [mbstring]
    1171. ; language for internal character representation.
    1172. ;mbstring.language = Japanese
    1173.  
    1174. ; internal/script encoding.
    1175. ; Some encoding cannot work as internal encoding.
    1176. ; (e.g. SJIS, BIG5, ISO-2022-*)
    1177. ;mbstring.internal_encoding = EUC-JP
    1178.  
    1179. ; http input encoding.
    1180. ;mbstring.http_input = auto
    1181.  
    1182. ; http output encoding. mb_output_handler must be
    1183. ; registered as output buffer to function
    1184. ;mbstring.http_output = SJIS
    1185.  
    1186. ; enable automatic encoding translation according to
    1187. ; mbstring.internal_encoding setting. Input chars are
    1188. ; converted to internal encoding by setting this to On.
    1189. ; Note: Do _not_ use automatic encoding translation for
    1190. ;       portable libs/applications.
    1191. ;mbstring.encoding_translation = Off
    1192.  
    1193. ; automatic encoding detection order.
    1194. ; auto means
    1195. ;mbstring.detect_order = auto
    1196.  
    1197. ; substitute_character used when character cannot be converted
    1198. ; one from another
    1199. ;mbstring.substitute_character = none;
    1200.  
    1201. ; overload(replace) single byte functions by mbstring functions.
    1202. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    1203. ; etc. Possible values are 0,1,2,4 or combination of them.
    1204. ; For example, 7 for overload everything.
    1205. ; 0: No overload
    1206. ; 1: Overload mail() function
    1207. ; 2: Overload str*() functions
    1208. ; 4: Overload ereg*() functions
    1209. ;mbstring.func_overload = 0
    1210.  
    1211. [FrontBase]
    1212. ;fbsql.allow_persistent = On
    1213. ;fbsql.autocommit = On
    1214. ;fbsql.default_database =
    1215. ;fbsql.default_database_password =
    1216. ;fbsql.default_host =
    1217. ;fbsql.default_password =
    1218. ;fbsql.default_user = "_SYSTEM"
    1219. ;fbsql.generate_warnings = Off
    1220. ;fbsql.max_connections = 128
    1221. ;fbsql.max_links = 128
    1222. ;fbsql.max_persistent = -1
    1223. ;fbsql.max_results = 128
    1224. ;fbsql.batchSize = 1000
    1225.  
    1226. [exif]
    1227. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    1228. ; With mbstring support this will automatically be converted into the encoding
    1229. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    1230. ; is used. For the decode settings you can distinguish between motorola and
    1231. ; intel byte order. A decode setting cannot be empty.
    1232. ;exif.encode_unicode = ISO-8859-15
    1233. ;exif.decode_unicode_motorola = UCS-2BE
    1234. ;exif.decode_unicode_intel    = UCS-2LE
    1235. ;exif.encode_jis =
    1236. ;exif.decode_jis_motorola = JIS
    1237. ;exif.decode_jis_intel    = JIS
    1238.  
    1239. [Tidy]
    1240. ; The path to a default tidy configuration file to use when using tidy
    1241. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    1242.  
    1243. ; Should tidy clean and repair output automatically?
    1244. ; WARNING: Do not use this option if you are generating non-html content
    1245. ; such as dynamic images
    1246. tidy.clean_output = Off
    1247.  
    1248. [soap]
    1249. ; Enables or disables WSDL caching feature.
    1250. soap.wsdl_cache_enabled=1
    1251. ; Sets the directory name where SOAP extension will put cache files.
    1252. soap.wsdl_cache_dir="\xampp\tmp"
    1253. ; (time to live) Sets the number of second while cached file will be used
    1254. ; instead of original one.
    1255. soap.wsdl_cache_ttl=86400
    1256.  
    1257. [mime_magic]
    1258. mime_magic.magicfile = "\xampp\php\extras\magic.mime"
    1259. ;mime_magic.debug = On
    1260.  
    1261.  
    1262. [Zend]
    1263. zend_extension_ts = "\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
    1264. zend_extension_manager.optimizer_ts = "\xampp\php\zendOptimizer\lib\Optimizer"
    1265. zend_optimizer.enable_loader = 0
    1266. zend_optimizer.optimization_level=15
    1267. ;zend_optimizer.license_path =
    1268. ; Local Variables:
    1269. ; tab-width: 4
    1270. ; End:
    1271.  
    1272. [XDebug]
    1273. ;; Only Zend OR (!) XDebug
    1274. ;zend_extension_ts="\xampp\php\ext\php_xdebug.dll"
    1275. ;xdebug.remote_enable=true
    1276. ;xdebug.remote_host=127.0.0.1
    1277. ;xdebug.remote_port=9000
    1278. ;xdebug.remote_handler=dbgp
    1279. ;xdebug.profiler_enable=1
    1280. ;xdebug.profiler_output_dir="\xampp\tmp"
    1281.  
    1282. [Memcache]
    1283. ;memcache.allow_failover = 1
    1284. ;memcache.max_failover_attempts=20
    1285. ;memcache.chunk_size =8192
    1286. ;memcache.default_port = 11211
    1287.  
    1288. [APC]
    1289. ;zend_extension = ""
    1290. ;apc.mode = on
    1291. ;apc.mode = shm
    1292.  
    1293. [eAccelerator]
    1294. ;extension=eaccelerator.dll
    1295. ;eaccelerator.shm_size = "0"
    1296. ;eaccelerator.cache_dir = "\xampp\tmp"
    1297. ;eaccelerator.enable = "1"
    1298. ;eaccelerator.optimizer = "0"
    1299. ;eaccelerator.debug = "0"
    1300. ;eaccelerator.check_mtime = "1"
    1301. ;eaccelerator.filter = ""
    1302. ;eaccelerator.shm_max = "0"
    1303. ;eaccelerator.shm_ttl = "0"
    1304. ;eaccelerator.shm_prune_period = "0"
    1305. ;eaccelerator.shm_only = "0"
    1306. ;eaccelerator.compress = "1"
    1307. ;eaccelerator.compress_level = "9"
    1308. ;eaccelerator.keys = "shm_and_disk"
    1309. ;eaccelerator.sessions = "shm_and_disk"
    1310. ;eaccelerator.content = "shm_and_disk"
    1311. ;eaccelerator.admin.name =
    1312. ;eaccelerator.admin.password =
     
  14. я тебя ненавижу
     
  15. dr.5y51em

    dr.5y51em Активный пользователь

    С нами с:
    19 июн 2009
    Сообщения:
    8
    Симпатии:
    0
    Ооо. Спасибо, очень помогло. Ты такой умный.