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'));
View this page on GitHub.
Posted .

Comments

Leave a Reply