How to install GD

Discussion in 'PHP' started by tikitin, Feb 17, 2009.

  1. #1
    I have PHP Version 5.2.4-2ubuntu5.5. The output of phpinfo() makes no mention of GD. The only lines in php.ini referring to GD are:

    [gd]
    ; Tell the jpeg decode to libjpeg warnings and try to create
    ; a gd image. The warning will then be displayed as notices
    ; disabled by default
    ;gd.jpeg_ignore_warning = 0

    So there obviously is no GD. I need to install it. www.php.net is very vague about installing. How do I go about it?
     
    tikitin, Feb 17, 2009 IP
  2. kind_of_the_cash

    kind_of_the_cash Active Member

    Messages:
    852
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    85
    #2
    Dedicated server / vps ??
     
    kind_of_the_cash, Feb 17, 2009 IP
  3. InovvativeTech

    InovvativeTech Banned

    Messages:
    32
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you have dedicated server you can use below commands:

    #yum install php-gd
    then restart apache

    #service httpd restart
     
    InovvativeTech, Feb 18, 2009 IP