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 Quote Link to comment 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 Quote Link to comment 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? Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.