Using GDB to debug php code to report an error

1. Use GDB to debug php code and report an error

here is the error message does anyone know how to solve it

Reading symbols from /usr/bin/php...Reading symbols from /usr/bin/php...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install php-cli-7.1.21-1.el7.remi.x86_64
Php
May.09,2022

the error message has indicated the solution, and a package needs to be installed

debuginfo-install php-cli-7.1.21-1.el7.remi.x86_64

in addition to the one prompted, you should also need other packages. Just follow the GDB prompt to install them one by one

Menu