adrianc.grigoras Posted March 11, 2009 Share Posted March 11, 2009 Hi, I need to recompile GD to add freetype and libjpeg? Do I have to recompile all php or I can go to GD, phpize and then run ./configure --with.... Thanks Link to comment https://forums.phpfreaks.com/topic/148927-compile-gd/ Share on other sites More sharing options...
JonnoTheDev Posted March 11, 2009 Share Posted March 11, 2009 If you have yum its easier yum install php-gd Then restart apache Link to comment https://forums.phpfreaks.com/topic/148927-compile-gd/#findComment-781974 Share on other sites More sharing options...
adrianc.grigoras Posted March 11, 2009 Author Share Posted March 11, 2009 Yes, I have RHEL5. It will be available from Apache server directly? Link to comment https://forums.phpfreaks.com/topic/148927-compile-gd/#findComment-781979 Share on other sites More sharing options...
trq Posted March 11, 2009 Share Posted March 11, 2009 It will be available from Apache server directly? Apache has little to do with the process but yes, the php-gd binary will be available through one of the mirrors and yum will download it and install it and any dependencies. Link to comment https://forums.phpfreaks.com/topic/148927-compile-gd/#findComment-781985 Share on other sites More sharing options...
adrianc.grigoras Posted March 12, 2009 Author Share Posted March 12, 2009 Yes, thank you very much! I managed to install with yum the php-gd, but I can't find it with Apache. I have the old GD info. When I run the script <? phpinfo() ?>. I receive this: GD Support enabled GD Version bundled (2.0.28 compatible) GIF Read Support enabled GIF Create Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled And I need this: GD Support enabled GD Version bundled (2.0.12 compatible) FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled Link to comment https://forums.phpfreaks.com/topic/148927-compile-gd/#findComment-782763 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.