php / php/php-src

`make install` doesn't create `lib/php/extensions/debug-non-zts-20240925/` since PHP 8.5 Alpha 4

Open
#19,477 1 comment 1 reaction 1 assignee View on GitHub

@petk is already working on this.

Since Feb 25, 2026.

Bug Status: Needs Triage
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

This is probably on the edge between a bug and a feature:

Since PHP 8.5 Alpha 4 the extension directory is no longer automatically created when running make install. With PHP 8.5 Alpha 2 the extension directory contains opcache.so, so this is likely related to OPcache being included in PHP itself (and also reproducible with earlier versions when OPcache is explicitly disabled at configure time).

It would probably make sense to always create the extension directory as an empty directory as part of make install, since this would also allow to set proper permissions / ownership.

see php/pie#263 /cc @asgrim

PHP Version
PHP 8.5.0alpha4 (cli) (built: Aug 14 2025 09:34:32) (NTS DEBUG)
Copyright (c) The PHP Group
Zend Engine v4.5.0-dev, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.0alpha4, Copyright (c), by Zend Technologies
Operating System

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.