PHP 8.5.12 **lightly** tested only

79 views
Skip to first unread message

Paul Smedley

unread,
Oct 30, 2026, 5:30:34 AM (10 days ago) Oct 30
to eCS ISP Mailing List, Apache HTTP Server for OS/2
Hey folks,

I got PHP 8.5.12 compiling today and even resolved the issues with
/dev/urandom that were present in the 8.3.x builds from late 2024 (wow,
has it really been that long?).

Anyways, this has been very lightly tested here with a mantis and
phpmyadmin setup on my bare metal box.

https://smedley.id.au/tmp/php-8.5.12-os2-20261030.zip

One thing to take note of is that the php bz2 module has been renamed
from bz2.dll to phpbz2.dll to avoid clashes with the rpm module that has
the same dll name.

Cheers,

Paul

David McKenna

unread,
Oct 30, 2026, 6:28:24 AM (10 days ago) Oct 30
to Apache for OS/2
Paul,

  I get this error in my Popuplog when I try to start the server with this version of php:

10-30-2026  06:01:48  SYS2070  PID 213b  TID 0001  Slot 00a8
C:\PROGRAMS\APACHE24\BIN\HTTPD.EXE
INTL->ICUUC._ubrk_clone
127

  What version of icuuc.dll are you using? Mine is dated 12/10/2020. I believe all my libs are up to date with ANPM.

Regards,

David McKenna

unread,
Oct 30, 2026, 2:29:04 PM (9 days ago) Oct 30
to Apache for OS/2
OK, I disabled the INTL php module (used by Wordpress, but not strictly required) and now Apache starts and everything works (except iMagick, which I guess would need to be built for php 8.5). Maybe our icu is too old for php 8.5? Anyway, I'll run with this for awhile and see how it holds up. Thanks a lot!

Regards,

Paul Smedley

unread,
Oct 30, 2026, 4:29:24 PM (9 days ago) Oct 30
to apa...@googlegroups.com
Hey Dave,

On 30/10/26 20:58, David McKenna wrote:
> Paul,
>
>   I get this error in my Popuplog when I try to start the server with
> this version of php:
>
> 10-30-2026  06:01:48  SYS2070  PID 213b  TID 0001  Slot 00a8
> C:\PROGRAMS\APACHE24\BIN\HTTPD.EXE
> INTL->ICUUC._ubrk_clone
> 127
>
>   What version of icuuc.dll are you using? Mine is dated 12/10/2020. I
> believe all my libs are up to date with ANPM.
>
{1}[u:\dev\php-8.5.x] chkdll32 modules\intl.dll
Loading DLL 'libcn0' --> C:\USR\LIB\LIBCN0.DLL.
Loading DLL 'php' --> C:\INTERNET\PHP8\PHP.DLL.
Loading DLL 'icuin' --> C:\USR\LIB\ICUIN.DLL.
Loading DLL 'icuuc' --> C:\USR\LIB\ICUUC.DLL.
Loading DLL 'stdcpp6' --> C:\USR\LIB\STDCPP6.DLL.
Loading DLL 'icuio' --> C:\USR\LIB\ICUIO.DLL.
Loading DLL 'doscalls' --> loaded.
Loading DLL 'libcx0' --> C:\USR\LIB\LIBCX0.DLL.
All DLL's used by 'modules\intl.dll' could be loaded.

{0}[u:\dev\php-8.5.x] dir C:\USR\LIB\ICUUC.DLL

 Volume in drive C is ARCAOS         Serial number is 0941:45C0
 Directory of  C:\USR\LIB\ICUUC.DLL

24/11/24   6:57       2,405,630    124  icuuc.dll
       2,405,630 bytes in 1 file and 0 dirs

David McKenna

unread,
Oct 30, 2026, 5:18:37 PM (9 days ago) Oct 30
to Apache for OS/2
Paul,

  Do you remember where you got that file? On the BWW github repository, it shows libicu was last updated in 2020, but your file is dated 2024...

Regards,

Paul Smedley

unread,
Oct 30, 2026, 6:05:36 PM (9 days ago) Oct 30
to apa...@googlegroups.com

Hey Dave,

I guess I built it locally and installed into /usr/lib not /usr/local/lib (which is not a great idea) - I'll reinstall the rpm icu and rebuild php

Cheers,

Paul

