logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: PHP 8.4.1, 8.3.14, 8.2.26, 8.1.31, 8.0.30, 7.4-7.0, 5.6-5.3 Page Previous  1, 2, 3 ... 16, 17, 18, 19  Next
Author
Zachary_blackjyn



Joined: 08 Dec 2018
Posts: 3

PostPosted: Thu 15 Dec '22 8:55    Post subject: RAR Reply with quote

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: 1266
Location: Amsterdam, NL, EU

PostPosted: Thu 15 Dec '22 10:42    Post subject: Reply with quote

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: 1266
Location: Amsterdam, NL, EU

PostPosted: Thu 15 Dec '22 14:23    Post subject: Reply with quote

PHP 8.2.0 added
Back to top
Zachary_blackjyn



Joined: 08 Dec 2018
Posts: 3

PostPosted: Sat 17 Dec '22 12:45    Post subject: Reply with quote

Jan-E wrote:
PHP 8.2.0 added


Thank you! The warnings are gone now! Very Happy
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Mon 26 Dec '22 19:49    Post subject: Reply with quote

Remi Collet backports most of the important security fixes to PHP 5.6 up until PHP 7.4:
https://github.com/remicollet/php-src-security
My builds are based on Remi's repo.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Thu 09 Feb '23 7:40    Post subject: Reply with quote

Updated all PHP 7.2+ versions to OpenSSL 1.1.1t.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Fri 17 Feb '23 21:29    Post subject: Reply with quote

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: 1266
Location: Amsterdam, NL, EU

PostPosted: Fri 17 Feb '23 21:31    Post subject: Reply with quote

Backported security patches for PHP 5.6 up until PHP 7.4. See https://github.com/remicollet/php-src-security/branches
Back to top
Denitz



Joined: 03 Mar 2023
Posts: 3

PostPosted: Fri 03 Mar '23 22:53    Post subject: Reply with quote

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: 1266
Location: Amsterdam, NL, EU

PostPosted: Sat 04 Mar '23 1:11    Post subject: Reply with quote

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: 1266
Location: Amsterdam, NL, EU

PostPosted: Sat 04 Mar '23 1:39    Post subject: Reply with quote

Or try the php_curl.dll from the previous builds. For instance:

https://phpdev.toolsforresearch.com/php-8.2.2-nts-Win32-vs16-x64.htm
https://phpdev.toolsforresearch.com/php-8.2.2-nts-Win32-vs16-x64.zip

That one was compiled with curl 7.87.0. The only dependencies in my builds are the OpenSSL dll’s. See the snapshot.txt inside the zips:
Code:
Module: php_curl.dll
===========================
   libcrypto-1_1-x64.dll
   libssl-1_1-x64.dll

Be careful with mixing my 8.2.x builds with recent 8.2.x builds by php.net. Those are compiled with OpenSSL 3.x.


Last edited by Jan-E on Sat 04 Mar '23 3:04; edited 1 time in total
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Sat 04 Mar '23 2:57    Post subject: Reply with quote

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

PostPosted: Sat 04 Mar '23 8:33    Post subject: Reply with quote

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: 1266
Location: Amsterdam, NL, EU

PostPosted: Sat 04 Mar '23 10:50    Post subject: Reply with quote

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

PostPosted: Sat 04 Mar '23 13:52    Post subject: Reply with quote

Thank you @Jan-E, the new release works well on my side Smile
Back to top
Denitz



Joined: 03 Mar 2023
Posts: 3

PostPosted: Mon 06 Mar '23 17:10    Post subject: Reply with quote

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: 1266
Location: Amsterdam, NL, EU

PostPosted: Mon 06 Mar '23 18:09    Post subject: Reply with quote

Could you describe a reproducable case with the failure?
Back to top
Denitz



Joined: 03 Mar 2023
Posts: 3

PostPosted: Wed 08 Mar '23 13:09    Post subject: Reply with quote

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: 1266
Location: Amsterdam, NL, EU

PostPosted: Fri 10 Mar '23 13:15    Post subject: Reply with quote

Denitz wrote:
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

This should be solved in Curl 7.88.1 which is in my builds since Feb-21st. See https://github.com/curl/curl/issues/10561#ref-commit-a6506f2
Back to top
lubber



Joined: 14 Jun 2023
Posts: 2
Location: Germany

PostPosted: Wed 14 Jun '23 7:52    Post subject: Phalcon Extension PHP 8.2+ Reply with quote

@Jan-E
Could you please add the phalcon extension to your portfolio ? Smile

it seems starting with PHP 8.2+ the phalcon guys seem to have trouble getting the extension compiled for windows as they say "many other extensions are also not compiled".
Well, as you most probably have all of their needed ones compiled already, i was hoping you could help them out (or/and include the phalcon extension in your builds as well)

https://github.com/phalcon/cphalcon/issues/16318#issuecomment-1497238389
https://github.com/orgs/phalcon/discussions/16292#discussioncomment-5126153
Back to top


Reply to topic   Topic: PHP 8.4.1, 8.3.14, 8.2.26, 8.1.31, 8.0.30, 7.4-7.0, 5.6-5.3 View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads Page Previous  1, 2, 3 ... 16, 17, 18, 19  Next