Fix: "PHP Fatal error: Call to undefined function imagepng()"

Fix "PHP Fatal error: Call to undefined function imagepng()" by installing the gd extension.

sudo apt-get install php5-gd
<?php
var_dump(extension_loaded('gd'));
This post is available on GitHub.
Posted .

Comments

Leave a Reply