HOW TO INSTALL GD LIBRARY PHP 5 UBUNTU SSH PUTTY

Here is the steps for Ubuntu Server 8.04.1 and PHP5. Like Djamu said it will install a GD pre-compiled working version. It is a complete bundled (forked) GD libraries:

1. If not already done removing your current GD package and its configurations.
sudo apt-get --purge remove

2. Adding 2 lines to your file /etc/apt/sources.lst

deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
</DIV>

3. Updating your current apt-get list
apt-get update

4. Installing working GD package.
apt-get install php5-gd

It will complain about non-authenticated sources, just ignore, it will also update some additional php libs.

When prompt select keep_current modified php.ini

5. Restarting Apache
/etc/init.d/apache2 restart

Enjoy

Advertisement

One response to this post.

  1. [...] noch schönere Screenshots und ein kleines Php-Script zum Thema. Kasim erklärt, wie man das mit einem Apache-Server und Putty macht (ist eigentlich das selbe). Tags: apache, aptitude, debian, gd, gd library, lenny, [...]

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 33 other followers