[php-src] Issue #20557: opcache fails on install modules/* to extension dir
| From: | hakre | Date: | Sat, 22 Nov 2025 08:53:45 +0000 |
| Subject: | [php-src] Issue #20557: opcache fails on install modules/* to extension dir | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251275@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/20557
Author: hakre
### Description
The following code:
```Makefile
@$(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR)
```
Resulted in this output:
```
cp: cannot stat 'modules/*': No such file or directory
```
But I expected this output instead:
```
# no output
```
### PHP Version
```plain
PHP 8.5.0 (cli) (built: Nov 22 2025 07:37:53) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.5.0, Copyright (c) Zend Technologies
with Zend OPcache v8.5.0, Copyright (c), by Zend Technologies
```
### Operating System
Linux + Docker