Skip to content

Build issue with PHP 8.5 #76

Description

@v-noskov

I've got an error when I try to build the extension against PHP v.8.4:

28.06    Compiling aerospike_php v1.4.0 (/src/php-client)
28.21 error: failed to run custom build command for `ext-php-rs v0.13.1`
28.21 
28.21 Caused by:
28.21   process didn't exit successfully: `/src/php-client/target/release/build/ext-php-rs-c6ece1a27321eca0/build-script-build` (exit status: 1)
28.21   --- stdout
28.21   cargo:rerun-if-changed=/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ext-php-rs-0.13.1/src/wrapper.h
28.21   cargo:rerun-if-changed=/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ext-php-rs-0.13.1/src/wrapper.c
28.21   cargo:rerun-if-changed=/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ext-php-rs-0.13.1/src/embed/embed.h
28.21   cargo:rerun-if-changed=/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ext-php-rs-0.13.1/src/embed/embed.c
28.21   cargo:rerun-if-changed=/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ext-php-rs-0.13.1/allowed_bindings.rs
28.21   cargo:rerun-if-changed=/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ext-php-rs-0.13.1/windows_build.rs
28.21   cargo:rerun-if-changed=/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ext-php-rs-0.13.1/unix_build.rs
28.21   cargo:rerun-if-env-changed=PHP
28.21   cargo:rerun-if-env-changed=PHP_CONFIG
28.21   cargo:rerun-if-env-changed=PATH
28.21   cargo:rerun-if-changed=build.rs
28.21 
28.21   --- stderr
28.21   Error: The current version of PHP is not supported. Current PHP API version: 20250925, requires a version between 20200930 and 20240924
28.21 warning: build failed, waiting for other jobs to finish...

It seems the ext-php-rs dependency requirement needs to be upgraded to v.0.15.2 or newer.

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