|
||||
|
Quote:
1. Go to WHM -> Software -> EasyApache 2. proceed through to step 5 of EasyApache 3. Click on Exhaustive Options List 4. Check the box for GD 5. Save & Build.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit |
|
|||
|
There is also an another way to enable GD.
You can also do it from SSH. Run easyapache script and then go to Exhaustive Options List and select GD. |
|
||||
|
And there is another way
... If you want GD to really work 100% ... Compile PHP manually! (Actually there is reason for this if you are wanting full GD and have all the functions and components actually work correctly) Open a phpinfo() screen to get your current ./configure options as you'll need the rest of your options later below as !!!OPTIONS!!! Code:
# yum install coreutils make gcc* glib* libexif libjpeg* libpng* giflib* gd gd-* netpbm Image* freetype* # /scripts/checkperlmodules (might want to do this 2 or three times) Code:
# cd /usr/local/src # wget http://us3.php.net/get/php-5.2.10.tar.bz2/from/us2.php.net/mirror # tar jxvf ./php-5.2.10.tar.bz2 # cd php-5.2.10 # ./configure --with-zlib --with-zlib-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf --with-ttf --with-exif --with-gd --with-imagick !!!YOUR OTHER OPTIONS!!! (Note the order of the options I've shown --- That is important!) # make # make test # make install Restart your apache server Code:
service httpd restart The pre-requisite yum installer I gave you also asked to install ImageMagick which is another very powerful graphics package that a lot of PHP scripts like to use. There is an optional module you can add to PHP to give you direct ImageMagick functions from within PHP. Code:
# cd /usr/local/src/php-5.2.10/ext # wget http://pecl.php.net/get/imagick-2.3.0RC2.tgz # tar zxvf ./imagick-2.3.0RC2.tgz # mv imagick-2.3.0 imagick # cd imagick # phpize # ./configure # make # make test # make install Code:
extension=imagick.so
__________________
My Server Expert: Server support, security, and management! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with PHP library mysqli.so | helenamunoz | cPanel and WHM Discussions | 2 | 05-05-2009 03:07 PM |
| install php library | khanhtran | cPanel and WHM Discussions | 1 | 04-07-2008 03:30 AM |
| PHP GD Library | AnthonyCaesar | cPanel and WHM Discussions | 3 | 03-22-2005 08:18 PM |
| How can I upgrade the php GD library from 2.0.23 to 2.0.28? | AbeFroman | cPanel and WHM Discussions | 18 | 09-24-2004 05:54 PM |