m6w6 / ext-http

Extended HTTP Support
BSD 2-Clause "Simplified" License
79 stars 22 forks source link

Potential compilation error with PHP 8.4 #137

Closed HeenaBansal20 closed 2 months ago

HeenaBansal20 commented 2 months ago

pecl_http throws below error with PHP 8.4 alpha2 .

/tmp/pear/temp/pecl_http/src/php_http_message_body.c:15:10: fatal error: ext/standard/php_lcg.h: No such file or directory | #include "ext/standard/php_lcg.h" | ^~~~~~~~ compilation terminated. make: *** [Makefile:293: src/php_http_message_body.lo] Error 1 ERROR: `make' failed

m6w6 commented 2 months ago

Fixed in 62d6ead5b2baa151bc3cdd158a85677ff3ba4e5e

HeenaBansal20 commented 2 months ago

Thanks @m6w6 for the quick fix. I see that fix is available in master . Would it be possible for you release it so that I can use the fix for my application to compile with http extension.

HeenaBansal20 commented 1 month ago

@m6w6 , Any ETA when the new version from master branch would be available to use publicly.

m6w6 commented 1 month ago

Well, there are still the looming crashes with curl >= 8.9 https://github.com/m6w6/ext-http/actions/runs/11019460899

HeenaBansal20 commented 2 weeks ago

@m6w6 , I am looking for the fix to be released. We have RC3 out for pHP 8.4. Any ETA when this fix will be released.