I have an error in my log of logs, when I try to upload the images through the Back-end, I do not load the images and it does not upload to the folders that are addressed in the php 7.1 script and I throw this error "mod_fcgid: stderr thrown in /home/user1/public_html/backend/vista/moll/photo.php on line 70, "in the apache2 log logs.
Line 70 of my code is:
case IMAGETYPE_JPEG:
$resourceType = imagecreatefromjpeg($fileName); // linea 70
$imageLayer = resizeImage($resourceType,$sourceImageWidth,$sourceImageHeight,$new_width,$new_height);
imagejpeg($imageLayer,$uploadPath."photo".$resizeFileName.'.'. $fileExt);
break;
--- > The code itself is already well tested on other servers runs normal is loaded.
--- > possibly it is necessary to configure the php 7.1 well I tried to configure php7.1 well and nothing that does not solve the problem and I have also tried to configure APACHE and I can not give a solution either.
"I AM NOT AN EXPERT IN CONFIGURATIONS EVEN I AM BABY"
Please give me a hand.