title: tcpdf Error: requires GD or Imagik but I installed the dependencies
body: <p>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.</p>
  
  <p>Well since yesterday I tried to solve the problem with the options provide for the community</p>
  
  <ol>
  <li>Adding the extension on the <code>php.ini</code></li>
  <li>Restart Apache </li>
  <li>Recompile PHP</li>
  </ol>
  
  <p>When I run <code>php -i</code> I see the libraries but It doesn't works:</p>
  
  <p>I expect to see the PDF but I received the Error described or the Error 500</p>