installing gd2 for php

Discussion in 'Programming/Scripts' started by Jrdgames, Jun 7, 2006.

  1. Jrdgames

    Jrdgames New Member

    Hi,
    I would like to install gd2 on my server could someone please direct me in how to do this?

    Server stats:
    OS: Ubuntu 5.10 Breezy Badger
    Webserver: Apache
    Control Panel: ISPConfig
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Just run
    Code:
    apt-get install php4-gd
    and restart Apache.
     
  3. Jrdgames

    Jrdgames New Member

    thankyou falko, does this install the latest version of gd?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I don't know if it installs gd or gd2 so you have to try.
     
  5. Jrdgames

    Jrdgames New Member

    I've been posting on the ubuntu forums and I have found that:
    Code:
    apt-get install php4-gd
    only installs gd you have to do something like
    Code:
    apt-get install php4-gd2
    to get the gd2.

    still habent been able to get gd2 running yet though.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Any errors?
     
  7. sjau

    sjau Local Meanie Moderator

    Remove GD and install GD2. That may help.
     
  8. Jrdgames

    Jrdgames New Member

    I found this error:
    I just looked through my synaptic and found i didn't have php4-gd and php5-gd installed so i installed those and restarted apache now gd shows up
     
  9. Fitnessbuff1975

    Fitnessbuff1975 New Member

    Just try this. You will get the result.

    PHP:
    [root@linuxserver ~]# yum install php-gd
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    core 1.1 kB 00
    :00
    updates 100
    % |=========================| 1.2 kB 00:00
    extras 100
    % |=========================| 1.1 kB 00:00
    Reading repository metadata in from local files
    primary
    .xml.gz 100% |=========================| 509 kB 00:05
    updates 
    ################################################## 1288/1288
    primary.xml.gz 100% |=========================| 1.9 MB 00:08
    extras 
    ################################################## 6006/6006
    Parsing package install arguments
    Nothing to 
    do
    [
    root@linuxserver ~]#


    gain muscle
    health and fitness products
     
    Last edited: Nov 8, 2010
  10. BorderAmigos

    BorderAmigos New Member

    Hmmm... over 4 years between posts... yum isn't used in Ubuntu... looks like he fixed this issue so many years ago. (I know I am making a useless post too).
     

Share This Page