BaconQrCode\Exception\RuntimeException You need to install the imagick extension to use this back end
Hi there,
I'm using composer require pragmarx/google2fa-laravel and composer require bacon/bacon-qr-code for google authenticator but I can not use them because I get the error below
BaconQrCode\Exception\RuntimeException
You need to install the Imagick extension to use this back end
I've installed Imagick but I really don't know what's going on!
if you have any solution or any alternative package I'll appreciate it.
thanks in advance.
So the PHP CLI has imagick, but the web server PHP does not.
What web server are you using; you can restart Apache, or PHP-FPM as appropriate to see if that will enable the extension.
If that does not solve the issue, you need to check that the imagick extension is being loaded in the appropriate config file; check the phpinfo page for _Loaded Configuration File _ and ensure that the following is present and uncommented: