+ Reply to Thread
Results 1 to 10 of 10

Thread: GD library in WHM and CPanel

  1. #1
    Join Date
    2011 May
    Posts
    6

    GD library in WHM and CPanel

    Hi there,
    I am pretty new to all this admin stuff on WHM, though know my way around CPanel as a user.

    I am working on a site and some extensions require use of GD library. Since I could not fine any reference to it in CPanel, I ended up going to WHM and tinkered with Apapche update and created EasyApache (have no clue what that means), then restarted Apache and the server

    Now I see GD extension among my Perl Modules as "installed", but my site's software can not see it or use it.

    Can you please help and point me in the right direction?

  2. #2
    Join Date
    2010 Jul
    Location
    San Antonio, TX
    Posts
    38
    Hey Ayben,

    Did you follow the steps listed in our other forum post?

    If you did and are still having issues, you may want to submit a support ticket so we can look further into this. We may not be able to get it working since it is a custom application you are installing, but we can at least take a look. =)

    Or do you have any other information such as errors you are getting we can take a look at?
    Shawn
    Support Technician
    ServerBeach – By Geeks, For Geeks
    A Peer1 Company

    Twitter: @sbsholcombe
    Check out the ServerBeach Web Site!

  3. #3
    Join Date
    2011 May
    Posts
    6
    I had absolutely no problems with easyapache, and as I mentioned, after I went through the build process (which indeed, took some time and temporarily took down my site), the GD extension is showing up just fine in Perl modules as "installed".

    As I understand that GD is a standard feature, used by most servers to handle graphic files (hence the name: "Graphic Draw") and used by quite a few PHP based extensions written for WordPRess, OPenx and others.

    What I have problem with is not knowing how to turn it on.

    I found this post:
    http://forums.serverbeach.com/showth...ght=gd+library

    However, I am not sure what file needs uncommented and I wonder if this still applies since the post dates back to 2007.

    Any ideas? Clearly, it might be useful for future forum visitors.
    Thanks in advance

  4. #4
    Join Date
    2010 Jul
    Location
    San Antonio, TX
    Posts
    38
    Heya,

    You should not have to worry about un-commenting anything since GD was installed using EasyApache in WHM/cPanel. It should be enabled/turned on by default now. What script are you trying to install? Do you have a site up and running that we could see the errors on? This would help us get a bit more information as to what's going on.
    Shawn
    Support Technician
    ServerBeach – By Geeks, For Geeks
    A Peer1 Company

    Twitter: @sbsholcombe
    Check out the ServerBeach Web Site!

  5. #5
    Join Date
    2011 May
    Posts
    6
    Hey Shawn.
    Thanks for the info.

    The actual error comes from within the plugin interface. More like a warning, really. It says:

    "Sorry, you cannot see this graph because the GD graphics extension is missing from your PHP installation. Please contact your system administrator to have it installed. "

    (this one is in OPENX interface. The extension is supposed to output click and impressions statistics in a form of a pie chart or graph.

    Here is another instance, on the site itself, where the missing extension is supposed to create thumbnails for the image gallery.

    Here is the link to the site:
    http://westpasco-fl.communitychatterbox.com/

    On the right sidebar, below the ad, there should be an image gallery thumbnails that are supposed to be rendered by GD.

  6. #6
    Fr3d's Avatar
    Fr3d is offline PEER 1 Software Development Extraordinaire
    Join Date
    2011 Apr
    Location
    Southampton, UK
    Posts
    2
    The URIs for the thumbnails seem to be invalid.
    For example, http://westpasco-fl.communitychatter...a_26445185.jpg results in a page saying the following:
    Page Not Found

    The page you requested could not be found.
    As the URI is a .jpg, I'd expect either an image file, or an error message from PHP saying it was unable to load GD or similar.
    Last edited by Fr3d; 2011-05-13 at 16:07 PM.

  7. #7
    Join Date
    2010 Jul
    Location
    San Antonio, TX
    Posts
    38
    Hello,

    I see the section on the right sidebar of your site where you say the thumbnails should be displayed. The only thing I notice when looking at the site's source code is that the images do not actually work, even when you directly go to the link you are using in the HTML:

    Code:
    <img src="http://westpasco-fl.communitychatterbox.com/wp-content/blogs.dir/2/files/easter-decor/thumbs/thumbs_fotolia_12869843.jpg" width="85" height="85" title="easter wreath" alt="easter wreath" />
    <img src="http://westpasco-fl.communitychatterbox.com/wp-content/blogs.dir/2/files/easter-decor/thumbs/thumbs_fotolia_21146233.jpg" width="85" height="85" title="Golden easter eggs" alt="Golden easter eggs" />
    <img src="http://westpasco-fl.communitychatterbox.com/wp-content/blogs.dir/2/files/easter-decor/thumbs/thumbs_fotolia_6422286.jpg" width="85" height="85" title="Hand painted easter eggs." alt="Hand painted easter eggs." />
    <img src="http://westpasco-fl.communitychatterbox.com/wp-content/blogs.dir/2/files/around-community/thumbs/thumbs_fotolia_22890011.jpg" width="85" height="85" title="portrait of a female pharmacist at pharmacy" alt="portrait of a female pharmacist at pharmacy" />
    When you copy and paste those links to the images in a browser, the files are not found. Are these the correct paths to the files?
    Shawn
    Support Technician
    ServerBeach – By Geeks, For Geeks
    A Peer1 Company

    Twitter: @sbsholcombe
    Check out the ServerBeach Web Site!

  8. #8
    Join Date
    2011 May
    Posts
    6
    The images are there. If you actually click on the empty thumbnail, it will display the full size image.

    The plugin is supposed to take the image I uploaded and have GD render the thumbnail (and/or save it in a thumbnail folder) then serve to the page.

    The path did not work because it is looking for the thumbnail that could not be generated due to GD not being recognized (which is exactly what my problem is)

  9. #9
    Join Date
    2010 Jul
    Location
    San Antonio, TX
    Posts
    38
    Hey Ayben,

    Are you sure all the folder permissions are set correctly for the thumbs folder? Without having access to your server and scripts, there isn't much more I can guess to be the problem. You are welcome to submit a trouble ticket to see if we can provide more assistance with this.
    Shawn
    Support Technician
    ServerBeach – By Geeks, For Geeks
    A Peer1 Company

    Twitter: @sbsholcombe
    Check out the ServerBeach Web Site!

  10. #10
    Join Date
    2011 May
    Posts
    6
    I will check the permissions... but it still would not explain the OpenX not being able to show data in a graph.
    OpenX is a completely different database and application atogether and there would not be any shared folders whatsoever.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts