What does “XDEBUG NOT LOADED AS ZEND EXTENSION” warning means?

后端 未结 5 1065
走了就别回头了
走了就别回头了 2021-02-07 09:14

Xdebug is loaded, but not loaded as a zend extension. What does it mean? How to resolve this problem?

5条回答
  •  梦毁少年i
    2021-02-07 09:43

    If you end up here while trying to build xdebug, then it means you have built it as a "static" extension (not a zend one).

    You can use configure --with-xdebug=shared to build it as a shared extension (dll/so; you should see a table showing that xdebug is now configured to be built as a shared extension instead of a static one) so it can be loaded as a zend extension afterward.

    I don't know if you can make a static zend extension.

    Also, note that running the full test suite of xdebug requires to not activate opcache (configure --disable-opcache --with-xdebug=shared)

提交回复
热议问题