Req #63880 [Com]: Implement xz compression

From: Date: Tue, 08 May 2018 17:47:07 +0000
Subject: Req #63880 [Com]: Implement xz compression
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215163@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63880&edit=1 ID: 63880 Comment by: theo dot fidry at gmail dot com Reported by: tobias at freiwuppertal dot de Summary: Implement xz compression Status: Open Type: Feature/Change Request Package: *Compression related Operating System: Irrelevant PHP Version: 7.1.0 Block user comment: N Private report: N New Comment: Hi, If that feature is ever supported (which I hope and would be awesome), it would also be a nice addition to add it as a possible compression mode for PHARs as well (see https://github.com/humbug/box/issues/211#issuecomment-387480271) Previous Comments: ------------------------------------------------------------------------ [2017-06-03 07:28:15] asmqb7 at gmail dot com Wanted to bump this and request that - Some tests are written to provide some reassurance that the extension is not so likely to bomb out under production load (case in point: one of the latest commits (from 4 years ago!) is "Fix SIGSEGV."!!) - Stream compression be properly supported - the use case I wanted to use this for is not strictly file-based (I'm doing my own file/protocol/format management). - LZMA format options be surfaced - Low-level functionality such as (for example) LZMA protocol streams (not PHP streams!) are exposed for people who need to shove a lot of data through LZMA2 with fine control Thanks so much for contributing LZMA2 support to PHP. There are no other extensions that support this form of compression. FWIW, because php-xz does not support #2 above I'll have to look for other solutions :( so I'm just adding this to the record to note the kind of demand that's out there. ------------------------------------------------------------------------ [2016-12-07 14:43:06] tobias at freiwuppertal dot de By the way, ironically, php itself (!) is distributed as an xz-compressed archive: https://secure.php.net/downloads.php ------------------------------------------------------------------------ [2016-12-07 14:37:35] tobias at freiwuppertal dot de Defining a version number to make people aware of this bug. 2013-01-01! ------------------------------------------------------------------------ [2013-02-25 16:31:35] tobias at freiwuppertal dot de Starred & watching :-) ------------------------------------------------------------------------ [2013-02-25 01:51:09] payden at paydensutherland dot com I've only had a couple of days so far, so I must stress that this is probably very buggy and I do NOT recommend running this extension on anything considered production, but feel free to test it out on a development machine, i.e. your personal Linux box. :) Also, you'll be able to follow my progress with it if you want: https://github.com/payden/php-xz ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=63880 -- Edit this bug report at https://bugs.php.net/bug.php?id=63880&edit=1

« previous php.bugs (#215163) next »