GD is an open source code library for the dynamic creation of images by programmers. GD is written in C, and “wrappers” are available for Perl, PHP and other languages. GD creates PNG, JPEG and GIF images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web, the most common applications of GD involve web site development.
This post will act as a guide on how to compile GD library on CPanel server.
Requirements:
[*] a CPanel server
[*] WHM root access to the server
[*] a working compiler
Steps:
[*] Login to your WHM as root at http://[your_server_ip]:2086 or http://[your_server_ip]:2087 or http://[your_server_ip]/whm.
[*] Go to "Software" on the left sidebar.
[*] Click "Apache Update".
[img]/files/apache_update.jpg[/img]
[*] Click "Load Previous Config" in order to work with your previous configuration.
[img]/files/load_previous_config.jpg[/img]
[*] Scroll down the page, find "GD (Version latest)" text, check it.
[img]/files/gd_checkbox.jpg[/img]
[*] No need to adjust other settings.
[*] Scroll down again till the bottom, click "Start Build".
[img]/files/start_build.jpg[/img]
[*] You'll see the compile proccess, do [b]nothing[/b], do not close the window, sit back and relax, just wait :clock: until the browser progress indocator stopped.
Now you have GD graphics library compiled with PHP :cheers:
PS: Do this at your own risk, we do not guarantee this will work on all CPanel servers!
No Comments