imagecreatefromjpeg and similar functions are not working in PHP

gd, php

Solution

Install GD Library

Which OS you are using?

http://php.net/manual/en/image.installation.php

Windows http://www.dmxzone.com/go/5001/how-do-i-install-gd-in-windows/

Linux http://www.cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/

Problem

I’ve searched for this and the solutions provided in past questions are completely incomprehensible to me. Whenever I run functions like `imagecreatefromjpeg`, I get this: Fatal error: Call to undefined function imagecreatefromjpeg() ... I’m working on a new install of PHP; my last installation never had this problem. I don’t get what’s going on.

Original source

Related problems