Author |
|
Zachary_blackjyn
Joined: 08 Dec 2018 Posts: 3
|
Posted: Thu 15 Dec '22 8:55 Post subject: RAR |
|
|
I was able to download PHP 8.2 bundle
I add php_rar to the php.ini and when checked the php version via CLI , this warning occured :
Code: | PHP Warning: RarArchive::__toString() implemented without string return type in
Unknown on line 0
Warning: RarArchive::__toString() implemented without string return type in Unkn
own on line 0
PHP Warning: RarEntry::__toString() implemented without string return type in U
nknown on line 0
Warning: RarEntry::__toString() implemented without string return type in Unknow
n on line 0 |
Help? |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
Posted: Thu 15 Dec '22 10:42 Post subject: |
|
|
Thanks for the heads up. It made me look in the php-rar sources if there already was a patch for PHP 8.2. There was, but it is not merged yet:
https://github.com/cataphract/php-rar/pull/18
So I applied the patch in my own build environment. Recompiling PHP 8.2.0 and 8.2.1RC1 now, both in 4 versions. When done I will add the links to the initial post. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
Posted: Thu 15 Dec '22 14:23 Post subject: |
|
|
PHP 8.2.0 added |
|
Back to top |
|
Zachary_blackjyn
Joined: 08 Dec 2018 Posts: 3
|
Posted: Sat 17 Dec '22 12:45 Post subject: |
|
|
Jan-E wrote: | PHP 8.2.0 added |
Thank you! The warnings are gone now! |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
Posted: Thu 09 Feb '23 7:40 Post subject: |
|
|
Updated all PHP 7.2+ versions to OpenSSL 1.1.1t. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
Posted: Fri 17 Feb '23 21:29 Post subject: |
|
|
Updated to curl 7.88.0. Next Monday 7.88.1 will be released, the last release before curl 8.0.0 (due 20th March 2023).
See also https://github.com/winlibs/cURL/issues/17 |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
|
Back to top |
|
Denitz
Joined: 03 Mar 2023 Posts: 3
|
Posted: Fri 03 Mar '23 22:53 Post subject: |
|
|
Curl is not working in all 8.x.x-nts-Win32-vs16-x64 packages, I see error:
cURL error 6: getaddrinfo() thread failed
Tested with php-8.0.28-nts-Win32-vs16-x64, php-8.1.16-nts-Win32-vs16-x64.zip, php-8.2.3-nts-Win32-vs16-x64
php-7.4.33-nts-Win32-vc15-x64 works fine
All was working fine before prev versions. Definitely not firewall or smth else. Using Apache with fcgid_module
Win 10, recent. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
Posted: Sat 04 Mar '23 1:11 Post subject: |
|
|
Do you get the same error with the official builds at https://windows.php.net/download/ ? Load the php_curl.dll from those zips and put the curl.dll in the directory with your php.exe.
Do you have a cacert.pem installed and put the right directive in your php.ini? Something like
Quote: | [cUrl]
curl.cainfo=c:\php\cacert.pem |
|
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
Posted: Sat 04 Mar '23 2:57 Post subject: |
|
|
I ran the tests for php_curl.dll in PHP 8.0.28 NTS x64. No errors:
Code: | =====================================================================
Number of tests : 121 113
Tests skipped : 8 ( 6.6%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Tests passed : 113 ( 93.4%) (100.0%)
---------------------------------------------------------------------
Time taken : 274 seconds
===================================================================== |
Sorry, I cannot reproduce your problems. |
|
Back to top |
|
jfcherng
Joined: 17 Jun 2019 Posts: 11 Location: Taiwan
|
Posted: Sat 04 Mar '23 8:33 Post subject: |
|
|
Hi @Jan-E, could you please compile the ds extension for php8.2? I am able to compile the 1.4.0 version with php8.2 on Linux and there is no one complain it's incompatible with php8.2 so I assume it's also compile-able on Windows for php8.2 too. Thanks. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
Posted: Sat 04 Mar '23 10:50 Post subject: |
|
|
Hmm. I had explicitely excluded it from 8.1 onwards back in the times of 8.1 alfa’s. Cannot remember why. But it seems to compile OK now, at least for PHP 8.2.3 NTS x86. Recompiling all 12 variants of PHP 8 now. Will be there in a couple of hours.
Edit 1.5 hours later: please check the builds now. |
|
Back to top |
|
jfcherng
Joined: 17 Jun 2019 Posts: 11 Location: Taiwan
|
Posted: Sat 04 Mar '23 13:52 Post subject: |
|
|
Thank you @Jan-E, the new release works well on my side |
|
Back to top |
|
Denitz
Joined: 03 Mar 2023 Posts: 3
|
Posted: Mon 06 Mar '23 17:10 Post subject: |
|
|
Jan-E wrote: | I ran the tests for php_curl.dll in PHP 8.0.28 NTS x64. No errors:
Code: | =====================================================================
Number of tests : 121 113
Tests skipped : 8 ( 6.6%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Tests passed : 113 ( 93.4%) (100.0%)
---------------------------------------------------------------------
Time taken : 274 seconds
===================================================================== |
Sorry, I cannot reproduce your problems. |
Yes, I have valid curl.cainfo in my php.ini.
Tested php-8.1.16-nts-Win32-vs16-x64 - have error
Replaced php_curl.dll from php-8.1.15-nts-Win32-vs16-x64 - all is fine.
Definitely there is a problem with 8.1.6, 8.0.x and 8.2.x |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
Posted: Mon 06 Mar '23 18:09 Post subject: |
|
|
Could you describe a reproducable case with the failure? |
|
Back to top |
|
Denitz
Joined: 03 Mar 2023 Posts: 3
|
Posted: Wed 08 Mar '23 13:09 Post subject: |
|
|
It's just any curl operation fails and the curl error is "getaddrinfo() thread failed to start"
Some similar info here:
https://github.com/curl/curl/issues/6495 |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1265 Location: Amsterdam, NL, EU
|
|
Back to top |
|
lubber
Joined: 14 Jun 2023 Posts: 2 Location: Germany
|
|
Back to top |
|