[php-src] PR #20867: Enable SWC files support and building with zlib extension
| From: | petk | Date: | Thu, 08 Jan 2026 16:40:49 +0000 |
| Subject: | [php-src] PR #20867: Enable SWC files support and building with zlib extension | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34478@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20867
Author: petk
This optionally checks whether zlib is installed on the system, regardless of PHP extension zlib
being built as static, shared or disabled. The zlib library is needed to be linked for having SWC
files support in PHP.
Previously, only SWC support was possible only if PHP was built with static zlib PHP extension.
As SWC files are obsolete, no additional configuration option is provided and check is done as
optional to have as little backward incopatibilities in builds.
Fixes: GH-4681
What do you think?
cc @andypost @glensc