ivytony Posted October 27, 2008 Share Posted October 27, 2008 I've built my server with PHP 5.2.6 and Apache and I've also installed php-gd by running 'yum install php-gd', but an application (clip bucket) I'm using requires GD with TTF enabled. I've checked my phpinfo (http://www.rcholic.com/phpinfo.php) but didn't seem to find TTF enabled with my GD, so I wonder how to recompile GD with TTF enabled? thanks!! Link to comment https://forums.phpfreaks.com/topic/130208-how-to-compile-gd-library-with-ttf-for-php/ Share on other sites More sharing options...
corbin Posted October 27, 2008 Share Posted October 27, 2008 http://us3.php.net/manual/en/image.installation.php Link to comment https://forums.phpfreaks.com/topic/130208-how-to-compile-gd-library-with-ttf-for-php/#findComment-675288 Share on other sites More sharing options...
ivytony Posted October 27, 2008 Author Share Posted October 27, 2008 My PHP was installed by 'yum install PHP' also, I am not sure what I should do now. I just need to enable my GD with TTF. thanks Link to comment https://forums.phpfreaks.com/topic/130208-how-to-compile-gd-library-with-ttf-for-php/#findComment-675308 Share on other sites More sharing options...
corbin Posted October 27, 2008 Share Posted October 27, 2008 You should be able to provide options with yum. I don't have my FC box up right now or I would check it. Link to comment https://forums.phpfreaks.com/topic/130208-how-to-compile-gd-library-with-ttf-for-php/#findComment-675313 Share on other sites More sharing options...
ivytony Posted October 27, 2008 Author Share Posted October 27, 2008 considering I've installed both php and php-gd using Yum, should I remove them first then re-install with such options like --with-gd[=DIR]? thanks a lot! Link to comment https://forums.phpfreaks.com/topic/130208-how-to-compile-gd-library-with-ttf-for-php/#findComment-675321 Share on other sites More sharing options...
corbin Posted October 27, 2008 Share Posted October 27, 2008 Remove them via yum. Then, you'll need to do yum install php-gd <ttf option here> No idea what that option will be. Link to comment https://forums.phpfreaks.com/topic/130208-how-to-compile-gd-library-with-ttf-for-php/#findComment-675326 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.