I setting up a web server on AWS ec2 with LAMP stack and I installed all the dependencies to compose works but when I tried to see a PDF the server give me the Error: TCPDF ERROR: TCPDF requires the Imagick or GD extension to handle PNG images with alpha channel.
Well since yesterday I tried to solve the problem with the options provide for the community
- Adding the extension on the
php.ini
- Restart Apache
- Recompile PHP
When I run php -i
I see the libraries but It doesn't works:
I expect to see the PDF but I received the Error described or the Error 500