Call to undefined function imagecreatefromjpeg()

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  

We moved the site to the new server, The site was working fine , but while uploading the image, I encountered the following error

Fatal error: Call to undefined function imagecreatefromjpeg() in /home/domain/public_html/admin/configs.php on line 53

The solution to the Problem is
The GD has to be installed with your PHP installation or it has to be uncommented in php.ini

Depending which one is in the library:

;extension=php_gd.dll
or
extension=php_gd2.dll


Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Leave a Reply

Your email address will not be published. Required fields are marked *