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.5.0 RC5, 8.4.15 RC1, 8.3.28 RC1 available Page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Author
Jan-E



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

PostPosted: Fri 25 Jul '25 16:28    Post subject: Reply with quote

Volker Dusch in php.general (Thu, 17 Jul 2025 14:46:36 +0200):
Quote:
PHP 8.5.0alpha2 has just been released and may be downloaded from
https://downloads.php.net/~edorian/

Or use the git tag: php-8.5.0alpha2

Windows binaries are available at: https://windows.php.net/qa/

Please test it carefully, and report any bugs at
https://github.com/php/php-src/issues/new?template=bug_report.yml on GitHub.

8.5.0alpha3 should be expected in 2 weeks, i.e. on 31 Jul 2025.
Hash values and PGP signatures can be found below or at
https://gist.github.com/edorian/be165326301ab2b6b0bf18bb88123fa0

Thank you, and happy testing!

Regards,
Volker Dusch, Daniel Scherzer, and Pierrick Charron
Windows binaries with more extensions are also available in the topic: https://www.apachelounge.com/viewtopic.php?t=6617
Back to top
Jan-E



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

PostPosted: Thu 07 Aug '25 0:22    Post subject: Reply with quote

Significant change for PHP 8.5+: OPcache will be compiled statically into PHP. You will have to remove ‘zend_extension=opcache’ from php.ini for PHP 8.5 and upwards.
See PHP 8.5.0 alpha 4 now. Backgroundinfo: https://externals.io/message/127643


Last edited by Jan-E on Thu 20 Nov '25 1:44; edited 1 time in total
Back to top
jimski



Joined: 18 Jan 2014
Posts: 203
Location: USSA

PostPosted: Mon 22 Sep '25 5:53    Post subject: Reply with quote

@Jan-E, The PHP nts binaries 8.5.0 on Windows 10 VS17, are throwing errors pertaining to some PHP extensions.
This is the binary throwing errors:
https://phpdev.toolsforresearch.com/php-8.5.0alpha4-nts-Win32-vs17-x64.zip
The older binaries 8.4.11 nts are throwing the same errors.
The following errors are reported in php_error.log:

