You can’t undo anything you’ve already done, but you can face up to it. You can tell the truth. You can seek forgiveness. And then let God do the rest.
Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20200930/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20200930/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20200930/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20200930/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0