Activating GDlib on PHP 4.3.10?

Discussion in 'Site & Server Administration' started by Trance-formation, Jun 25, 2005.

  1. #1
    I'm running PHP 4.3.10 on a dedicated Fedora Linux server and I'm trying to get the GDlib to work... Fasthosts (the company) tell me that I need to modify the php.ini file, but the file is very sparse and putting in extension=gd.so doesn't work (gd.so isn't in the usr/lib/php4 folder anyway, which is where it appears it should be)... I'm a novice when it comes to managing my own server, does anyone have any suggestions as to what I can do?:confused:
     
    Trance-formation, Jun 25, 2005 IP
  2. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Don't you have to recompile php to add gd?
     
    noppid, Jun 25, 2005 IP
    Trance-formation likes this.
  3. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Read all about it here. The gd library has been bundled with php since 4.3 and it looks like you'll need to recompile.
     
    exam, Jun 25, 2005 IP
    Trance-formation likes this.
  4. LGRComp

    LGRComp Well-Known Member

    Messages:
    516
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    195
    #4
    On a linux server the GD library has to be compiled into php. It is easy enough if you have cPanel/WHM. Not so easy if you don't have access to that. If you are on a shared host they would have to compile PHP to include the GD libraries.
     
    LGRComp, Jun 25, 2005 IP
    Trance-formation likes this.
  5. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #5
    PS: Upgrade to 4.3.11. ;)
     
    noppid, Jun 25, 2005 IP
  6. Trance-formation

    Trance-formation Peon

    Messages:
    598
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Its a dedicated server... I don't have cPanel, I have matrix panel. Does anyone know if recompiling PHP will result in losing my existing data and databases?
     
    Trance-formation, Jun 26, 2005 IP
  7. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #7
    What does PHP have to do with MySql?

    The short answer is no, but I'm not your admin. :)
     
    noppid, Jun 26, 2005 IP
  8. Trance-formation

    Trance-formation Peon

    Messages:
    598
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I've just never done this before... until now... the distinctions are so muchclearer from this side :)

    Oh, and took the advice about 4.3.11 (OK, so I may not know how, but I know a man who knew how :D)
     
    Trance-formation, Jun 27, 2005 IP
  9. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #9
    Glad to hear that worked out for ya. :)
     
    noppid, Jun 27, 2005 IP
  10. Monxx

    Monxx Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    In WHM how do we do that ???
     
    Monxx, Jul 25, 2008 IP
  11. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #11
    olddocks, Jul 25, 2008 IP