When I use some function like imagecreate()
or imagecreatefromjpeg()
the result that I get is an internal server error.
The code is the following:
<?php
$width = 520;
$height = 360;
$image = imagecreate($width, $height);
?>
The version I'm using is php 7.2
. I've tried to install the following package:
apt-get install php7.2-gd
Thanks.