PHP 8.1.11 Update

12 views
Skip to first unread message

Paul Smedley

unread,
Oct 4, 2022, 5:58:32 AM10/4/22
to Apache HTTP Server for OS/2
Hey guys,

https://smedley.id.au/tmp/php-8.1.11-os2-20221004.zip

More modules moved from php.dll to separate modules.

Attempted fix for Lewis's sem file issue with opcache.

Cheers,

Paul

David McKenna

unread,
Oct 9, 2022, 6:47:53 PM10/9/22
to Apache for OS/2
Hey Paul,

  Thanks for this update... especially for the new modules. Working well here. Hope to test Wordpress updates which have never worked in the past - always thought it was a Linux Vs. OS/2 file permissions issue...

Regards,

David McKenna

unread,
Oct 13, 2022, 12:46:02 PM10/13/22
to Apache for OS/2
Hey Paul,

  Since upgrading to php 8.1.11, I have been noticing the occasional exception usually when using Wordpress, and also when I shutdown Apache I get an exception. Not show stoppers, but thought I should report... I'll attach some logs.

Regards,

6347d85c-cbdf_01-HTTPD-exceptq.txt
63480662-cbdd_01-HTTPD-exceptq.txt
6347d85a-cbde_01-HTTPD-exceptq.txt
apache error_log
POPUPLOG.OS2

Paul Smedley

unread,
Oct 13, 2022, 5:07:55 PM10/13/22
to apa...@googlegroups.com
Hey Dave,

This looks to be coming from my 'fix' for
https://mantis.smedley.id.au/view.php?id=773

index 53c7b61f..a3f1b997 100644
--- a/ext/opcache/zend_shared_alloc.c
+++ b/ext/opcache/zend_shared_alloc.c
@@ -302,6 +302,9 @@ void zend_shared_alloc_shutdown(void)
g_shared_alloc_handler = NULL;
#ifndef ZEND_WIN32
close(lock_file);
+#ifdef __OS2__
+ unlink(lock_file);
+#endif

# ifdef ZTS
tsrm_mutex_free(zts_lock);

I'll have another think about this...

Cheers,

Paul

On 14/10/22 03:16, David McKenna wrote:
> Hey Paul,
>
>   Since upgrading to php 8.1.11, I have been noticing the occasional
> exception usually when using Wordpress, and also when I shutdown Apache
> I get an exception. Not show stoppers, but thought I should report...
> I'll attach some logs.
>
> Regards,
>
> On Sunday, October 9, 2022 at 6:47:53 PM UTC-4 David McKenna wrote:
>
> Hey Paul,
>
>   Thanks for this update... especially for the new modules. Working
> well here. Hope to test Wordpress updates which have never worked in
> the past - always thought it was a Linux Vs. OS/2 file permissions
> issue...
>
> Regards,
>
> On Tuesday, October 4, 2022 at 5:58:32 AM UTC-4 Paul Smedley wrote:
>
> Hey guys,
>
> https://smedley.id.au/tmp/php-8.1.11-os2-20221004.zip
> <https://smedley.id.au/tmp/php-8.1.11-os2-20221004.zip>
>
> More modules moved from php.dll to separate modules.
>
> Attempted fix for Lewis's sem file issue with opcache.
>
> 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
> <mailto:apache2+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/apache2/14f65895-8c98-4fe9-a31a-3db6b1b76694n%40googlegroups.com <https://groups.google.com/d/msgid/apache2/14f65895-8c98-4fe9-a31a-3db6b1b76694n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Paul Smedley

unread,
Oct 13, 2022, 5:14:25 PM10/13/22
to apa...@googlegroups.com
Hey All,

ugggh - lock_file is an file descriptor, not a file name.....

I'll revert this and come up with a better fix...

Cheers,

Paul

Paul Smedley

unread,
Oct 13, 2022, 5:44:18 PM10/13/22
to apa...@googlegroups.com

David McKenna

unread,
Oct 14, 2022, 12:35:36 PM10/14/22
to Apache for OS/2
Paul,

 Yep - that took care of the exceptions, thanks!

Regards,

Paul Smedley

unread,
Oct 14, 2022, 11:28:42 PM10/14/22
to apa...@googlegroups.com

David McKenna

unread,
Oct 15, 2022, 8:59:44 AM10/15/22
to Apache for OS/2
Paul,

  I don't see those, and never have.

Regards,

Reply all
Reply to author
Forward
0 new messages