-1

I have recently updated my server to the latest version of PHP 5.1.27, except now - a few of the scripts used by my websites come up with the following error:

Fatal error: Call to undefined function imagettftext()

I did build the latest version with GD and have had a look at various answers on the internet - but nothing seems to work for me.

I have cPanel/WHM 11.30.4 on a Cent OS 5 Linux server.

I'd appreciate some help with this :-)

1
  • Admin panels are off topic (see this for some reasons). The community has decided that we want to close both old and new questions when such an admin panel is relevant (link 1, link 2).
    – Sven
    Apr 14, 2015 at 16:03

1 Answer 1

1

Do you have freetype? The imagegettftext() function relies on both GD and freetype. If you're missing one of the 2, the function won't be defined.

2
  • So I need to tick "TTF (FreeType)" (as it wasn't ticked) and hit build again? :-) Nov 19, 2011 at 19:21
  • Yeah, try that.
    – Jon Lin
    Nov 19, 2011 at 21:29

Not the answer you're looking for? Browse other questions tagged .