On Mon, 26 Aug 2024 at 20:05, Calvin Buckley <cal...@cmpct.info> wrote: > As such, it might be a bit tricky for people on Windows/AIX; the easiest > solution if PHAR is using the openssl extension's symbols would be to not > build the openssl extension as shared.
I've just checked Windows build and the PHP downloaded from PHP.net and it seems to already use the openssl and phar extensions like this. The ext/openssl is built as shared (the php_openssl.dll) and phar is built into the php binary (which doesn't matter much here I think). So I think this means one platform to worry about this issue here less. About the AIX it's totally possible that this is still an issue. I'll need to check it out in more detail at some point. If I understand the issue mentioned in the blog post it is something else - two different OpenSSL versions being linked. Which is of course bad. And this removal is moving towards this direction also. OpenSSL being linked only in ext/openssl. And in PHP different OpenSSL versions linked could happen in a few other places as well - the curl, ftp and mysqlnd extensions. Well, this issue sounds complicated for PHP 8.4, so we can do it in the next version then.