Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2008
    Location
    Peru
    Posts
    71

    Enable GD in PHP

    Hi,

    I currently have CentOS 5.5 x64 installed on my server. I'm running PHP 5.2.9 with WHM. I have installed and configured xCache myself.

    Now I need to enable GD support for my PHP installation but I don't know how to do it. Also I have a question, do it will require to recompile PHP? If so, if I recompile PHP am I going to need to reinstall xCache?

    Thank you,
    Jonathan

  2. #2
    Join Date
    Mar 2009
    Location
    Gods Own Country
    Posts
    681
    You can use easyapache to recompile php in cpanel server. Enable GD during the easyapache configuration.

    http://docs.cpanel.net/twiki/bin/vie...pache3/WebHome
    Fabin Mundattil @ Xieles Support
    High Quality Server Management | support @ xieles.com
    http://xieles.com

  3. #3
    Join Date
    Sep 2009
    Posts
    1,794
    You you have ssh access to the server?
    LVPSHosting.com|Virtual Private Servers|Dedicated Servers|
    Managed Hosting Solution|24/7/365 Support
    Datacentar and servers location: Holland, Europe

  4. #4
    Yep, you'll most likely need to re-install xCache.
    AVAILHOSTING.COM - The Hosting Specialists. 99.9% Uptime Money Back Guarantee.
    Friendly Staff 24x7x365 Support cPanel/WHM End-User Support RVSkin RVSiteBuilder Softaculous
    NEW DEALS on Award-Winning cPanel Reseller Plans! Special Promos Now In Effect!
    Featuring: UNMETERED cPanel VPS & Windows VPS Hosting! Lowest Prices! Free Migration Service.

  5. #5
    Join Date
    Feb 2011
    Location
    Ukraine
    Posts
    1

    Enable GD i

    I am installing the shopping cart for the first time and apparently a php function enable_dl is not turned on.
    Is this needed to run the cart or do I have have it turned on.
    I havent heard from my web host to yet to see if I can get it turned on.

    Thanks

  6. #6
    Join Date
    Mar 2008
    Location
    Peru
    Posts
    71
    Quote Originally Posted by LVPSHosting View Post
    You you have ssh access to the server?
    Yes.

    Quote Originally Posted by fabin View Post
    You can use easyapache to recompile php in cpanel server. Enable GD during the easyapache configuration.

    http://docs.cpanel.net/twiki/bin/vie...pache3/WebHome
    I would prefer to do it through command line instead of using PHP.

    Do I simply need to recompile PHP right? Or do I will need to recompile both PHP and Apache?

    How I can upgrade my current PHP 5.2.9 installation to support GD without breaking my current XCache installation?

    Thank you,
    Jonathan

  7. #7
    Join Date
    Mar 2008
    Location
    Peru
    Posts
    71
    If I'm using WHM, how I can enable GD in my PHP installation from the command line without recompiling Apache nor PHP? Is that possible?

  8. #8
    No, you cannot install GD module without recompiling Apache/PHP on a cPanel server. You can either use

    /scripts/easyapache
    from the command line OR

    WHM >> Softwares >> EasyApache
    to enable GD. Both option performs the same task.
    | LinuxHostingSupport.net
    | Server Setup | Security | Optimization | Troubleshooting | Server Migration
    | Monthly and Task basis services.
    | MSN : madaboutlinux[at]hotmail.com | Skype : madaboutlinux

  9. #9
    If you are not familiar with doing easy apache from backend then its good to do it from the WHM after enabling the required modules.

Similar Threads

  1. Enable a php extension
    By jestin_virtual in forum Hosting Security and Technology
    Replies: 10
    Last Post: 09-14-2009, 07:18 AM
  2. how can i enable gettext in php?
    By wiredhosting in forum Hosting Security and Technology
    Replies: 3
    Last Post: 03-27-2008, 02:12 AM
  3. How to enable some libraries on my php?
    By millionpoll in forum Programming Discussion
    Replies: 1
    Last Post: 01-16-2006, 01:02 PM
  4. how to enable pspell in php ?
    By jmansoor in forum Hosting Security and Technology
    Replies: 1
    Last Post: 04-09-2005, 02:09 PM
  5. enable Gd Library in Php 4.3.8
    By boxhosts in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-13-2004, 11:11 AM

Posting Permissions

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