I have a Plesk 2.5 server running PHP 4.1.0 (patched version) and it seems that gd module is already included (/usr/lib/libgd.so) but not compiled. I'm not an PHP expert (still learning slowly). Could you please give me an easy step-by-step instruction of how to compile and enable the gd module?

Thanks in advance!