2

I am currently experiencing a problem with xdebug. I wanted to do a

php bin/console cache:clear

for my Symfony application but it got me this error:

Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0

So I installed the latest version of Xdebug and put "zend_extension" in the php.ini

I restart my order and the, a new error:

Xdebug requires Zend Engine API version 320160303. The Zend Engine API version 320170718 which is installed, is newer.

I tell you that, I do not know what to do, can you help me? If you need more information, do not hesitate.

Thank you in advance !

2
  • 1
    First error tells that the Xdebug extension was attempted to be loaded as a normal extension (e.g. extensio=xdebug...). If you need Xdebug, just find the place where it is getting loaded and fix the line (use zend_extension=xdebug...) . Now, your 2nd error tells that the Xdebug you have installed is for older PHP. 320170718 is for PHP 7.2 while 320160303 is for PHP 7.1 Commented Feb 20, 2019 at 16:20
  • My version of PHP is so high for the latest version of xdebug coup .. Thank you for your answer! Commented Feb 20, 2019 at 16:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.