2

I downloaded php_xdebug-3.2.0-8.0-vs16-nts-x86_64.dll

dir php_xdebug-3.2.0-8.0-vs16-nts-x86_64.dll 01/10/2023 08:04 AM 290,304 php_xdebug-3.2.0-8.0-vs16-nts-x86_64.dll and copied that to C:\xampp\php\ext\php_xdebug.dll Directory of C:\xampp\php\ext

01/10/2023 08:04 AM 290,304 php_xdebug.dll

Then turned on xdebug in php.ini with zend_extension = xdebug

But when I run php -i I get

Warning: Failed loading Zend extension 'xdebug' (tried: C:\xampp\php\ext\xdebug (The specified module could not be found), C:\xampp\php\ext\php_xdebug.dll (The specified module could not be found)) in Unknown on line 0 phpinfo() PHP Version => 8.2.0

1 Answer 1

7

I picked the wrong dll to download. Use the Wizard Luke!

I did not use the wizard so I picked php_xdebug-3.2.0-8.0-vs16-nts-x86_64.dll which seemed close enough right? WRONG!

After 30 minutes of debugging I finally went to the https://xdebug.org/wizard page and that told me to download https://xdebug.org/files/php_xdebug-3.2.0-8.2-vs16-x86_64.dll. Once I coped that to the right location and renamed it it worked fine!

Sign up to request clarification or add additional context in comments.

3 Comments

for windows xampp always download Thread Safe (TS).
Great answer, really helped since I got stuck in exactly the same situation!
This solved my situation either

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.