Call To Undefined Function Imagecreatefromjpeg() And GD Enabled
Answer :
I think you've installed an incomplete version of gd.
When you compile the gd extension, use the flag --with-jpeg-dir=DIR and --with-freetype-dir=DIR
ps. dont forget make clean
picture below is the incomplete version of gd:

picture below is the complete version of gd: 
In my case, GD was missing after upgrading to PHP 7.3. So, I just added it by using the following command :
sudo apt-get install php7.3-gd
Comments
Post a Comment