Enabling image support in VPS?

Discussion in 'Site & Server Administration' started by angel eyes, Mar 7, 2010.

  1. #1
    Hello!
    I have just bought a vps and i just installed a wallpaper php scrip but the problem is that it doesn't load images. It says,



    How can i enable them. do i have to install something???
     
    angel eyes, Mar 7, 2010 IP
  2. attila123

    attila123 Active Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    Do you have GD library installed?
     
    attila123, Mar 7, 2010 IP
  3. angel eyes

    angel eyes Active Member

    Messages:
    386
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #3
    i dont know how to check that
     
    angel eyes, Mar 7, 2010 IP
  4. attila123

    attila123 Active Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    You can create a php file, eg: phpinfo.php
    The content must be:
    
    <?php
    phpinfo();
    ?>
    
    Code (markup):
    And in phpinfo, search for GD
     
    attila123, Mar 7, 2010 IP
  5. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #5
    Do you have a control panel with your VPS? If not, what OS are you using?
     
    RHS-Chris, Mar 7, 2010 IP
  6. angel eyes

    angel eyes Active Member

    Messages:
    386
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #6
    yes i have cpanle.

    anyhow I asked the support team and they just fixed it up.



    thanks for your replies. they would be useful for me for next time :)
     
    angel eyes, Mar 7, 2010 IP
  7. extraspecial

    extraspecial Member

    Messages:
    788
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    45
    #7
    Yeah your host would help you :) but however its funny not to have image support!
     
    extraspecial, Mar 7, 2010 IP
  8. ammyy

    ammyy Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    you have to compile php with the correct tags as shown in this example: http://r00tsecurity.org/forums/index.php?showtopic=9280

    --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib
     
    ammyy, Mar 7, 2010 IP
  9. PhotonVPS-Jim

    PhotonVPS-Jim Active Member

    Messages:
    412
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #9
    Good to see your provider was able to help you out!
     
    PhotonVPS-Jim, Mar 9, 2010 IP