Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

2003 PHP has encountered an Access Violation问题关注

[复制链接]
fanmaochen 发表于 2008-6-14 23:19:58 | 显示全部楼层 |阅读模式
服务器最近一直出现
PHP has encountered an Access Violation 错误,10站点左右 出现错误是随机出现,并不指定某个特定站点.
还偶尔出现这个错误
事件 ID ( 487 )的描述(在资源( Zend Optimizer )中)无法找到。本地计算机可能没有必要的注册信息或消息 DLL 文件来从远程计算机显示消息。您可能可以使用 /AUXSOURCE= 标识来检索词描述;查看帮助和支持以了解详细信息。下列信息是事件的一部分: Unable to view file mapping, 试图访问无效的地址。


服务器PHP加载ZO配置
  1. [Zend]
  2. ;zend_extension_ts="c:\php\eAccelerator0953_5.2.6.dll"
  3. ;eAccelerator加速器路径部分PHP版本此处使用 zend_extension
  4. eaccelerator.shm_size="16"
  5. ;eAccelerator使用的内存
  6. eaccelerator.cache_dir="c:\temp"
  7. ;eAccelerator缓冲目录,需要新建一个文件夹,记得给web server可读写权限。
  8. eaccelerator.enable="1"
  9. ;eAccelerator是否启用
  10. eaccelerator.optimizer="1"
  11. ;eAccelerator优化功能
  12. eaccelerator.check_mtime="1"
  13. eaccelerator.debug="0"
  14. eaccelerator.filter=""
  15. eaccelerator.shm_max="0"
  16. eaccelerator.shm_ttl="0"
  17. eaccelerator.shm_prune_period="0"
  18. eaccelerator.shm_only="0"
  19. eaccelerator.compress="1"
  20. eaccelerator.compress_level="9"
  21. zend_extension_ts = "c:\Zend\lib\ZendExtensionManager.dll"
  22. zend_extension_manager.optimizer_ts = "c:\Zend\lib\Optimizer-3.3.0"
  23. ;zend_optimizer.enable_loader = 1
  24. ;开启Zend Loader以解析Zend混淆器加密过的PHP代码。默认开启,此行配置只是起到说明作用。
  25. zend_optimizer.optimization_level=1023
  26. ;禁止优化功能,避免冲突。
  27. ;zend_optimizer.optimization_level=15
  28. ;zend_optimizer.license_path =
复制代码
[PHP]

