Skip to content

Bug: xdebug and other disabled extensions dont work #61

@nickchomey

Description

@nickchomey

When i run ddev xdebug toggle, i get this error:

PHP Warning:  Failed loading Zend extension 'xdebug.so' (tried: /usr/lib/php-zts/modules/xdebug.so (/usr/lib/php-zts/modules/xdebug.so: cannot open shared object file: No such file or directory), /usr/lib/php-zts/modules/xdebug.so.so (/usr/lib/php-zts/modules/xdebug.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

I think it is because web-build/Dockerfile.frankenphp copies the normal php extensions' .ini files, which point to xdebug.so rather than the xdebug-zts-84.so (replace 84 with php version in use) file that is created/used in frankenphp.

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