[php-src] Issue #22359: requirement to losd libzstd.dll since PHP 8.5.7 when running as Apache module on Windows
[email protected] (DanielRuf) Thu, 18 Jun 2026 11:17:16 +0000
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <gqQWVImc5MQGtzNOEUj4vGNWIX9XIBkAT8VlWehBHNM@main.internal.php.net> |
Issue: https://github.com/php/php-src/issues/22359
Author: DanielRuf
We have the following setup:
* PHP 8.5.7 with curl extension loaded
* Apache 2.4.68 from ApacheLounge
* PHP running as Apache module via
With PHP 8.5.2 curl (before curl 3.20.0) did not yet have a requirement to load libzstd. But now we have to add the following, to get it loaded according to phpinfo:
`LoadFile "${basePath}/php/libzstd.dll"`
Without this line it does not work.
So my questions are:
* should this extra `LoadFile` be documented, since without it setups will fail to load the curl extension?
* is there some mismatch between the ApacheLounge Apache builds and the newer PHP releases caused by some change in the curl extension?
ApacheLounge Apache 2.4.68 ships with zstd and brotli, so my assumption is that I should not have to add this extra `LoadFile` to my httpd.conf after `LoadModule php_module "${basePath}/php/php8apache2_4.dll"`.
See https://www.apachelounge.com/viewtopic.php?p=44434 for reference and more context.