php-ext-lz4
php-ext-lz4 copied to clipboard
LZ4 Extension for PHP
make: *** No rule to make target `/opt/php-ext-lz4-0.3.5/lz4/lib/lz4.c', needed by `lz4/lib/lz4.lo'. Stop.
I think it would be worthwhile submitting this to PECL https://pecl.php.net/account-request.php
php-ext-lz4-0.3.5/lz4.c:35:17: fatal error: lz4.h: No such file or directory #include "lz4.h" #include "lz4hc.h"
if uncompressed data is passed to lz uncompress function , it return nothing so it will be good if uncompress data like say 1234 is passed it return same 1234...
I'm using php 5.6.x not 5.5.x It's not seem to be supported php 5.6.x ``` sh root@ecommerce:/usr/local/src/xdebug-2.3.2# php -v PHP Warning: PHP Startup: lz4: Unable to initialize module Module compiled...
The code for reproducing issue: $json_output = base64_decode('{"header":{"code":2003004,"exe_time":"0.0135","info":"product not exist","desc":"Productdoes not exist.","template":{"message":""},"debug":{"file":"\/home\/work\/data\/www\/shopapi.xiaomi.com\/server\/api\/model\/ShoppingModel.php","line":734},"compress":"lz4compress.1"},"body":[],"times":{"redis":{"shopapi_misc":{"conn":["0.0022"],"read":["0.0015","0.0011"]},"pms_cart":{"conn":["0.0006"],"read":["0.0013"]}}}}"'); var_dump($json_output); $json_output = lz4_uncompress($json_output);
When following the build instructions. I did not find phpize or configure files. I found also that I can not compile it through make as the make file is in...
Anything on the roadmap here?
I am not sure if this should be an issue or if it is intended behavior. The lz4 frames produced by this extension do not have the expected lz4 magic...