undefined function imagecreatefromjpeg()

Recommended VPS for your FreeBSD or Linux Server + Custom Iso Allowed (Free $20 credit for limited time, grab it now)

Call to undefined function imagecreatefromjpeg() in /home/materi/prog/cms_study/admin/pageuploadadd.php on line 88
 
Yes, that message show up when my friend try to access web based application.

I think thats my fault 🙂

Doing preliminary check :

edp# pkg_info | grep php5-gd
edit /etc/make.conf

PERL_VER=5.8.8
PERL_VERSION=5.8.8
WITHOUT_X11=yes

save.

edp# whereis php5-gd
php5-gd: /usr/ports/graphics/php5-gd
edp# cd /usr/ports/graphics/php5-gd && make install

edp# apachectl restart
done.

That message disappear 🙂