I seem to remember, that i asked this question before, but couldn't find it.
I need for a educational project in php the gd lib. tried to install it on omv by "apt-get install php5-gd", but this seems to be incomplete
a
<?php
header ("Content-type: image/png");
$im = @ImageCreate (50, 100)
or die ("Kann keinen neuen GD-Bild-Stream erzeugen");
ImagePNG ($im);
?>
leads to errors that png cannot be displayed
Where is my mistake, is it a Problem in the setup of nginx, php ...?