[php-src] Issue #23062: ext/OPCACHE fails on php8.5

[email protected] (bigfoot90)
Newsgroups php.bugs
Message-ID <[email protected]>
Issue: https://github.com/php/php-src/issues/23062
Author: bigfoot90

### Description

### Description

The following code:

```dockerfile
FROM php:8.5-fpm-alpine

RUN docker-php-ext-install opcache
```

Resulted in this output:
```
Build complete.
Don't forget to run 'make test'.

Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20250925/
cp: can't stat 'modules/*': No such file or directory
make: *** [Makefile:89: install-modules] Error 1
```

### PHP Version

```plain
PHP 8.5.9 (cli) (built: Jul 30 2026 22:44:26) (NTS)
Copyright (c) The PHP Group
Built by https://github.com/docker-library/php
Zend Engine v4.5.9, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.9, Copyright (c), by Zend Technologies
```

### Operating System

 macOS Sequoia 15.7.1 + docker
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.