Skip to content

Not working with WAMP (dependency issue) #90

@irvanherz

Description

@irvanherz

PHP Version

8.5.0

Operating System

Windows 11

Extension Version

0.1.0-rc1

php.ini Configuration

[xdebug]
zend_extension=debugger
php_debugger.mode = debug
php_debugger.client_host = 127.0.0.1
php_debugger.client_port = 9003
php_debugger.start_with_request = trigger

Steps to Reproduce

I placed the DLL in:

C:\wamp64\bin\php\php8.5.0\ext\php_debugger

Then I ran php -v. It shows:

Warning: Failed loading Zend extension 'debugger' (tried: c:/wamp64/bin/php/php8.5.0/ext/debugger (The specified module could not be found), c:/wamp64/bin/php/php8.5.0/ext/php_debugger.dll (The specified **module** could not be found)) in Unknown on line 0
PHP 8.5.0 (cli) (built: Nov 19 2025 09:58:52) (ZTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Zend Engine v4.5.0, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.0, Copyright (c), by Zend Technologies

I tried to check the DLL dependencies. It depends on php8.dll, however WAMP distributes it as php8ts.dll (possibly thread-safe version).

I then tried copying php8ts.dll as php8.dll and ran php -v again. The output changed:

Warning: Failed loading Zend extension 'debugger'
(tried: c:/wamp64/bin/php/php8.5.0/ext/debugger
(The specified module could not be found),
c:/wamp64/bin/php/php8.5.0/ext/php_debugger.dll
(The specified **procedure** could not be found)) in Unknown on line 0

PHP 8.5.0 (cli) (built: Nov 19 2025 09:58:52) (ZTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Zend Engine v4.5.0, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.0, Copyright (c), by Zend Technologies

Expected vs Actual Behavior

Expected: Loaded without problem
Actual: Gives load error output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions