[php-src] Issue #21697: PHP 8.4.20, Windows binary, php_curl.dll, php_intl.dll fail to load

[email protected] (tsimmons)
Newsgroups php.bugs
Message-ID <OAItP911Wa2Vn3XZ24VBnORTmIK3QgIE2LDlgRFTxOw@main.internal.php.net>
Issue: https://github.com/php/php-src/issues/21697
Author: tsimmons

### Description

After upgrading to 8.4.20 from 8.4.19, the following is logged:

`PHP Warning:  PHP Startup: Unable to load dynamic library 'php_curl.dll' (tried: D:\PHP\ext\php_curl.dll (The specified module could not be found), D:\PHP\ext\php_php_curl.dll.dll (The specified module could not be found)) in Unknown on line 0`

Even when running PHP from the command line using:

`D:\PHP\php.exe -m`

The file D:\PHP\ext\php_curl.dll exists and has proper permissions. Reverting to 8.4.19 solves the issue.

In addition, starting with 8.4.18 and continuing through 8.4.20, the same issue exists with php_intl.dll.

`PHP Warning:  PHP Startup: Unable to load dynamic library 'php_intl.dll' (tried: D:\PHP\ext\php_intl.dll (The specified module could not be found), D:\PHP\ext\php_php_intl.dll.dll (The specified module could not be found)) in Unknown on line 0`


### PHP Version

```plain
PHP 8.4.20 (cli) (built: Apr  8 2026 08:27:36) (NTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Built by The PHP Group
Zend Engine v4.4.20, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.20, Copyright (c), by Zend Technologies
```

### Operating System

Windows Server 2016
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.