Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

PHP 8.5RC1 fails to build #1660

@andypost

Description

@andypost

Bug Overview

after commit php/php-src@1ac68e7 the structure no longer compatible so it needs conditional

Expected Behavior

the eror is

src/nxt_php_sapi.c:344:1: error: missing field 'pre_request_init' initializer [-Werror,-Wmissing-field-initializers]
  344 | };
      | ^

Steps to Reproduce the Bug

build against 8.5.0RC1

Environment Details

  • Target deployment platform: [e.g. AWS/GCP/local cluster/etc...]
  • Target OS: [e.g. RHEL 9/Ubuntu 24.04/etc...]
  • Version of this project or specific commit: [e.g. 1.4.3/commit hash]
  • Version of any relevant project languages: [e.g. Kubernetes 1.30/Python 3.9.7/etc...]

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions