It looks like phpdbg has been integrated with PHP core starting in 5.6. Gentoo currently has no support to build with this feature enabled. Would it be possible to add and build the secondary sources with the phpdbg use flag? It looks pretty strait forward so I will try to workout an patch and attach it here. Reproducible: Always
Created attachment 398900 [details, diff] enable phpdbg in 5.6.6 not very well tested, but it seems to work. I get the error "!!! Error: Please chose one of the following modules: cli apache2 fpm cgi" and I've got no idea where this is coming from.
Created attachment 398916 [details, diff] don't use eselect on phpdbg this should fix the error
Could you please try the patch in comment 1 along with https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=270d0436 a patch to eselect-php?
Added to php-7.0.1. Try that and see. Will come back to 5.6 soon if that is OK.
I've tried to add this to the 5.6 series a few times, and this is what typically happens: $ phpdbg [Welcome to phpdbg, the interactive PHP debugger, v0.4.0] To get help using phpdbg type "help" and press enter [Please report bugs to <http://github.com/krakjoe/phpdbg/issues>] phpdbg> help Segmentation fault It does work with 7.0, so I'm going to leave it out of 5.6 unless it's absolutely critical to someone. We'll have it going forward, though.