SapAuthor Posted June 16, 2009 Share Posted June 16, 2009 This is bugging the heck out of me. Ever since the server got reset and updated and stuff, a ton of modules were undone. The page says: Fatal error: Call to undefined function imagettfbbox() <blah blah> So, looking around it says that the GD and the freetype libraries must be installed. I Went to the webhost manager, and installed the following perl modules: GD 2.43 Interface to Gd Graphics Library GD::Graph 1.44 Create charts using GD GD::SecurityImage 1.70 Security image (captcha) generator Font::FreeType 0.03 Imager::Font::FreeType2 1.013 My phpInfo is here: http://www.pannachesalon.com/tempSiteInfo.php Contact page here: http://www.pannachesalon.com/contact/contact.php I'm using the script found here: http://www.white-hat-web-design.co.uk/articles/php-captcha.php Please help... -.- Link to comment https://forums.phpfreaks.com/topic/162436-solved-imagettfbbox-is-undefined-cant-seem-to-figure-out-how-to-install-gb-library/ Share on other sites More sharing options...
ldougherty Posted June 16, 2009 Share Posted June 16, 2009 I believe this is because you have not compiled Free Type with GD. The following link should assist you in configuring this. http://www.searchmasters.co.nz/articles/84/cpanel-freetype2-installation/ Link to comment https://forums.phpfreaks.com/topic/162436-solved-imagettfbbox-is-undefined-cant-seem-to-figure-out-how-to-install-gb-library/#findComment-857459 Share on other sites More sharing options...
SapAuthor Posted June 16, 2009 Author Share Posted June 16, 2009 Sadly, they must be using another version of the WHM. There's no such options, although i can see with my current configuration that indeed truetype is not installed (GD is). Now if only i could figure out how to get it installed... :- / Link to comment https://forums.phpfreaks.com/topic/162436-solved-imagettfbbox-is-undefined-cant-seem-to-figure-out-how-to-install-gb-library/#findComment-857529 Share on other sites More sharing options...
SapAuthor Posted June 16, 2009 Author Share Posted June 16, 2009 Edit: I'm trying to rebuild apache from scratch, looks like there's no way to just add on from the previous, so i took the log of the previous apache, made sure everything configured on that setting was on the new one, of course enabling freetype in the process. Hopefully the server doesn't crash Sometimes I feel the server admin gives me too much flexibility xD Link to comment https://forums.phpfreaks.com/topic/162436-solved-imagettfbbox-is-undefined-cant-seem-to-figure-out-how-to-install-gb-library/#findComment-857547 Share on other sites More sharing options...
SapAuthor Posted June 16, 2009 Author Share Posted June 16, 2009 It worked, had to rebuild it. Anyone who is looking at this in the future, if you have MySQL and WHM (only the admin of the server will probably have access to the WHM), have the admin go to the EasyApache program in WHM, and make a new apache build, set it to the way he had the old one but include (in the "extensive list") FreeType. Rebuild it then. Thanks for the help man, i appreciate it. Link to comment https://forums.phpfreaks.com/topic/162436-solved-imagettfbbox-is-undefined-cant-seem-to-figure-out-how-to-install-gb-library/#findComment-857581 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.