Install GD library with PHP on Ubuntu (Debian) for best Drupal performance

One of the best feature of Drupal is the image api; that will help you a lot in managing all of your images to make with the help of the module imagecache all kind of modifications, like resize, crop etc..

In PHP you need the GD Graphics Library for dynamically manipulating images. You need to recompile PHP with the GD library of image functions; fortunately apt-get will help us for this to work.

The package is called php5-gd

$ apt-get install php5-gd
$ /etc/init.d/apache2 restart

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

                                                      
88
88
88
,adPPYba, 8b,dPPYba, 88,dPPYba, ,adPPYba,
a8P_____88 88P' "8a 88P' "8a a8" ""
8PP""""""" 88 d8 88 88 8b
"8b, ,aa 88b, ,a8" 88 88 "8a, ,aa
`"Ybbd8"' 88`YbbdP"' 88 88 `"Ybbd8"'
88
88
Enter the code depicted in ASCII art style.