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'));
Did this help you? Please let me know with a comment. Thank you
Posted .

Comments (RSS)

Leave a comment