GD2 inst/config help needed
I am running a small web design and hosting (as reseller) business using:WHM 9.1.0
General server information:
Operating system Linux
Kernel version 2.4.20-29.7.progeny.3
Apache version 1.3.29 (Unix)
PERL version 5.6.1
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
PHP version 4.3.4
MySQL version 4.0.18-standard
cPanel Build 9.1.0-STABLE 93
Theme cPanel X v2.3.0
cPanel Pro 0.9.9.2 (RC8)
Recently after a script installation and testing a problem with GD2 library came up:
GD2 Probe:
If everything is okay you should see a green mark below,
otherwise contact your hosting provider.
PHPInfo:
ImageCreateFromJpeg...
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/perform/public_html/models/images/test/gdtest.php on line 23
Try to contact my host (Id like to mention that since now had no problem with previous probs. ex. Image Magic installation) but after about 10 mails no answer!
After a small self learning on the web about GD2 library (h*tp://*ww.boutell.com/gd/) I noticed that I am using php 4.3.x, and it includes a version of gd as "standard equipment. Your GD FAQ says: "according to rumor the self-extracting installer does not include gd for some reason; comments from those who find otherwise are welcome." In my binary installation of PHP 4.3.3, I found that php_gd2.dll is available, it's just not enabled by default. To turn it on, the user may simply uncomment the line "extension=php_gd2.dll" in php.ini. Hope this helps people who, like me, saw the FAQ entry and immediately started dreading the prospect of building everything from source -- something Windows doesn't seem to make very easy for people with little C/C++ experience. Updated 12/06/03: Windows users DO get gd included when they install the convenient self-extracting version of PHP, however they must uncomment the line extension=php_gd2.dll in the file php.ini. Thanks to Alan MacDougall for clarifying this. " (full faq: h*tp://*ww.boutell.com/gd/faq.html)
Any help on this?
Thanks.