Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125289 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 56B641A00BD for ; Mon, 26 Aug 2024 20:00:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724702521; bh=NnxXwTRkEVxmX9VFL+V3azKl1C1ffqPfc0f4ffIN5Xk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=eSqityYHh73KWG2ducGaOJvjFb5YCD0u02vjn0LwvwyFJzysb3mL5a1FXHh2D4luF NJei8Wk8XFgAZjHUQBzLA+pXWprdzG5/HbORzb1V36XYRR05L16FAsSW52UQCkI1bz EJKMA3UbNybPmjDPGn5HQB74DhhcjBGGb8oozlxGXy3gHkAV7lh2j2ucC2RFptJQoO 90DTRWIsWN9G4a8KsTr3R3CNwp5g3NihM2Gw+BmXUdT/wODc8BGUy/NmdmT4HWdtfy t7LToWORUn3MJ06QwUtlHe9gp9vHcH3lZDlOD4qgYw9ucgfoYQvBAQGujkfLx7NH+k wLaysRgQzVlOQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6600218007D for ; Mon, 26 Aug 2024 20:02:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: **** X-Spam-Status: No, score=4.7 required=5.0 tests=BAYES_50,DMARC_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from 7.mo583.mail-out.ovh.net (7.mo583.mail-out.ovh.net [178.32.124.100]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 26 Aug 2024 20:02:00 +0000 (UTC) Received: from director2.ghost.mail-out.ovh.net (unknown [10.109.139.16]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Wt1jx6Z9Sz1Slv for ; Mon, 26 Aug 2024 20:00:05 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-f5pbt (unknown [10.108.54.36]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 89FEF1FE81 for ; Mon, 26 Aug 2024 20:00:05 +0000 (UTC) Received: from php.earth ([37.59.142.102]) by ghost-submission-6684bf9d7b-f5pbt with ESMTPSA id 1YLdGcXezGaEAwAAxo2pbw (envelope-from ) for ; Mon, 26 Aug 2024 20:00:05 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-102R004d176fbe0-deb3-40b1-aefc-47622c8b998c, 0FD98667EBE93B03DC8CDDA5D2F9419595E70D86) smtp.auth=peter.kokot@php.earth X-OVh-ClientIp:209.85.221.181 Received: by mail-vk1-f181.google.com with SMTP id 71dfb90a1353d-4fcefbd6bc4so1800224e0c.1 for ; Mon, 26 Aug 2024 13:00:05 -0700 (PDT) X-Gm-Message-State: AOJu0Yya3ZoFUpQjz12RWxKPMuQRwB48pr57BkPQL59k1iZfy8JhaEQq rZe9aoUXC3p2bLs0ylhlWBde682Z1XFe7W4v+t0tNKY3z4Ro9CgjA7/Zd0v5V4WYx7A04rhDauv j/yaeDLRnc/aBQpv9Eb6fcju/tvA= X-Google-Smtp-Source: AGHT+IEo82a0n+iy+0jfYXhg99jdXGvJHyyuKIsineaPLyzbY+g3vV6YNReBmyGvif65Qr394UU3/rLXeGkOrXJvr5E= X-Received: by 2002:a05:6122:2024:b0:4fc:e713:6572 with SMTP id 71dfb90a1353d-4fed5df577fmr996888e0c.11.1724702404452; Mon, 26 Aug 2024 13:00:04 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <8664467A-D602-48B6-96CA-D6FAD4488F14@cmpct.info> In-Reply-To: <8664467A-D602-48B6-96CA-D6FAD4488F14@cmpct.info> Date: Mon, 26 Aug 2024 21:59:53 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PHP-DEV] Native SSL support in Phar extension To: Calvin Buckley Cc: Internals Content-Type: text/plain; charset="UTF-8" X-Ovh-Tracer-Id: 16052236449734713862 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddruddvkedgudegvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggfhgjhfffkffuvfevtgesthdtredttddtjeenucfhrhhomheprfgvthgvrhcumfhokhhothcuoehpvghtkhesphhhphdrnhgvtheqnecuggftrfgrthhtvghrnhepvdduueejheeugefguefhveetheeiheduueevveektdelfeetvdfhhfelueetgeegnecuffhomhgrihhnpehphhhprdhnvghtnecukfhppeduvdejrddtrddtrddupddvtdelrdekhedrvddvuddrudekuddpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepphgvthhksehphhhprdhnvghtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepihhnthgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvthdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht From: petk@php.net (Peter Kokot) On Mon, 26 Aug 2024 at 20:05, Calvin Buckley 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.