How to install XPM support for GD library?

Hi,

I'm still having trouble with the imagettftext() function though, which according to the PHP manual (http://au.php.net/imagettftext) means:

"You need to compile PHP with more options.

--with-gd
--enable-gd-native-ttf
--with-png
--with-zlib-dir=/usr/local/lib/zlib-1.2.1
--with-ttf
--with-jpeg-dir=/usr/local/lib/jpeg-6b/
--with-freetype-dir=/usr/local/lib/freetype-2.1.9/
--with-xpm-dir=/usr/X11R6/

The next set deal with setting up GD, and the appropriate options
Just enabling GD, ttf, png & jpeg is NOT enough. You also need
Freetype and XPM."

I've enabled Freetype but XPM is not supported by CPanel. So that means I have to install it. I am doing this for my client who using GD library. (I am using VPS and my hosting does not support XPM installation as I would have to figure out how to do it myself).

Anyone know how to install XPM support? I've tried to search it in google for about 3 hours but they did not have tutorials and Technical & Security Issues tutorials aswell.

Thankyou

 

 

 

 

Top