[20-Sep-2025 21:02:02 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ffmpeg' (tried: E:\Server\PHP\ext\ffmpeg (The specified module could not be found), E:\Server\PHP\ext\php_ffmpeg.dll (The specified module could not be found)) in Unknown on line 0
[20-Sep-2025 21:02:02 UTC] PHP Warning: Missing arginfo for xxhash32() in Unknown on line 0
[20-Sep-2025 21:02:02 UTC] PHP Warning: Missing arginfo for xxhash64() in Unknown on line 0
[20-Sep-2025 21:02:02 UTC] PHP Warning: Missing arginfo for xxhash64Unsigned() in Unknown on line 0

The php_ffmpeg.dll is present in the \ext folder together with all other extensions, so the error "module could not be found" is most likely related to the the fact that ffmpeg was built different way than the core PHP.

Please see my post about the same problem with older binaries: https://www.apachelounge.com/viewtopic.php?p=43752#43752
Back to top
_ck_



Joined: 05 Aug 2015
Posts: 7

PostPosted: Wed 19 Nov '25 21:15    Post subject: Reply with quote

Requesting a simple patch for php 8.5 to allow it to run on older windows installs please?

There's a change in the way GetCurrentThreadStackLimits is called

it breaks with
Quote:
"The procedure entry point GetCurrentThreadStackLimits could not be located in the dynamic link library KERNEL32.dll"


but a simple edit gives an easy workaround

https://github.com/php/php-src/issues/12762

https://stackoverflow.com/questions/52403473/get-current-used-stack-size-for-win7/52404641

for some reason they never applied this fix upstream so it has to be done during custom build

Figure it cannot hurt to ask?

Thanks for considering and many thanks for all the builds over the years...
Back to top
nono303



Joined: 20 Dec 2016
Posts: 216
Location: Lille, FR, EU

PostPosted: Thu 20 Nov '25 9:14    Post subject: Reply with quote

Hi @_ck_
Quote:
for some reason they never applied this fix upstream so it has to be done during custom build

Reasons had been explained by @ndossche on #12762
Here is the "working" patch for PHP 8.5 on Win 7 (understand exec & tests fine but with potential runtime and security issues)

Note that it's not anymore a simple edit and in my opinion, usage is strongly discouraged.
Back to top
Jan-E



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

PostPosted: Fri 21 Nov '25 15:52    Post subject: Reply with quote

nono303 wrote:
Note that it's not anymore a simple edit and in my opinion, usage is strongly discouraged.

I totally agree. I recompiled 8.5.0RC5 with the win7 patch from https://gist.github.com/nono303/be0f9b3f04da2ee921b938a0ab8f1e74 but will not recompile releases. As long as the patch applies I will compile future RC's with the patch.
Back to top
_ck_



Joined: 05 Aug 2015
Posts: 7

PostPosted: Sat 22 Nov '25 0:21    Post subject: Reply with quote

Jan-E wrote:
I recompiled 8.5.0RC5 with the win7 patch


Many thanks!

That was AWESOME and it works like a charm, saved me so much time and sanity

and just to help the next person, the VC runtimes for 14.44 from the regular Microsoft download will refuse to install below Windows10

However these VCRedist 14.44 versions direct from Microsoft will install on ANY Windows

VCRedist 14.44.35211.0

x86: https://download.visualstudio.microsoft.com/download/pr/73aabf2e-9532-4f68-99f7-3247081a619c/0C09F2611660441084CE0DF425C51C11E147E6447963C3690F97E0B25C55ED64/VC_redist.x86.exe

x64: https://download.visualstudio.microsoft.com/download/pr/73aabf2e-9532-4f68-99f7-3247081a619c/CC0FF0EB1DC3F5188AE6300FAEF32BF5BEEBA4BDD6E8E445A9184072096B713B/VC_redist.x64.exe

(found the direct links searching https://github.com/microsoft/winget-pkgs )


Last edited by _ck_ on Sat 22 Nov '25 0:35; edited 1 time in total
Back to top
Jan-E



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

PostPosted: Sat 22 Nov '25 0:30    Post subject: Reply with quote

_ck_ wrote:
and just to help the next person, the VC runtimes for 14.44 from the regular Microsoft download will refuse to install below Windows10

However these VCRedist 14.44 versions direct from Microsoft will install on ANY Windows
Not on Windows XP. Yes. I tried
Back to top
_ck_



Joined: 05 Aug 2015
Posts: 7

PostPosted: Sat 22 Nov '25 0:39    Post subject: Reply with quote

okay I lol'd

somewhere there are ATMs still running XP, I've seen them reboot

there are some die-hard fans out there probably on reddit who could make XP VCredist happen but not worth the effort

I actually have a windows7 box running next to a windows10 box but I never missed XP

thanks goodness for LTSC because win11 is never going to happen, will become 100% linux by then
Back to top
jimski



Joined: 18 Jan 2014
Posts: 203
Location: USSA

PostPosted: Tue 25 Nov '25 2:54    Post subject: Reply with quote

_ck_ wrote:
okay I lol'd

I actually have a windows7 box running next to a windows10 box but I never missed XP

thanks goodness for LTSC because win11 is never going to happen, will become 100% linux by then


I missed XP! and I also run Win 7 along 10 and 11 and Linux. Apache on XP outperforms every single subsequent windows release by 15-30%. Win 10 with disabled Defender is still 15-20% slower than win XP.

As of 2025 there is not a single version of windows that can host a web server with a reasonable performance. Apache on winodws delivers 10 times lower performance (in dynamic requests per second) than on Linux, and IIS in not much better. And to make it worse MS discontinued PHP releases for IIS and is officially not supporting PHP (although it is still possible to run it) If MS continues this practice they will lose server market share for web hosting even more, and Linux already has 80% to 90% of this market (estimates vary)
Back to top


Reply to topic   Topic: PHP 8.5.0 RC5, 8.4.15 RC1, 8.3.28 RC1 available View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads Page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10