Skip to content

undefined symbol: zend_hash_del #777

Description

@Sam-Mear

Code of Conduct

Description

Description

When running the binary, I get the output /home/user/.cargo/bin/cargo-php: symbol lookup error: /home/user/.cargo/bin/cargo-php: undefined symbol: zend_hash_del

Running php 8.5, rustc 1.98.1 (48a229cea 2026-09-01) (from rustc 1.95.0 (59807616e 2026-04-14))
WSL2

Just installed using cargo install cargo-php

Had php 8.4 running initially, then updated to 8.5, then tried 8.2

Log Output

`/home/user/.cargo/bin/cargo-php: symbol lookup error: /home/user/.cargo/bin/cargo-php: undefined symbol: zend_hash_del`

Affected Components

  • ext-php-rs
  • macros
  • cli (cargo-php)

PHP Version

PHP 8.5.10 (cli) (built: Aug 28 2026 06:46:18) (NTS)
Copyright (c) The PHP Group
Built by Ubuntu
Zend Engine v4.5.10, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.10, Copyright (c), by Zend Technologies
amear@MAN-LAP-01382:~/personal/php-ext-test$

ext-php-rs Version

0.15.15

Operating System

Ubuntu 24 (through WSL)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions