php-firebird icon indicating copy to clipboard operation
php-firebird copied to clipboard

firebird ext and mac m1 error

Open sund1 opened this issue 2 years ago • 1 comments

mac m1 pro ventura 13.5.1

After running brew upgrade and changing the PHP (https://github.com/shivammathur/homebrew-php) version from 7.3.33_4 (Build Date Jan 21, 2023 07:29:21) to 7.3.33_7 (Build Date Sep 1, 2023 02:37:03) ICU4C version also changed from 72.1 to 73.2.

Now, the ibase_* functions are not working with nginx+php. I am getting the error: [error] 580#0: *17 kevent() reported about a closed connection (54: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9073", host: "localhost".

However, when I run the functions via terminal using php script.php, everything works fine. I tried changing the Firebird version to 5 (it was 3.0.10), but the same error persists.

What else can I try to resolve this issue?

sund1 avatar Oct 23 '23 17:10 sund1

I resolved the problem this way https://github.com/shivammathur/homebrew-php/issues/2139

sund1 avatar Nov 27 '23 10:11 sund1