peachpie icon indicating copy to clipboard operation
peachpie copied to clipboard

feature: redis extension

Open vvtll opened this issue 3 years ago • 6 comments

can we implement the php redis extension in peachpie?

vvtll avatar Jan 12 '22 13:01 vvtll

Did you try to use the vendor lib Predis? Predis is a PHP implementation that "does not require any additional C extension by default".

See...

  • https://packagist.org/packages/predis/predis
  • https://github.com/predis/predis

menturion avatar Jan 29 '22 13:01 menturion

Did you try to use the vendor lib Predis? Predis is a PHP implementation that "does not require any additional C extension by default".

See...

  • https://packagist.org/packages/predis/predis
  • https://github.com/predis/predis

Yes,I try.But the Predis use a lot of _destruct function,now Peachpie can not support that.

vvtll avatar Jan 29 '22 13:01 vvtll

I see.

It is a pity that such a popular library with 111 392 852 installs still does not work on PeachPie.

menturion avatar Jan 29 '22 16:01 menturion

We try to implement stuff as needed by our clients or by the community. So far nobody requested this, so we are noting it ;)

bfistein avatar Jan 29 '22 16:01 bfistein

@vvtll is the support for __destruct() needed for proper functionality?

is there anything else not working we can do in PeachPie?

jakubmisek avatar Jan 29 '22 16:01 jakubmisek

nothing.predis just use sream_socket to use redis ,that works fine in peachpie

avriltank avatar Jan 29 '22 16:01 avriltank