XCache is a fast, stable PHP opcode cacher that has been proven and is now running on production servers under high load. https://xcache.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

275 lines
12 KiB

  1. 3.1.0 2013-10-10
  2. ChangeLog
  3. ========
  4. * added support for PHP_5_5 (cacher, optimizer, disassembler)
  5. * cacher:
  6. * closed #228: allow using var caching for cli to share data between child processes
  7. * compatible with pcntl_fork()
  8. * fixed support for __FILE__ __DIR__ to correctly handle files that got moved/hardlinked (this fix is now move out of xcache.experimental)
  9. * disassembler:
  10. * fixed crash with nested sandbox
  11. * improved support for PHP_4 ~ PHP_5_4, also added support for PHP_5_5
  12. * admin
  13. * make mkpassword.php easier for noob
  14. * optimizer
  15. * rewrite try/catch handling to fix nested try/catch
  16. 3.0.4 2013-10-10
  17. ChangeLog
  18. ========
  19. * cacher
  20. * fixed #324: xcache.readonly_protection = Off cause SEGV under mass concurrent
  21. * fixed #323: refix locking impl for threaded env
  22. * build
  23. * win32: fix build with no indent.exe nor cat.exe
  24. 3.0.3 2013-06-18
  25. ChangeLog
  26. ========
  27. * clean files in release (fix htdocs config)
  28. 3.0.2 2013-06-10
  29. ChangeLog
  30. ========
  31. * cacher:
  32. * fixed #296: (PHP5.4+ only bug), racecondition Multiple instances of the same software causes PHP "cannot redeclare class" errors when readonly_protection is not in use
  33. * fixed #301: refix locking impl
  34. * fixed #307: compatible with Zend Debugger which requires to be installed after Zend Extension Manager
  35. * admin
  36. * fixed #303: tablesort.js not found in Diagnosis and Coverager
  37. * misc
  38. * fixed #297: segv on startup under sparc, ini setting overflow
  39. 3.0.1 2013-01-11
  40. ChangeLog
  41. ========
  42. * cacher:
  43. * fixed crash when cache is too small on start up
  44. * fixed #295: crash using traits with PHP 5.4.8+
  45. * fix random crash when cache is reinitialized yet failed (Thanks to Brad Baker for generating crash dump)
  46. * fix locking impl: improve stability on threaded env (Thanks to Mircea Nicolae for reproducing the bug)
  47. * optimizer:
  48. * (PHP_5_4) fix ZEND_JMP_SET_VAR
  49. * (PHP_5_4) fix for goto
  50. * diagnosis:
  51. * undefined variable when ini is not found
  52. * misc:
  53. * fixed #290: workaround phpize vs fbsd make bug again
  54. * improve compatibility with "the ionCube PHP Loader", Zend Optimizer
  55. 3.0.0 2012-10-29
  56. API Changes
  57. ========
  58. * chg: proto array xcache_clear_cache(int type, [ int id = -1 ]). -1 means all cache splits
  59. * new: proto array xcache_enable_cache(int type, [ int id = -1, [ bool enable = true ] ])
  60. * new: proto array xcache_admin_namespace()
  61. * new: proto array xcache_set_namespace(string namespace)
  62. Ini Settings Changes
  63. ========
  64. * new: xcache.disable_on_crash = Off
  65. * new: xcache.coverager_autostart = On
  66. * new: xcache.allocator = bestfit (no other option value yet)
  67. * new: xcache.var_allocator = bestfit (no other option value yet)
  68. * new: xcache.var_namespace_mode = 0
  69. * new: xcache.var_namespace = ""
  70. ChangeLog
  71. ========
  72. * cacher:
  73. * closed #2 (auto disable caching on crash)
  74. * closed #174 (updated api to support "clear all cache")
  75. * closed #198 (support for caching protocol url)
  76. * closed #287 (namespace support)
  77. * cache can be enabled/disabled manually
  78. * coverager:
  79. * fixed #39 (ini_set never work for xcache.coverager setting. use API instead)
  80. * code refactor
  81. * use extension= to load XCache. loading via zend_extension= is unsupported
  82. * split XCache features into multiple sub modules
  83. * admin:
  84. * updated XCache admin page
  85. * adds an diagnosis module to give professional advise, accessable via htdocs pages
  86. * misc:
  87. * (>=PHP_5_3) closed #73 (warn for improper PHP_FCGI_CHILDREN setting fcgi mode)
  88. 2.0.1 2012-07-14
  89. ChangeLog
  90. ========
  91. * fixed #279: segv when cache is full (since 2.0)
  92. * fixed #281: subsequenc request segv when timeout happens during compiling
  93. * admin/ config changed. please update accordingly
  94. * WIN32: kill invalidate CRT parameters on shutdown
  95. * fixed: <=PHP_5_2 duplicate error message failed to include file
  96. * fixed #283: XCache admin APIs (admin page) cause SEGV if XCache failed to initize
  97. * fixed possible re-include a file by mixing include/include_once
  98. * fixed #264, #284: __FILE__ __DIR__ handling for moved/hardlinked files (set "xcache.experimental = on" to eanble this fix)
  99. 2.0.0 2012-04-20
  100. Ini Settings Changes
  101. ========
  102. * new: xcache.experimental = Off
  103. ChangeLog
  104. ========
  105. * support for PHP_5_4
  106. * reduce memory usage by caching 1 for multiple same content files
  107. * correct __FILE__ __DIR__ supported for hardlinked files
  108. * fixed #275: one line struct definition was confusing struct parser
  109. * fixed #102: segv when var cacher is too small
  110. * fixed #55: segv php tokenizer on certain special situation
  111. * fixed #278: admin page: wrong layout in opera
  112. * compiler errors: all compiler warning (E_STRICT only currently) is now cached and is supported for user handler
  113. * tests/bug52160.phpt: report multiple error correctly
  114. 1.3.2 2011-06-04
  115. ========
  116. * avoid possible filename injection in admin page
  117. * adds 30 seconds timeout to "compiling" flag
  118. * decompiler: improved decompiling
  119. * disassembler: improper handling of null field
  120. * disassembler: DECLARE_INHERITED_CLASS/DELAYED class not found
  121. * disassembler: don't dump builtin functions
  122. * fix win32 build against win32 native gnu tools
  123. * compatibility fix: fix segv on shutdown when ionCube Loader is loaded
  124. * fixed undefined index for xcache.count=1 and xcache.var_size>1
  125. * fixed #258: builtin constant memory leak on compile
  126. 1.3.1 2010-11-27
  127. ========
  128. * 2G/4G limitation on 64bit arch
  129. * xcache_unset matching e.g. prefixed_ values
  130. 1.3.0 2009-08-04
  131. == ChangeLog ==
  132. * PHP 5.3 support
  133. * fixed #138: no segv if cache is not initialized correctly
  134. * default to 64M for xcache.size in xcache.ini
  135. * could not show module info in admin page when XCache is the last module
  136. * wrong http auth realm
  137. * coverager: font-size and newline fix for firefox
  138. * admin page is now magic quote gpc aware
  139. 1.2.2 2007-12-29
  140. == ChangeLog ==
  141. * added module dependency
  142. * live with wrong system time: allow caching files with mtime in further
  143. * bug fix for compatibility with Zend Optimizer and other non-cachable
  144. * #59: Maximum execution time of 60 seconds exceeded
  145. * #102: segv when var cacher is too small
  146. * #55: segv php tokenizer on certain special situation
  147. 1.2.1 2007-07-01
  148. == Ini Settings Changes ==
  149. * new: xcache.admin.enable_auth = On
  150. == ChangeLog ==
  151. * #86: remove/edit variable in admin page
  152. * fixed #109: fast inc/dec was trying to break ro protection
  153. * fixed #101, #105: Fixed compatibility issue for apache 1.x
  154. * fixed #94: Garbage collector disabled when xcache.cacher set to off
  155. * fixed #92: Zend Optimizer compatibility issue
  156. * fixed #77: hits/misses was not updated
  157. * fixed #59: pass by reference for internal function was broken
  158. * fixed #56: xcache_set segfaults when xcache.var_size=0
  159. ========
  160. 1.2.0 2006-12-10
  161. Ini Settings Changes
  162. ========
  163. * new: xcache.stat = On
  164. * new: xcache.coverager = Off
  165. * chg: xcache.coveragedump_directory default to ""
  166. * del: xcache.coveragedumper = Off
  167. New APIs
  168. ========
  169. * array xcache_coverager_decode(string data)
  170. * void xcache_coverager_start([bool clean = true])
  171. * void xcache_coverager_stop([bool clean = false])
  172. * array xcache_coverager_get([bool clean = false])
  173. ChangeLog
  174. ========
  175. * [290] [291] [292] build with the m4 on solaris
  176. * [283] removed zend_append_version_info. not needed after [282]
  177. * [282] fix possible alloca() scope problem in lock
  178. * [281] keep config.nice on make xcachesvnclean
  179. * [279] fixed #48, was leaking info when cacher is not enabled by size
  180. * [280] [278] trunk: fix coredump on shutdown when loaded as "extension" and after "suhosin" or "zend optimizer". thanks to Alex, Cristian and Esser
  181. * [271] fix auto detection of php-cli/php-cgi for test
  182. * [270] make [269] pass test cases
  183. * [269] do not destruct shallow copied tmp_auto_globals. also improve copying of other hash tables
  184. * [268] full compatible with auto_globals_jit, no need to disable it in ini from now on
  185. * [250] fixed css class on switcher
  186. * [231] fix zval reference handling
  187. * [230] update dprint support, added configure option: --enable-xcache-dprint
  188. * [228] more robust coverager
  189. * [227] cacher: remove redundant open_basedir check which broke php-src/ext/standard/tests/file/bug24313.phpt
  190. * [221] cacher: fix eleak in op_array non-shadow-copy (readonly_protection=on)
  191. * [220] fixed #36, Bug in inherited static class variables
  192. * [219] fix prototype for readonly_protection=off, fix testcase Zend/tests/bug37632.phpt
  193. * [217] kill leak warning on debug build
  194. * [216] avoid crash on php compiler error
  195. * [215] add `make xcachetest` to run xcache enabled test
  196. * [214] [212] fixed #41, early class binding
  197. * [272] [267] [263] [200] fixes for php6
  198. * [224] [193] kill 64bit warning when self test is enabled
  199. * [190] trick to load and work with zend optimizer
  200. * [189] call op_array_ctor handler on restore to be more compatible with other zend_extension
  201. * [257] [183] xcache module is not required by coverage viewer any more
  202. * [165] xcache.stat support to allow tuning off stat (new ini)
  203. * [164] better way to handle system level ini settings so it can be display in phpinfo standardly
  204. 1.1.0 2006-11-11
  205. * merged [254] fix xcache.var_ttl displaying in info, fix xcache_get for ttl-unlimited
  206. * merged [250] admin: fix switcher class on active
  207. * merged [249] return 0 s instead of empty for deltatime
  208. * merged [201] coverager: avoid crash when upstream failed to compile file
  209. * merged from trunk: 159,161-162,167-180,182,184,186-187,194
  210. * [194] PHP_5_2: new element in zend_brk_cont_element
  211. * [186] [187] fix build on some rare arch
  212. * [184] fix tplcov
  213. * [178] fix type processor_t conflict with Mac OS X
  214. * remove redundant open_basedir check, it's done before compiling
  215. * trick in_compilation state, don't trigger __autoload at compile time
  216. * FIX conflict between sandbox and user error handler
  217. * [154] fix segv on MSHUTDOWN
  218. * [153] win32/vc build fix
  219. * [150] avoid crash when OOM on mem_realloc
  220. * [148] reconstruct shm/allocator
  221. * [147] show module info in statistics page
  222. * [146] avoid reading of uninitialized data. thanks to valgrind
  223. * [144] compat size displaying in admin page func
  224. * [143] fixed string parameter parsing arg type for disassembler functions. thanks to check_paramaters.php
  225. * [141] fix cache clear corruption bug
  226. * [140] fix refcount on cache #1 #2 …
  227. * [133] admin-page: be more friendly if XCache isn't loaded
  228. * [132] fix zts on calling destroy_op_array
  229. * [131] move open_files out of sandbox, it's not needed
  230. * [130] improve locking for compile
  231. * [137] [138] changed the coding way of unlinking list. fixed ttl expires dead loop
  232. * [114] gc expired items, new ini: xcache.ttl xcache.gc_interval xcache.var_ttl …
  233. * [126] fix xcache_isset reported by http://forum.lighttpd.net/topic/1397
  234. * [119] fix leak in xcache.test=1; XCACHE_VERSION/XCACHE_MODULES length off-by-one
  235. * [118] show gc countdown in admin page
  236. * [113] zts build fix
  237. * [112] avoid crash when OOM on mem_(calloc|realloc|strndup)
  238. * [108] update percent bar to vertical/avail
  239. * [107] show XCache version in admin page
  240. * [105] trigger jit on $_SERVER when needed
  241. * [101] note: xcache.mmap_path is a file
  242. * [100] FIX: alloc'ed wrong size for string on restore
  243. * [99] sohosin compatible & TSRM fix.
  244. * [96] remove tailing \0 in filename of administration html output. reported by …
  245. * [94] PHP_5_2: __tostring cache was MFH by php
  246. * [93] try to show both count/size assert before abort
  247. * [92] PHP_5_2: auto module_global is maintained by php engine
  248. * [90] [91] kill compiler warnings
  249. * [87] XCACHE_INDENT fallback
  250. * [84] handle without inodes
  251. * [79] fix messy XCACHE_MAP_FAILED checking
  252. * [78] catch up with PHP_5_2, zend_property_info.ce
  253. * [77] leakcheck
  254. (not all changesets is list here)