--
You received this message because you are subscribed to the Google Groups "Apache for OS/2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apache2+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/apache2/e5bea9a0-1b62-432a-a363-21788630b8fbn%40googlegroups.com.

Paul Smedley

unread,
Oct 30, 2026, 6:14:13 PM (9 days ago) Oct 30
to apa...@googlegroups.com

David McKenna

unread,
Oct 30, 2026, 6:39:49 PM (9 days ago) Oct 30
to Apache for OS/2
Wow, that was fast! But... I still get the same POPUPLOG. Looking at the files, they seem to be the same ones from the previous package - was there some kind of mixup?

Paul Smedley

unread,
Oct 30, 2026, 8:15:33 PM (9 days ago) Oct 30
to apa...@googlegroups.com

Soz.... try again... 

1) I forgot that apache/php were running so the DLL was locked when I reinstalled icu

2) I forgot to reinstall the devel libs

I'm pretty sure that the refreshed https://smedley.id.au/tmp/php-8.5.12-os2-20261031.zip should fix this..

Cheers,

Paul

David McKenna

unread,
Oct 30, 2026, 8:40:33 PM (9 days ago) Oct 30
to Apache for OS/2
Thanks again - this one works great - Apache starts and Wordpress no longer moans about missing intl.dll. I've been using your updated httpd.dll for several hours now too, and don't see any obvious difference, plus or minus. Any chance for an iMagick module for php 8.5?

Regards,

Paul Smedley

unread,
Oct 30, 2026, 8:48:10 PM (9 days ago) Oct 30
to apa...@googlegroups.com

Hi Dave,

https://smedley.id.au/tmp/imagick-3.8.1-os2-php-8.5-20261031.zip

re: updated httpd.dll - were you seeing any issues with apache2 stability previously?

Cheers,

Paul

David McKenna

unread,
Oct 31, 2026, 8:54:01 AM (9 days ago) Oct 31
to Apache for OS/2
Thanks Paul! Now Wordpress is firing on all cylinders and with the new Apache and php 8.5 it obviously is performing much better - faster response and so far no crashes.This is fantastic! Amazing it actually works on OS/2!

  I did see some stability issues with Apache before  this new 2.4.69 version - it would get overwhelmed by 'attacks' by bots on occasion and crash or hang. Also, Wordpress really leans hard on it and would occasionally crash when working with it. Now it seems much more robust - at least so far.

  One (possible?) issue I see - right after starting the server this warning is posted in the Apache error log:

Zend OPcache requires Zend Engine API version 420210902.
The Zend Engine API version 420250925 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.

 Didn't get this before. So far I don't see a problem, but not clear how this might mess up anything...

Regards,

Massimo S.

unread,
Oct 31, 2026, 12:09:50 PM (9 days ago) Oct 31
to apa...@googlegroups.com
Il 31/10/2026 13:54, David McKenna ha scritto:
> Thanks Paul! Now Wordpress is firing on all cylinders and with the new Apache and php 8.5 it obviously is
> performing much better - faster response and so far no crashes.This is fantastic! Amazing it actually works on
> OS/2!
>
>   I did see some stability issues with Apache before  this new 2.4.69 version - it would get overwhelmed by
> 'attacks' by bots on occasion and crash or hang. Also, Wordpress really leans hard on it and would
> occasionally crash when working with it. Now it seems much more robust - at least so far.

Me too i've seen performances improvement even also on the web server with only static (html/js) websites.

massimo

