You can download the source of the latest stable release 3.3.1.Īlternatively you can obtain Xdebug from GIT: There are a few precompiled modules for Windows, they are all for the non-debug If that says arm64e, then you need to run:Īnd if it's x86_64, then you need to run:ġ On macOS, you should have PHP installed with Homebrew. You can verify what your PHP's architecture is with: opt/homebrew/lib/php/pecl/20190902/xdebug.so: stat() failed with errno=22), /opt/homebrew/lib/php/pecl/20190902/xdebug.so.so (dlopen(/opt/homebrew/lib/php/pecl/20190902/xdebug.so.so, 9): image not found)) in Unknown on line 0 opt/homebrew/lib/php/pecl/20190902/xdebug.so: mach-o, but wrong architecture PHP Warning: Failed loading Zend extension 'xdebug.so' (tried: /opt/homebrew/lib/php/pecl/20190902/xdebug.so (dlopen(/opt/homebrew/lib/php/pecl/20190902/xdebug.so, 9): no suitable image found. Mismatch with the default and PECL will fail, or Xdebug won't load with a On Apple M1 hardware, programs can either be compiled for the native M1/ARM64Īrchitecture, or for the emulated x86_64 architecure. If pecl did not add the right line, skip to the Configure PHP section. If it is there, you can skip to the What's Next? You're all set and you can configure Xdebug's other functions, such as If Xdebug shows up with a version number, than In some cases pecl will change the php.ini file toĪdd a configuration line to load Xdebug.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |