error in installation- moodle-1.5.2

error in installation- moodle-1.5.2

by Remigio Taga -
Number of replies: 2
I installed moodle-1.5.2, when I change my "picture" under the "Edit Profile" the following message appear:

Fatal error: Call to undefind function ImageJpeg() in /db/moodle/lib/gdlib.php on line 197.

Please guide me what to do.

Thanks

remi
Average of ratings: -
In reply to Remigio Taga

Re: error in installation- moodle-1.5.2

by Martín Marqués -
You are laking support for JPEG. Also, you need PHP to be compiled against GD-1.8 or latter:

http://ar2.php.net/manual/en/function.imagejpeg.php
In reply to Martín Marqués

error in installation- moodle-1.5.2

by Remigio Taga -
hi martin,

i compiled php with the following:
   --with-apxs=/usr/local/apache/bin/apxs
   --with-pgsql=/usr/local/pgsql
   --with-gd
   --with-zlib
   --with-jpeg

what i miss here? please send some hint.

thanks

remi