amphp / postgres

Async Postgres client for PHP based on Amp.
MIT License
96 stars 20 forks source link

Warning: this package doesn't work on PHP 7.4.1 #22

Closed enumag closed 4 years ago

enumag commented 4 years ago

This is ofc a PHP bug which I already reported, I don't think you can do anything about it. Just warning you that this package doesn't work at all on PHP 7.4.1.

Feel free to close this.

enumag commented 4 years ago

Note it only seems to happen with the event extension. Using uv instead seems to work.

trowski commented 4 years ago

So is it that the event extension doesn't work with 7.4?

enumag commented 4 years ago

It was fine until I started using pgsql extension. Also it only happens on ubuntu, alpine is fine.

As for pq extension, that doesn't build for 7.4 at all.

enumag commented 4 years ago

Then I have some problem with uv segfaulting on alpine... So far the only way I can work is to use ext-uv locally and ext-event in my alpine Dockerfile. Then it works. For now.

trowski commented 4 years ago

So it sounds a bit like the issues are actually with ext-uv and/or ext-event on 7.4.x, more than any specific issue with this package (or amphp in general)?

enumag commented 4 years ago

Yeah looks like it. I just encountered the problem only when using this package.

trowski commented 4 years ago

Closing this then. Please report the issues on the appropriate extensions, thanks!