亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: zlib和zend沖突嗎 [打印本頁(yè)]

作者: 小雨    時(shí)間: 2008-10-24 18:46
標(biāo)題: zlib和zend沖突嗎
有程序生成靜態(tài)過程需要gzip支持,于是在php.ini中開始了zlib.output_compression = On,但開啟這項(xiàng)后,另外的zend過的代碼不能運(yùn)行了,輸入地址提示文件下載,
再zlib.output_compression = Off,靜態(tài)化又不成了,這雜辦?

是配置搞錯(cuò)了嗎?
附zlib.output_compression = On    php.ini


  1. [PHP]

  2. ;;;;;;;;;;;;;;;;;;;;
  3. ; Language Options ;
  4. ;;;;;;;;;;;;;;;;;;;;

  5. ; Enable the PHP scripting language engine under Apache.
  6. engine = On

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

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

  16. ; Allow ASP-style <% %> tags.
  17. asp_tags = Off

  18. ; The number of significant digits displayed in floating point numbers.
  19. precision    =  12

  20. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  21. y2k_compliance = Off

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

  30. ; You can redirect all of the output of your scripts to a function.  For
  31. ; example, if you set output_handler to "mb_output_handler", character
  32. ; encoding will be transparently converted to the specified encoding.
  33. ; Setting any output handler automatically turns on output buffering.
  34. ; Note: People who wrote portable scripts should not depend on this ini
  35. ;       directive. Instead, explicitly set the output handler using ob_start().
  36. ;       Using this ini directive may cause problems unless you know what script
  37. ;       is doing.
  38. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  39. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression".
  40. ; Note: output_handler must be empty if this is set 'On' !!!!
  41. ;       Instead you must use zlib.output_handler.
  42. ;output_handler =

  43. ; Transparent output compression using the zlib library
  44. ; Valid values for this option are 'off', 'on', or a specific buffer size
  45. ; to be used for compression (default is 4KB)
  46. ; Note: Resulting chunk size may vary due to nature of compression. PHP
  47. ;       outputs chunks that are few hundreds bytes each as a result of
  48. ;       compression. If you prefer a larger chunk size for better
  49. ;       performance, enable output_buffering in addition.
  50. ; Note: You need to use zlib.output_handler instead of the standard
  51. ;       output_handler, or otherwise the output will be corrupted.
  52. zlib.output_compression = On
  53. ;zlib.output_compression_level = -1

  54. ; You cannot specify additional output handlers if zlib.output_compression
  55. ; is activated here. This setting does the same as output_handler but in
  56. ; a different order.
  57. ;zlib.output_handler =

  58. ; Implicit flush tells PHP to tell the output layer to flush itself
  59. ; automatically after every output block.  This is equivalent to calling the
  60. ; PHP function flush() after each and every call to print() or echo() and each
  61. ; and every HTML block.  Turning this option on has serious performance
  62. ; implications and is generally recommended for debugging purposes only.
  63. implicit_flush = Off

  64. ; The unserialize callback function will be called (with the undefined class'
  65. ; name as parameter), if the unserializer finds an undefined class
  66. ; which should be instantiated.
  67. ; A warning appears if the specified function is not defined, or if the
  68. ; function doesn't include/implement the missing class.
  69. ; So only set this entry, if you really want to implement such a
  70. ; callback-function.
  71. unserialize_callback_func=

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

  76. ; Whether to enable the ability to force arguments to be passed by reference
  77. ; at function call time.  This method is deprecated and is likely to be
  78. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  79. ; specifying which arguments should be passed by reference is in the function
  80. ; declaration.  You're encouraged to try and turn this option Off and make
  81. ; sure your scripts work properly with it in order to ensure they will work
  82. ; with future versions of the language (you will receive a warning each time
  83. ; you use this feature, and the argument will be passed by value instead of by
  84. ; reference).
  85. allow_call_time_pass_reference = On

  86. [Zend]
  87. zend_optimizer.optimization_level=15
  88. zend_extension_manager.optimizer="/usr/local/lib/php/20060613/Optimizer"
  89. zend_extension_manager.optimizer_ts="/usr/local/lib/php/20060613/Optimizer_TS"
  90. zend_extension="/usr/local/lib/php/20060613/ZendExtensionManager.so"
  91. zend_extension_ts="/usr/local/lib/php/20060613/ZendExtensionManager_TS.so"


復(fù)制代碼

作者: 林中居民    時(shí)間: 2008-10-24 18:54
提示: 作者被禁止或刪除 內(nèi)容自動(dòng)屏蔽




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2