English  France













If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.



Reply
  #1 (permalink)  
Old 01-23-2009, 02:20 PM
UnderHost's Avatar
UnderHost Management
 
Join Date: Jul 2008
Posts: 581
Default Install FreeType Library / DirectAdmin - Cpanel/WHM

DirectAdmin

Compile Freetype2 from source.

Code:
cd /usr/local/directadmin/customapache/
wget http://savannah.nongnu.org/download/...-2.1.10.tar.gz
tar zxf freetype-2.1.10.tar.gz
cd freetype-2.1.10
./configure
make
make install
My Freetype libs are located in /usr/local/lib, check your system and see where it is (ex: /usr/lib).

Open the 'build' file in the DA scripts directory and search for doGD

In the configure line, change --without-freetype to:

Code:
--with-freetype=/usr/local/lib
Open up 'configure.php' in the DA scripts directory and add:

Code:
--with-freetype \
--with-freetype-dir=/usr/local/lib \
Make sure to include the trailing \. Note my directory where my Freetype libs are, change yours accordingly if needed.

then do:

Code:
./build clean
./build php
Answer 'y' when asked if you want to compile GD again.

Then restart HTTPD. Open up a phpinfo file and you'll see Freetype support listed now.






CPanel/WHM

This is really easy using Cpanel/WHM

  • You can enable Free Type support from WHM >> Software >> 'Apache Update' option.
  • Click on "Load Previous Config" button which will show you the current modules installed
  • scroll down the page and select "TTF (Freetype)".
  • Start Build.
__________________
UnderHostProviding Affordable and Quality USA Hosting & Offshore cPanel Hosting
24/7 Rapid Support / 99.9% Uptime Guarantee / Shared / Reseller / VPS / Dedicated
Premium VPSUSA Cloud Virtual Private Servers - Dedicated and Scalable Resources - Parallels® Virtuozzo
Hong Kong - Singapore - USA - Canada - Netherlands - UK - Germany - Panama - Malaysia
Reply With Quote
underhost.us
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Loading...


All times are GMT -4. The time now is 01:57 AM.
Copyright © 2010 UnderHost Networks Ltd






Partners
Underhost Facebook  Underhost Twitter

Copyright © 2011 UnderHost Networks Ltd