>   One (possible?) issue I see - right after starting the server this warning is posted in the Apache error log:
>
> Zend OPcache requires Zend Engine API version 420210902.
> The Zend Engine API version 420250925 which is installed, is newer.
> Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
>
>  Didn't get this before. So far I don't see a problem, but not clear how this might mess up anything...
>
> Regards,
>
> On Friday, October 30, 2026 at 8:48:10 PM UTC-4 Paul Smedley wrote:
>
> __
>>>>> <https://groups.google.com/d/msgid/apache2/e5bea9a0-1b62-432a-a363-21788630b8fbn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>> --
>>>> You received this message because you are subscribed to the Google Groups "Apache for OS/2" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to
>>>> apache2+u...@googlegroups.com.
>>>> To view this discussion visit
>>>> https://groups.google.com/d/msgid/apache2/d1dc8645-892d-4f69-95e9-62c690d6cacd%40smedley.id.au
>>>> <https://groups.google.com/d/msgid/apache2/d1dc8645-892d-4f69-95e9-62c690d6cacd%40smedley.id.au?utm_medium=email&utm_source=footer>.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "Apache for OS/2" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to
>>> apache2+u...@googlegroups.com.
>>> To view this discussion visit
>>> https://groups.google.com/d/msgid/apache2/9c4120e4-4d37-441e-8b63-4bf608b5c404n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/apache2/9c4120e4-4d37-441e-8b63-4bf608b5c404n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Apache for OS/2" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to
>> apache2+u...@googlegroups.com.
>> To view this discussion visit
>> https://groups.google.com/d/msgid/apache2/d56bca63-e5ff-4bb1-a2fd-dff0496ea078n%40googlegroups.com
>> <https://groups.google.com/d/msgid/apache2/d56bca63-e5ff-4bb1-a2fd-dff0496ea078n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "Apache for OS/2" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> apache2+u...@googlegroups.com <mailto:apache2+u...@googlegroups.com>.
> To view this discussion visit
> https://groups.google.com/d/msgid/apache2/09d945d9-fab8-4db9-a66d-aa8f79449808n%40googlegroups.com
> <https://groups.google.com/d/msgid/apache2/09d945d9-fab8-4db9-a66d-aa8f79449808n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Paul Smedley

unread,
Oct 31, 2026, 5:15:56 PM (8 days ago) Oct 31
to apa...@googlegroups.com

I'm going to guess your opcache.dll is from an older PHP? opcache.dll didn't get built with 8.5 as I had to pass the flag --disable-opcache-jit to configure and seems that disable building the module.

David McKenna

unread,
Oct 31, 2026, 5:58:19 PM (8 days ago) Oct 31
to Apache for OS/2
Ah - you're right. It is left over from a previous php (8.1? - dated 10/26/2026, not 10/30). Anyway, it seems to work (so far) - it is used by Wordpress. Wonder why it doesn't build with 8.5...

Regards,

Paul Smedley

unread,
Nov 1, 2026, 2:12:18 AM (8 days ago) Nov 1
to apa...@googlegroups.com

David McKenna

unread,
Nov 1, 2026, 6:45:08 AM (8 days ago) Nov 1
to Apache for OS/2
Hey Paul,

  The 1101 archive seems to be missing a bunch of stuff (including the opcache dll)...

Regards,

Paul Smedley

unread,
Nov 1, 2026, 2:47:09 PM (7 days ago) Nov 1
to apa...@googlegroups.com

David McKenna

unread,
Nov 1, 2026, 4:16:28 PM (7 days ago) Nov 1
to Apache for OS/2
Paul,

  Something is SNAFU - it still is missing stuff just like before...

Regards,

Paul Smedley

unread,
Nov 1, 2026, 5:15:16 PM (7 days ago) Nov 1
to apa...@googlegroups.com

Third time (or is it 4th) is a charm? same link even though it's the second here

David McKenna

unread,
Nov 1, 2026, 7:06:17 PM (7 days ago) Nov 1
to Apache for OS/2
 This one has more stuff, but still no opcache.dll (or intl.dll, or any pdo_*.dll)....

Regards,

Paul Smedley

unread,
Nov 2, 2026, 3:14:08 AM (7 days ago) Nov 2
to apa...@googlegroups.com

OK, mea culta...

As I mentioned in my first post, I'm having some build issues and have some manual workarounds in place. Once of those is an inst.cmd which copies DLL's into place (aplibtool.exe is moving the .lib not the .dll - even though it *used* to work). Anyway - I made some typos in that script which covers off on intl.dll and the 2x pdo*.dll. On opcache.dll I was wrong about there *ever* being an opcache.dll on PHP 8.5. It's built *statically* into php.dll and there is no option to build it shared.

You can see this is you load phpinfo(); 

https://smedley.id.au/tmp/php-8.5.12-os2-20261102.zip should be complete.

Cheers,

Paul

David McKenna

unread,
Nov 2, 2026, 6:02:06 AM (7 days ago) Nov 2
to Apache for OS/2
Awesome, thanks Paul! Everything is working great with this one. I'll remove opcache from php.ini too...

Regards,
Reply all
Reply to author
Forward
0 new messages