Xdebug; code signature in not valid

since i upgraded to macos mojave, i can’t get xdebug working. typing:

php -m

i get

Failed loading /Users/markpage/Developer/xdebug.so: dlopen(/Users/markpage/Developer/xdebug.so, 0x0009): code signature in (/Users/markpage/Developer/xdebug.so) not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

I have no idea what to do.


the xdebug.so buried in macos mojave /usr/lib works! but it is not with the changes for IDE by active state

@Mark_Page, not sure what would have happened but OSX updates breaking things is no surprise. If you come back to this you can probably try downloading our debug bits again:

  • Carey

You filed a bug:

sorry for late reply, had a chemo treatment today.

unless you just changed them, i download 2 days ago from here and it didnt work. only thing that worked was to use the standard xdebug.so from Apple that came w/upgrade to mojave ( /usr/lib/php/ … )

Thanks for confirming, @Mark_Page. Unless you’re doing code profiling, the binary you’re using is perfectly fine.

Thanks for reporting. Good luck to you with your chemo! You’re a trooper for even responding.

  • Carey