PHP.ini配置

  1. ;;;;;;;;;;;
  2. ; WARNING ;
  3. ;;;;;;;;;;;
  4. ; This is the default settings file for new PHP installations.
  5. ; By default, PHP installs itself with a configuration suitable for
  6. ; development purposes, and *NOT* for production purposes.
  7. ; For several security-oriented considerations that should be taken
  8. ; before going online with your site, please consult php.ini-recommended
  9. ; and http://php.net/manual/en/security.php.


  10. ;;;;;;;;;;;;;;;;;;;
  11. ; About php.ini   ;
  12. ;;;;;;;;;;;;;;;;;;;
  13. ; This file controls many aspects of PHP's behavior.  In order for PHP to
  14. ; read it, it must be named 'php.ini'.  PHP looks for it in the current
  15. ; working directory, in the path designated by the environment variable
  16. ; PHPRC, and in the path that was defined in compile time (in that order).
  17. ; Under Windows, the compile-time path is the Windows directory.  The
  18. ; path in which the php.ini file is looked for can be overridden using
  19. ; the -c argument in command line mode.
  20. ;
  21. ; The syntax of the file is extremely simple.  Whitespace and Lines
  22. ; beginning with a semicolon are silently ignored (as you probably guessed).
  23. ; Section headers (e.g. [Foo]) are also silently ignored, even though
  24. ; they might mean something in the future.
  25. ;
  26. ; Directives are specified using the following syntax:
  27. ; directive = value
  28. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
  29. ;
  30. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
  31. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
  32. ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
  33. ;
  34. ; Expressions in the INI file are limited to bitwise operators and parentheses:
  35. ; |        bitwise OR
  36. ; &        bitwise AND
  37. ; ~        bitwise NOT
  38. ; !        boolean NOT
  39. ;
  40. ; Boolean flags can be turned on using the values 1, On, True or Yes.
  41. ; They can be turned off using the values 0, Off, False or No.
  42. ;
  43. ; An empty string can be denoted by simply not writing anything after the equal
  44. ; sign, or by using the None keyword:
  45. ;
  46. ;  foo =         ; sets foo to an empty string
  47. ;  foo = none    ; sets foo to an empty string
  48. ;  foo = "none"  ; sets foo to the string 'none'
  49. ;
  50. ; If you use constants in your value, and these constants belong to a
  51. ; dynamically loaded extension (either a PHP extension or a Zend extension),
  52. ; you may only use these constants *after* the line that loads the extension.
  53. ;
  54. ;
  55. ;;;;;;;;;;;;;;;;;;;
  56. ; About this file ;
  57. ;;;;;;;;;;;;;;;;;;;
  58. ; All the values in the php.ini-dist file correspond to the builtin
  59. ; defaults (that is, if no php.ini is used, or if you delete these lines,
  60. ; the builtin defaults will be identical).


  61. ;;;;;;;;;;;;;;;;;;;;
  62. ; Language Options ;
  63. ;;;;;;;;;;;;;;;;;;;;

  64. ; Enable the PHP scripting language engine under Apache.
  65. engine = On

  66. ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
  67. zend.ze1_compatibility_mode = Off

  68. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
  69. ; NOTE: Using short tags should be avoided when developing applications or
  70. ; libraries that are meant for redistribution, or deployment on PHP
  71. ; servers which are not under your control, because short tags may not
  72. ; be supported on the target server. For portable, redistributable code,
  73. ; be sure not to use short tags.
  74. short_open_tag = On

  75. ; Allow ASP-style <% %> tags.
  76. asp_tags = Off

  77. ; The number of significant digits displayed in floating point numbers.
  78. precision    =  12

  79. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  80. y2k_compliance = On

  81. ; Output buffering allows you to send header lines (including cookies) even
  82. ; after you send body content, at the price of slowing PHP's output layer a
  83. ; bit.  You can enable output buffering during runtime by calling the output
  84. ; buffering functions.  You can also enable output buffering for all files by
  85. ; setting this directive to On.  If you wish to limit the size of the buffer
  86. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  87. ; a value for this directive (e.g., output_buffering=4096).
  88. output_buffering = Off

  89. ; You can redirect all of the output of your scripts to a function.  For
  90. ; example, if you set output_handler to "mb_output_handler", character
  91. ; encoding will be transparently converted to the specified encoding.
  92. ; Setting any output handler automatically turns on output buffering.
  93. ; Note: People who wrote portable scripts should not depend on this ini
  94. ;       directive. Instead, explicitly set the output handler using ob_start().
  95. ;       Using this ini directive may cause problems unless you know what script
  96. ;       is doing.
  97. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  98. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression".
  99. ; Note: output_handler must be empty if this is set 'On' !!!!
  100. ;       Instead you must use zlib.output_handler.
  101. ;output_handler =

  102. ; Transparent output compression using the zlib library
  103. ; Valid values for this option are 'off', 'on', or a specific buffer size
  104. ; to be used for compression (default is 4KB)
  105. ; Note: Resulting chunk size may vary due to nature of compression. PHP
  106. ;       outputs chunks that are few hundreds bytes each as a result of
  107. ;       compression. If you prefer a larger chunk size for better
  108. ;       performance, enable output_buffering in addition.
  109. ; Note: You need to use zlib.output_handler instead of the standard
  110. ;       output_handler, or otherwise the output will be corrupted.
  111. zlib.output_compression = Off
  112. ;zlib.output_compression_level = -1

  113. ; You cannot specify additional output handlers if zlib.output_compression
  114. ; is activated here. This setting does the same as output_handler but in
  115. ; a different order.
  116. ;zlib.output_handler =

  117. ; Implicit flush tells PHP to tell the output layer to flush itself
  118. ; automatically after every output block.  This is equivalent to calling the
  119. ; PHP function flush() after each and every call to print() or echo() and each
  120. ; and every HTML block.  Turning this option on has serious performance
  121. ; implications and is generally recommended for debugging purposes only.
  122. implicit_flush = Off

  123. ; The unserialize callback function will be called (with the undefined class'
  124. ; name as parameter), if the unserializer finds an undefined class
  125. ; which should be instantiated.
  126. ; A warning appears if the specified function is not defined, or if the
  127. ; function doesn't include/implement the missing class.
  128. ; So only set this entry, if you really want to implement such a
  129. ; callback-function.
  130. unserialize_callback_func=

  131. ; When floats & doubles are serialized store serialize_precision significant
  132. ; digits after the floating point. The default value ensures that when floats
  133. ; are decoded with unserialize, the data will remain the same.
  134. serialize_precision = 100

  135. ; Whether to enable the ability to force arguments to be passed by reference
  136. ; at function call time.  This method is deprecated and is likely to be
  137. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  138. ; specifying which arguments should be passed by reference is in the function
  139. ; declaration.  You're encouraged to try and turn this option Off and make
  140. ; sure your scripts work properly with it in order to ensure they will work
  141. ; with future versions of the language (you will receive a warning each time
  142. ; you use this feature, and the argument will be passed by value instead of by
  143. ; reference).
  144. allow_call_time_pass_reference = On

  145. ;
  146. ; Safe Mode
  147. ;
  148. safe_mode = On

  149. ; By default, Safe Mode does a UID compare check when
  150. ; opening files. If you want to relax this to a GID compare,
  151. ; then turn on safe_mode_gid.
  152. safe_mode_gid = Off

  153. ; When safe_mode is on, UID/GID checks are bypassed when
  154. ; including files from this directory and its subdirectories.
  155. ; (directory must also be in include_path or full path must
  156. ; be used when including)
  157. safe_mode_include_dir =

  158. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  159. ; will be allowed to be executed via the exec family of functions.
  160. safe_mode_exec_dir =

  161. ; Setting certain environment variables may be a potential security breach.
  162. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  163. ; the user may only alter environment variables whose names begin with the
  164. ; prefixes supplied here.  By default, users will only be able to set
  165. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  166. ;
  167. ; Note:  If this directive is empty, PHP will let the user modify ANY
  168. ; environment variable!
  169. safe_mode_allowed_env_vars = PHP_

  170. ; This directive contains a comma-delimited list of environment variables that
  171. ; the end user won't be able to change using putenv().  These variables will be
  172. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  173. safe_mode_protected_env_vars = LD_LIBRARY_PATH

  174. ; open_basedir, if set, limits all file operations to the defined directory
  175. ; and below.  This directive makes most sense if used in a per-directory
  176. ; or per-virtualhost web server configuration file. This directive is
  177. ; *NOT* affected by whether Safe Mode is turned On or Off.
  178. ;open_basedir =

  179. ; This directive allows you to disable certain functions for security reasons.
  180. ; It receives a comma-delimited list of function names. This directive is
  181. ; *NOT* affected by whether Safe Mode is turned On or Off.
  182. disable_functions =

  183. ; This directive allows you to disable certain classes for security reasons.
  184. ; It receives a comma-delimited list of class names. This directive is
  185. ; *NOT* affected by whether Safe Mode is turned On or Off.
  186. disable_classes =

  187. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  188. ; <span style="color: ???????"> would work.
  189. ;highlight.string  = #DD0000
  190. ;highlight.comment = #FF9900
  191. ;highlight.keyword = #007700
  192. ;highlight.bg      = #FFFFFF
  193. ;highlight.default = #0000BB
  194. ;highlight.html    = #000000

  195. ; If enabled, the request will be allowed to complete even if the user aborts
  196. ; the request. Consider enabling it if executing long request, which may end up
  197. ; being interrupted by the user or a browser timing out.
  198. ; ignore_user_abort = On

  199. ; Determines the size of the realpath cache to be used by PHP. This value should
  200. ; be increased on systems where PHP opens many files to reflect the quantity of
  201. ; the file operations performed.
  202. ; realpath_cache_size=16k

  203. ; Duration of time, in seconds for which to cache realpath information for a given
  204. ; file or directory. For systems with rarely changing files, consider increasing this
  205. ; value.
  206. ; realpath_cache_ttl=120

  207. ;
  208. ; Misc
  209. ;
  210. ; Decides whether PHP may expose the fact that it is installed on the server
  211. ; (e.g. by adding its signature to the Web server header).  It is no security
  212. ; threat in any way, but it makes it possible to determine whether you use PHP
  213. ; on your server or not.
  214. expose_php = On


  215. ;;;;;;;;;;;;;;;;;;;
  216. ; Resource Limits ;
  217. ;;;;;;;;;;;;;;;;;;;

  218. max_execution_time = 30     ; Maximum execution time of each script, in seconds
  219. max_input_time = 60        ; Maximum amount of time each script may spend parsing request data
  220. ;max_input_nesting_level = 64 ; Maximum input variable nesting level
  221. memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)


  222. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  223. ; Error handling and logging ;
  224. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  225. ; error_reporting is a bit-field.  Or each number up to get desired error
  226. ; reporting level
  227. ; E_ALL             - All errors and warnings (doesn't include E_STRICT)
  228. ; E_ERROR           - fatal run-time errors
  229. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
  230. ; E_WARNING         - run-time warnings (non-fatal errors)
  231. ; E_PARSE           - compile-time parse errors
  232. ; E_NOTICE          - run-time notices (these are warnings which often result
  233. ;                     from a bug in your code, but it's possible that it was
  234. ;                     intentional (e.g., using an uninitialized variable and
  235. ;                     relying on the fact it's automatically initialized to an
  236. ;                     empty string)
  237. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
  238. ;                     to your code which will ensure the best interoperability
  239. ;                     and forward compatibility of your code
  240. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  241. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  242. ;                     initial startup
  243. ; E_COMPILE_ERROR   - fatal compile-time errors
  244. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  245. ; E_USER_ERROR      - user-generated error message
  246. ; E_USER_WARNING    - user-generated warning message
  247. ; E_USER_NOTICE     - user-generated notice message
  248. ;
  249. ; Examples:
  250. ;
  251. ;   - Show all errors, except for notices and coding standards warnings
  252. ;
  253. ;error_reporting = E_ALL & ~E_NOTICE
  254. ;
  255. ;   - Show all errors, except for notices
  256. ;
  257. ;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
  258. ;
  259. ;   - Show only errors
  260. ;
  261. ;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
  262. ;
  263. ;   - Show all errors except for notices and coding standards warnings
  264. ;
  265. error_reporting  =  E_ALL & ~E_NOTICE

  266. ; Print out errors (as a part of the output).  For production web sites,
  267. ; you're strongly encouraged to turn this feature off, and use error logging
  268. ; instead (see below).  Keeping display_errors enabled on a production web site
  269. ; may reveal security information to end users, such as file paths on your Web
  270. ; server, your database schema or other information.
  271. ;
  272. ; possible values for display_errors:
  273. ;
  274. ; Off        - Do not display any errors
  275. ; stderr     - Display errors to STDERR (affects only CGI/CLI binaries!)
  276. ;
  277. ;display_errors = "stderr"
  278. ;
  279. ; stdout (On) - Display errors to STDOUT
  280. ;
  281. display_errors = On

  282. ; Even when display_errors is on, errors that occur during PHP's startup
  283. ; sequence are not displayed.  It's strongly recommended to keep
  284. ; display_startup_errors off, except for when debugging.
  285. display_startup_errors = Off

  286. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
  287. ; As stated above, you're strongly advised to use error logging in place of
  288. ; error displaying on production web sites.
  289. log_errors = Off

  290. ; Set maximum length of log_errors. In error_log information about the source is
  291. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  292. log_errors_max_len = 1024

  293. ; Do not log repeated messages. Repeated errors must occur in same file on same
  294. ; line until ignore_repeated_source is set true.
  295. ignore_repeated_errors = Off

  296. ; Ignore source of message when ignoring repeated messages. When this setting
  297. ; is On you will not log errors with repeated messages from different files or
  298. ; source lines.
  299. ignore_repeated_source = Off

  300. ; If this parameter is set to Off, then memory leaks will not be shown (on
  301. ; stdout or in the log). This has only effect in a debug compile, and if
  302. ; error reporting includes E_WARNING in the allowed list
  303. report_memleaks = On

  304. ;report_zend_debug = 0

  305. ; Store the last error/warning message in $php_errormsg (boolean).
  306. track_errors = Off

  307. ; Disable the inclusion of HTML tags in error messages.
  308. ; Note: Never use this feature for production boxes.
  309. ;html_errors = Off

  310. ; If html_errors is set On PHP produces clickable error messages that direct
  311. ; to a page describing the error or function causing the error in detail.
  312. ; You can download a copy of the PHP manual from http://www.php.net/docs.php
  313. ; and change docref_root to the base URL of your local copy including the
  314. ; leading '/'. You must also specify the file extension being used including
  315. ; the dot.
  316. ; Note: Never use this feature for production boxes.
  317. ;docref_root = "/phpmanual/"
  318. ;docref_ext = .html

  319. ; String to output before an error message.
  320. ;error_prepend_string = "<font color=#ff0000>"

  321. ; String to output after an error message.
  322. ;error_append_string = "</font>"

  323. ; Log errors to specified file.
  324. ;error_log = filename

  325. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  326. ;error_log = syslog


  327. ;;;;;;;;;;;;;;;;;
  328. ; Data Handling ;
  329. ;;;;;;;;;;;;;;;;;
  330. ;
  331. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3

  332. ; The separator used in PHP generated URLs to separate arguments.
  333. ; Default is "&".
  334. ;arg_separator.output = "&"

  335. ; List of separator(s) used by PHP to parse input URLs into variables.
  336. ; Default is "&".
  337. ; NOTE: Every character in this directive is considered as separator!
  338. ;arg_separator.input = ";&"

  339. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  340. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  341. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  342. ; values override older values.
  343. variables_order = "EGPCS"

  344. ; Whether or not to register the EGPCS variables as global variables.  You may
  345. ; want to turn this off if you don't want to clutter your scripts' global scope
  346. ; with user data.  This makes most sense when coupled with track_vars - in which
  347. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  348. ; variables.
  349. ;
  350. ; You should do your best to write your scripts so that they do not require
  351. ; register_globals to be on;  Using form variables as globals can easily lead
  352. ; to possible security problems, if the code is not very well thought of.
  353. register_globals = On

  354. ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
  355. ; and friends.  If you're not using them, it's recommended to turn them off,
  356. ; for performance reasons.
  357. register_long_arrays = On

  358. ; This directive tells PHP whether to declare the argv&argc variables (that
  359. ; would contain the GET information).  If you don't use these variables, you
  360. ; should turn it off for increased performance.
  361. register_argc_argv = On

  362. ; When enabled, the SERVER and ENV variables are created when they're first
  363. ; used (Just In Time) instead of when the script starts. If these variables
  364. ; are not used within a script, having this directive on will result in a
  365. ; performance gain. The PHP directives register_globals, register_long_arrays,
  366. ; and register_argc_argv must be disabled for this directive to have any affect.
  367. auto_globals_jit = On

  368. ; Maximum size of POST data that PHP will accept.
  369. post_max_size = 50M

  370. ; Magic quotes
  371. ;

  372. ; Magic quotes for incoming GET/POST/Cookie data.
  373. magic_quotes_gpc = On

  374. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  375. magic_quotes_runtime = Off

  376. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  377. magic_quotes_sybase = Off

  378. ; Automatically add files before or after any PHP document.
  379. auto_prepend_file =
  380. auto_append_file =

  381. ; As of 4.0b4, PHP always outputs a character encoding by default in
  382. ; the Content-type: header.  To disable sending of the charset, simply
  383. ; set it to be empty.
  384. ;
  385. ; PHP's built-in default is text/html
  386. default_mimetype = "text/html"
  387. ;default_charset = "iso-8859-1"

  388. ; Always populate the $HTTP_RAW_POST_DATA variable.
  389. ;always_populate_raw_post_data = On


  390. ;;;;;;;;;;;;;;;;;;;;;;;;;
  391. ; Paths and Directories ;
  392. ;;;;;;;;;;;;;;;;;;;;;;;;;

  393. ; UNIX: "/path1:/path2"
  394. ;include_path = ".:/php/includes"
  395. ;
  396. ; Windows: "\path1;\path2"
  397. ;include_path = ".;c:\php\includes"

  398. ; The root of the PHP pages, used only if nonempty.
  399. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  400. ; if you are running php as a CGI under any web server (other than IIS)
  401. ; see documentation for security issues.  The alternate is to use the
  402. ; cgi.force_redirect configuration below
  403. doc_root =

  404. ; The directory under which PHP opens the script using /~username used only
  405. ; if nonempty.
  406. user_dir =

  407. ; Directory in which the loadable extensions (modules) reside.
  408. extension_dir = "c:\PHP\ext"

  409. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  410. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  411. ; disabled on them.
  412. enable_dl = On

  413. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  414. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  415. ; turn it off here AT YOUR OWN RISK
  416. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  417. ; cgi.force_redirect = 1

  418. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  419. ; every request.
  420. ; cgi.nph = 1

  421. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  422. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  423. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  424. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  425. ; cgi.redirect_status_env = ;

  426. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
  427. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  428. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
  429. ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
  430. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
  431. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  432. ; cgi.fix_pathinfo=0

  433. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  434. ; security tokens of the calling client.  This allows IIS to define the
  435. ; security context that the request runs under.  mod_fastcgi under Apache
  436. ; does not currently support this feature (03/17/2002)
  437. ; Set to 1 if running under IIS.  Default is zero.
  438. ; fastcgi.impersonate = 1;

  439. ; Disable logging through FastCGI connection
  440. ; fastcgi.logging = 0

  441. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  442. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  443. ; is supported by Apache. When this option is set to 1 PHP will send
  444. ; RFC2616 compliant header.
  445. ; Default is zero.
  446. ;cgi.rfc2616_headers = 0


  447. ;;;;;;;;;;;;;;;;
  448. ; File Uploads ;
  449. ;;;;;;;;;;;;;;;;

  450. ; Whether to allow HTTP file uploads.
  451. file_uploads = On

  452. ; Temporary directory for HTTP uploaded files (will use system default if not
  453. ; specified).
  454. upload_tmp_dir ="c:\temp"

  455. ; Maximum allowed size for uploaded files.
  456. upload_max_filesize = 50M


  457. ;;;;;;;;;;;;;;;;;;
  458. ; Fopen wrappers ;
  459. ;;;;;;;;;;;;;;;;;;

  460. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  461. allow_url_fopen = On

  462. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
  463. allow_url_include = Off

  464. ; Define the anonymous ftp password (your email address)
  465. ;from="john@doe.com"

  466. ; Define the User-Agent string
  467. ; user_agent="PHP"

  468. ; Default timeout for socket based streams (seconds)
  469. default_socket_timeout = 60

  470. ; If your scripts have to deal with files from Macintosh systems,
  471. ; or you are running on a Mac and need to deal with files from
  472. ; unix or win32 systems, setting this flag will cause PHP to
  473. ; automatically detect the EOL character in those files so that
  474. ; fgets() and file() will work regardless of the source of the file.
  475. ; auto_detect_line_endings = Off


  476. ;;;;;;;;;;;;;;;;;;;;;;
  477. ; Dynamic Extensions ;
  478. ;;;;;;;;;;;;;;;;;;;;;;
  479. ;
  480. ; If you wish to have an extension loaded automatically, use the following
  481. ; syntax:
  482. ;
  483. ;   extension=modulename.extension
  484. ;
  485. ; For example, on Windows:
  486. ;
  487. ;   extension=msql.dll
  488. ;
  489. ; ... or under UNIX:
  490. ;
  491. ;   extension=msql.so
  492. ;
  493. ; Note that it should be the name of the module only; no directory information
  494. ; needs to go here.  Specify the location of the extension with the
  495. ; extension_dir directive above.


  496. ; Windows Extensions
  497. ; Note that ODBC support is built in, so no dll is needed for it.
  498. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
  499. ; extension folders as well as the separate PECL DLL download (PHP 5).
  500. ; Be sure to appropriately set the extension_dir directive.

  501. ;extension=php_bz2.dll
  502. ;extension=php_curl.dll
  503. ;extension=php_dba.dll
  504. ;extension=php_dbase.dll
  505. ;extension=php_exif.dll
  506. ;extension=php_fdf.dll
  507. extension=php_gd2.dll
  508. ;extension=php_gettext.dll
  509. ;extension=php_gmp.dll
  510. ;extension=php_ifx.dll
  511. ;extension=php_imap.dll
  512. ;extension=php_interbase.dll
  513. ;extension=php_ldap.dll
  514. extension=php_mbstring.dll
  515. ;extension=php_mcrypt.dll
  516. ;extension=php_mhash.dll
  517. ;extension=php_mime_magic.dll
  518. ;extension=php_ming.dll
  519. ;extension=php_msql.dll
  520. extension=php_mssql.dll
  521. extension=php_mysql.dll
  522. extension=php_mysqli.dll
  523. ;extension=php_oci8.dll
  524. ;extension=php_openssl.dll
  525. ;extension=php_pdo.dll
  526. ;extension=php_pdo_firebird.dll
  527. ;extension=php_pdo_mssql.dll
  528. ;extension=php_pdo_mysql.dll
  529. ;extension=php_pdo_oci.dll
  530. ;extension=php_pdo_oci8.dll
  531. ;extension=php_pdo_odbc.dll
  532. ;extension=php_pdo_pgsql.dll
  533. ;extension=php_pdo_sqlite.dll
  534. ;extension=php_pgsql.dll
  535. ;extension=php_pspell.dll
  536. ;extension=php_shmop.dll
  537. ;extension=php_snmp.dll
  538. ;extension=php_soap.dll
  539. ;extension=php_sockets.dll
  540. ;extension=php_sqlite.dll
  541. ;extension=php_sybase_ct.dll
  542. ;extension=php_tidy.dll
  543. ;extension=php_xmlrpc.dll
  544. ;extension=php_xsl.dll
  545. ;extension=php_zip.dll

  546. ;;;;;;;;;;;;;;;;;;;
  547. ; Module Settings ;
  548. ;;;;;;;;;;;;;;;;;;;

  549. [Date]
  550. ; Defines the default timezone used by the date functions
  551. ;date.timezone =

  552. ;date.default_latitude = 31.7667
  553. ;date.default_longitude = 35.2333

  554. ;date.sunrise_zenith = 90.583333
  555. ;date.sunset_zenith = 90.583333

  556. [filter]
  557. ;filter.default = unsafe_raw
  558. ;filter.default_flags =

  559. [iconv]
  560. ;iconv.input_encoding = ISO-8859-1
  561. ;iconv.internal_encoding = ISO-8859-1
  562. ;iconv.output_encoding = ISO-8859-1

  563. [sqlite]
  564. ;sqlite.assoc_case = 0

  565. [xmlrpc]
  566. ;xmlrpc_error_number = 0
  567. ;xmlrpc_errors = 0

  568. [Pcre]
  569. ;PCRE library backtracking limit.
  570. ;pcre.backtrack_limit=100000

  571. ;PCRE library recursion limit.
  572. ;Please note that if you set this value to a high number you may consume all
  573. ;the available process stack and eventually crash PHP (due to reaching the
  574. ;stack size limit imposed by the Operating System).
  575. ;pcre.recursion_limit=100000

  576. [Syslog]
  577. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  578. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  579. ; runtime, you can define these variables by calling define_syslog_variables().
  580. define_syslog_variables  = Off

  581. [mail function]
  582. ; For Win32 only.
  583. SMTP = localhost
  584. smtp_port = 25

  585. ; For Win32 only.
  586. ;sendmail_from = me@example.com

  587. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  588. ;sendmail_path =

  589. ; Force the addition of the specified parameters to be passed as extra parameters
  590. ; to the sendmail binary. These parameters will always replace the value of
  591. ; the 5th parameter to mail(), even in safe mode.
  592. ;mail.force_extra_parameters =

  593. [SQL]
  594. sql.safe_mode = Off

  595. [ODBC]
  596. ;odbc.default_db    =  Not yet implemented
  597. ;odbc.default_user  =  Not yet implemented
  598. ;odbc.default_pw    =  Not yet implemented

  599. ; Allow or prevent persistent links.
  600. odbc.allow_persistent = On

  601. ; Check that a connection is still valid before reuse.
  602. odbc.check_persistent = On

  603. ; Maximum number of persistent links.  -1 means no limit.
  604. odbc.max_persistent = -1

  605. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  606. odbc.max_links = -1

  607. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  608. ; passthru.
  609. odbc.defaultlrl = 4096

  610. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  611. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  612. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  613. odbc.defaultbinmode = 1

  614. [MySQL]
  615. ; Allow or prevent persistent links.
  616. mysql.allow_persistent = On

  617. ; Maximum number of persistent links.  -1 means no limit.
  618. mysql.max_persistent = -1

  619. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  620. mysql.max_links = -1

  621. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  622. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  623. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  624. ; at MYSQL_PORT.
  625. mysql.default_port =

  626. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  627. ; MySQL defaults.
  628. mysql.default_socket =

  629. ; Default host for mysql_connect() (doesn't apply in safe mode).
  630. mysql.default_host =

  631. ; Default user for mysql_connect() (doesn't apply in safe mode).
  632. mysql.default_user =

  633. ; Default password for mysql_connect() (doesn't apply in safe mode).
  634. ; Note that this is generally a *bad* idea to store passwords in this file.
  635. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  636. ; and reveal this password!  And of course, any users with read access to this
  637. ; file will be able to reveal the password as well.
  638. mysql.default_password =

  639. ; Maximum time (in seconds) for connect timeout. -1 means no limit
  640. mysql.connect_timeout = 60

  641. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  642. ; SQL-Errors will be displayed.
  643. mysql.trace_mode = Off

  644. [MySQLi]

  645. ; Maximum number of links.  -1 means no limit.
  646. mysqli.max_links = -1

  647. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
  648. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  649. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  650. ; at MYSQL_PORT.
  651. mysqli.default_port = 3306

  652. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  653. ; MySQL defaults.
  654. mysqli.default_socket =

  655. ; Default host for mysql_connect() (doesn't apply in safe mode).
  656. mysqli.default_host =

  657. ; Default user for mysql_connect() (doesn't apply in safe mode).
  658. mysqli.default_user =

  659. ; Default password for mysqli_connect() (doesn't apply in safe mode).
  660. ; Note that this is generally a *bad* idea to store passwords in this file.
  661. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
  662. ; and reveal this password!  And of course, any users with read access to this
  663. ; file will be able to reveal the password as well.
  664. mysqli.default_pw =

  665. ; Allow or prevent reconnect
  666. mysqli.reconnect = Off

  667. [mSQL]
  668. ; Allow or prevent persistent links.
  669. msql.allow_persistent = On

  670. ; Maximum number of persistent links.  -1 means no limit.
  671. msql.max_persistent = -1

  672. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  673. msql.max_links = -1

  674. [OCI8]
  675. ; enables privileged connections using external credentials (OCI_SYSOPER, OCI_SYSDBA)
  676. ;oci8.privileged_connect = Off

  677. ; Connection: The maximum number of persistent OCI8 connections per
  678. ; process. Using -1 means no limit.
  679. ;oci8.max_persistent = -1

  680. ; Connection: The maximum number of seconds a process is allowed to
  681. ; maintain an idle persistent connection. Using -1 means idle
  682. ; persistent connections will be maintained forever.
  683. ;oci8.persistent_timeout = -1

  684. ; Connection: The number of seconds that must pass before issuing a
  685. ; ping during oci_pconnect() to check the connection validity. When
  686. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
  687. ; pings completely.
  688. ;oci8.ping_interval = 60

  689. ; Tuning: This option enables statement caching, and specifies how
  690. ; many statements to cache. Using 0 disables statement caching.
  691. ;oci8.statement_cache_size = 20

  692. ; Tuning: Enables statement prefetching and sets the default number of
  693. ; rows that will be fetched automatically after statement execution.
  694. ;oci8.default_prefetch = 10

  695. ; Compatibility. Using On means oci_close() will not close
  696. ; oci_connect() and oci_new_connect() connections.
  697. ;oci8.old_oci_close_semantics = Off

  698. [PostgresSQL]
  699. ; Allow or prevent persistent links.
  700. pgsql.allow_persistent = On

  701. ; Detect broken persistent links always with pg_pconnect().
  702. ; Auto reset feature requires a little overheads.
  703. pgsql.auto_reset_persistent = Off

  704. ; Maximum number of persistent links.  -1 means no limit.
  705. pgsql.max_persistent = -1

  706. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  707. pgsql.max_links = -1

  708. ; Ignore PostgreSQL backends Notice message or not.
  709. ; Notice message logging require a little overheads.
  710. pgsql.ignore_notice = 0

  711. ; Log PostgreSQL backends Noitce message or not.
  712. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  713. pgsql.log_notice = 0

  714. [Sybase]
  715. ; Allow or prevent persistent links.
  716. sybase.allow_persistent = On

  717. ; Maximum number of persistent links.  -1 means no limit.
  718. sybase.max_persistent = -1

  719. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  720. sybase.max_links = -1

  721. ;sybase.interface_file = "/usr/sybase/interfaces"

  722. ; Minimum error severity to display.
  723. sybase.min_error_severity = 10

  724. ; Minimum message severity to display.
  725. sybase.min_message_severity = 10

  726. ; Compatibility mode with old versions of PHP 3.0.
  727. ; If on, this will cause PHP to automatically assign types to results according
  728. ; to their Sybase type, instead of treating them all as strings.  This
  729. ; compatibility mode will probably not stay around forever, so try applying
  730. ; whatever necessary changes to your code, and turn it off.
  731. sybase.compatability_mode = Off

  732. [Sybase-CT]
  733. ; Allow or prevent persistent links.
  734. sybct.allow_persistent = On

  735. ; Maximum number of persistent links.  -1 means no limit.
  736. sybct.max_persistent = -1

  737. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  738. sybct.max_links = -1

  739. ; Minimum server message severity to display.
  740. sybct.min_server_severity = 10

  741. ; Minimum client message severity to display.
  742. sybct.min_client_severity = 10

  743. [bcmath]
  744. ; Number of decimal digits for all bcmath functions.
  745. bcmath.scale = 0

  746. [browscap]
  747. ;browscap = extra/browscap.ini

  748. [Informix]
  749. ; Default host for ifx_connect() (doesn't apply in safe mode).
  750. ifx.default_host =

  751. ; Default user for ifx_connect() (doesn't apply in safe mode).
  752. ifx.default_user =

  753. ; Default password for ifx_connect() (doesn't apply in safe mode).
  754. ifx.default_password =

  755. ; Allow or prevent persistent links.
  756. ifx.allow_persistent = On

  757. ; Maximum number of persistent links.  -1 means no limit.
  758. ifx.max_persistent = -1

  759. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  760. ifx.max_links = -1

  761. ; If on, select statements return the contents of a text blob instead of its id.
  762. ifx.textasvarchar = 0

  763. ; If on, select statements return the contents of a byte blob instead of its id.
  764. ifx.byteasvarchar = 0

  765. ; Trailing blanks are stripped from fixed-length char columns.  May help the
  766. ; life of Informix SE users.
  767. ifx.charasvarchar = 0

  768. ; If on, the contents of text and byte blobs are dumped to a file instead of
  769. ; keeping them in memory.
  770. ifx.blobinfile = 0

  771. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
  772. ; NULL's are returned as string 'NULL'.
  773. ifx.nullformat = 0

  774. [Session]
  775. ; Handler used to store/retrieve data.
  776. session.save_handler = files

  777. ; Argument passed to save_handler.  In the case of files, this is the path
  778. ; where data files are stored. Note: Windows users have to change this
  779. ; variable in order to use PHP's session functions.
  780. ;
  781. ; As of PHP 4.0.1, you can define the path as:
  782. ;
  783. ;     session.save_path = "N;/path"
  784. ;
  785. ; where N is an integer.  Instead of storing all the session files in
  786. ; /path, what this will do is use subdirectories N-levels deep, and
  787. ; store the session data in those directories.  This is useful if you
  788. ; or your OS have problems with lots of files in one directory, and is
  789. ; a more efficient layout for servers that handle lots of sessions.
  790. ;
  791. ; NOTE 1: PHP will not create this directory structure automatically.
  792. ;         You can use the script in the ext/session dir for that purpose.
  793. ; NOTE 2: See the section on garbage collection below if you choose to
  794. ;         use subdirectories for session storage
  795. ;
  796. ; The file storage module creates files using mode 600 by default.
  797. ; You can change that by using
  798. ;
  799. ;     session.save_path = "N;MODE;/path"
  800. ;
  801. ; where MODE is the octal representation of the mode. Note that this
  802. ; does not overwrite the process's umask.
  803. session.save_path = "c:\temp"

  804. ; Whether to use cookies.
  805. session.use_cookies = 1

  806. ;session.cookie_secure =

  807. ; This option enables administrators to make their users invulnerable to
  808. ; attacks which involve passing session ids in URLs; defaults to 0.
  809. ; session.use_only_cookies = 1

  810. ; Name of the session (used as cookie name).
  811. session.name = PHPSESSID

  812. ; Initialize session on request startup.
  813. session.auto_start = 0

  814. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  815. session.cookie_lifetime = 0

  816. ; The path for which the cookie is valid.
  817. session.cookie_path = c:\temp

  818. ; The domain for which the cookie is valid.
  819. session.cookie_domain =

  820. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
  821. session.cookie_httponly =

  822. ; Handler used to serialize data.  php is the standard serializer of PHP.
  823. session.serialize_handler = php

  824. ; Define the probability that the 'garbage collection' process is started
  825. ; on every session initialization.
  826. ; The probability is calculated by using gc_probability/gc_divisor,
  827. ; e.g. 1/100 means there is a 1% chance that the GC process starts
  828. ; on each request.

  829. session.gc_probability = 1
  830. session.gc_divisor     = 100

  831. ; After this number of seconds, stored data will be seen as 'garbage' and
  832. ; cleaned up by the garbage collection process.
  833. session.gc_maxlifetime = 1440

  834. ; NOTE: If you are using the subdirectory option for storing session files
  835. ;       (see session.save_path above), then garbage collection does *not*
  836. ;       happen automatically.  You will need to do your own garbage
  837. ;       collection through a shell script, cron entry, or some other method.
  838. ;       For example, the following script would is the equivalent of
  839. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  840. ;          cd /path/to/sessions; find -cmin +24 | xargs rm

  841. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  842. ; to initialize a session variable in the global scope, albeit register_globals
  843. ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
  844. ; You can disable the feature and the warning separately. At this time,
  845. ; the warning is only displayed, if bug_compat_42 is enabled.

  846. session.bug_compat_42 = 1
  847. session.bug_compat_warn = 1

  848. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  849. ; HTTP_REFERER has to contain this substring for the session to be
  850. ; considered as valid.
  851. session.referer_check =

  852. ; How many bytes to read from the file.
  853. session.entropy_length = 0

  854. ; Specified here to create the session id.
  855. session.entropy_file =

  856. ;session.entropy_length = 16

  857. ;session.entropy_file = /dev/urandom

  858. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  859. ; or leave this empty to avoid sending anti-caching headers.
  860. session.cache_limiter = nocache

  861. ; Document expires after n minutes.
  862. session.cache_expire = 180

  863. ; trans sid support is disabled by default.
  864. ; Use of trans sid may risk your users security.
  865. ; Use this option with caution.
  866. ; - User may send URL contains active session ID
  867. ;   to other person via. email/irc/etc.
  868. ; - URL that contains active session ID may be stored
  869. ;   in publically accessible computer.
  870. ; - User may access your site with the same session ID
  871. ;   always using URL stored in browser's history or bookmarks.
  872. session.use_trans_sid = 0

  873. ; Select a hash function
  874. ; 0: MD5   (128 bits)
  875. ; 1: SHA-1 (160 bits)
  876. session.hash_function = 0

  877. ; Define how many bits are stored in each character when converting
  878. ; the binary hash data to something readable.
  879. ;
  880. ; 4 bits: 0-9, a-f
  881. ; 5 bits: 0-9, a-v
  882. ; 6 bits: 0-9, a-z, A-Z, "-", ","
  883. session.hash_bits_per_character = 4

  884. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  885. ; form/fieldset are special; if you include them here, the rewriter will
  886. ; add a hidden <input> field with the info which is otherwise appended
  887. ; to URLs.  If you want XHTML conformity, remove the form entry.
  888. ; Note that all valid entries require a "=", even if no value follows.
  889. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

  890. [MSSQL]
  891. ; Allow or prevent persistent links.
  892. mssql.allow_persistent = On

  893. ; Maximum number of persistent links.  -1 means no limit.
  894. mssql.max_persistent = -1

  895. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  896. mssql.max_links = -1

  897. ; Minimum error severity to display.
  898. mssql.min_error_severity = 10

  899. ; Minimum message severity to display.
  900. mssql.min_message_severity = 10

  901. ; Compatibility mode with old versions of PHP 3.0.
  902. mssql.compatability_mode = Off

  903. ; Connect timeout
  904. ;mssql.connect_timeout = 5

  905. ; Query timeout
  906. ;mssql.timeout = 60

  907. ; Valid range 0 - 2147483647.  Default = 4096.
  908. ;mssql.textlimit = 4096

  909. ; Valid range 0 - 2147483647.  Default = 4096.
  910. ;mssql.textsize = 4096

  911. ; Limits the number of records in each batch.  0 = all records in one batch.
  912. ;mssql.batchsize = 0

  913. ; Specify how datetime and datetim4 columns are returned
  914. ; On => Returns data converted to SQL server settings
  915. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  916. ;mssql.datetimeconvert = On

  917. ; Use NT authentication when connecting to the server
  918. mssql.secure_connection = Off

  919. ; Specify max number of processes. -1 = library default
  920. ; msdlib defaults to 25
  921. ; FreeTDS defaults to 4096
  922. ;mssql.max_procs = -1

  923. ; Specify client character set.
  924. ; If empty or not set the client charset from freetds.comf is used
  925. ; This is only used when compiled with FreeTDS
  926. ;mssql.charset = "ISO-8859-1"

  927. [Assertion]
  928. ; Assert(expr); active by default.
  929. ;assert.active = On

  930. ; Issue a PHP warning for each failed assertion.
  931. ;assert.warning = On

  932. ; Don't bail out by default.
  933. ;assert.bail = Off

  934. ; User-function to be called if an assertion fails.
  935. ;assert.callback = 0

  936. ; Eval the expression with current error_reporting().  Set to true if you want
  937. ; error_reporting(0) around the eval().
  938. ;assert.quiet_eval = 0

  939. [COM]
  940. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  941. ;com.typelib_file =
  942. ; allow Distributed-COM calls
  943. ;com.allow_dcom = true
  944. ; autoregister constants of a components typlib on com_load()
  945. ;com.autoregister_typelib = true
  946. ; register constants casesensitive
  947. ;com.autoregister_casesensitive = false
  948. ; show warnings on duplicate constant registrations
  949. ;com.autoregister_verbose = true

  950. [mbstring]
  951. ; language for internal character representation.
  952. ;mbstring.language = Japanese

  953. ; internal/script encoding.
  954. ; Some encoding cannot work as internal encoding.
  955. ; (e.g. SJIS, BIG5, ISO-2022-*)
  956. ;mbstring.internal_encoding = EUC-JP

  957. ; http input encoding.
  958. ;mbstring.http_input = auto

  959. ; http output encoding. mb_output_handler must be
  960. ; registered as output buffer to function
  961. ;mbstring.http_output = SJIS

  962. ; enable automatic encoding translation according to
  963. ; mbstring.internal_encoding setting. Input chars are
  964. ; converted to internal encoding by setting this to On.
  965. ; Note: Do _not_ use automatic encoding translation for
  966. ;       portable libs/applications.
  967. ;mbstring.encoding_translation = Off

  968. ; automatic encoding detection order.
  969. ; auto means
  970. ;mbstring.detect_order = auto

  971. ; substitute_character used when character cannot be converted
  972. ; one from another
  973. ;mbstring.substitute_character = none;

  974. ; overload(replace) single byte functions by mbstring functions.
  975. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  976. ; etc. Possible values are 0,1,2,4 or combination of them.
  977. ; For example, 7 for overload everything.
  978. ; 0: No overload
  979. ; 1: Overload mail() function
  980. ; 2: Overload str*() functions
  981. ; 4: Overload ereg*() functions
  982. ;mbstring.func_overload = 0

  983. [FrontBase]
  984. ;fbsql.allow_persistent = On
  985. ;fbsql.autocommit = On
  986. ;fbsql.show_timestamp_decimals = Off
  987. ;fbsql.default_database =
  988. ;fbsql.default_database_password =
  989. ;fbsql.default_host =
  990. ;fbsql.default_password =
  991. ;fbsql.default_user = "_SYSTEM"
  992. ;fbsql.generate_warnings = Off
  993. ;fbsql.max_connections = 128
  994. ;fbsql.max_links = 128
  995. ;fbsql.max_persistent = -1
  996. ;fbsql.max_results = 128

  997. [gd]
  998. ; Tell the jpeg decode to libjpeg warnings and try to create
  999. ; a gd image. The warning will then be displayed as notices
  1000. ; disabled by default
  1001. ;gd.jpeg_ignore_warning = 0

  1002. [exif]
  1003. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  1004. ; With mbstring support this will automatically be converted into the encoding
  1005. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  1006. ; is used. For the decode settings you can distinguish between motorola and
  1007. ; intel byte order. A decode setting cannot be empty.
  1008. ;exif.encode_unicode = ISO-8859-15
  1009. ;exif.decode_unicode_motorola = UCS-2BE
  1010. ;exif.decode_unicode_intel    = UCS-2LE
  1011. ;exif.encode_jis =
  1012. ;exif.decode_jis_motorola = JIS
  1013. ;exif.decode_jis_intel    = JIS

  1014. [Tidy]
  1015. ; The path to a default tidy configuration file to use when using tidy
  1016. ;tidy.default_config = /usr/local/lib/php/default.tcfg

  1017. ; Should tidy clean and repair output automatically?
  1018. ; WARNING: Do not use this option if you are generating non-html content
  1019. ; such as dynamic images
  1020. tidy.clean_output = Off

  1021. [soap]
  1022. ; Enables or disables WSDL caching feature.
  1023. soap.wsdl_cache_enabled=1
  1024. ; Sets the directory name where SOAP extension will put cache files.
  1025. soap.wsdl_cache_dir="/tmp"
  1026. ; (time to live) Sets the number of second while cached file will be used
  1027. ; instead of original one.
  1028. soap.wsdl_cache_ttl=86400

  1029. ; Local Variables:
  1030. ; tab-width: 4
  1031. ; End:
复制代码
其中temp目录设置everyone network service 读取修改权限,问题依旧.
各位达人与站长投票下自己服务器的配置与解决办法~~
头疼了.实在不行只有重新安装win2003了,不过说实话已经2年没重装过了
单选投票, 共有 7 人参与投票
71.43% (5)
0.00% (0)
28.57% (2)
0.00% (0)
您所在的用户组没有投票权限
 楼主| fanmaochen 发表于 2008-6-14 23:21:19 | 显示全部楼层
暂时我去掉了eaa加速...关注测试中
回复

使用道具 举报

gcafrk 发表于 2008-11-12 00:45:47 | 显示全部楼层
我也去掉了EACCELERATOR加速,服务器就非常正常了。

期待后面的版本能够解决这个麻烦的问题。
回复

使用道具 举报

pubcn 发表于 2009-12-14 11:18:38 | 显示全部楼层
这个问题很明显是eaccelerator和php不搭造成的 之前测试过很多次了!!去掉eaccelerator就可以了 换别的缓存器
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-30 01:32 , Processed in 0.913733 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表