This function and others may not work with the stock PHP install on Centos/CPanel: Fatal error: Call to > undefined function imagecreatefromjpeg()
Even with libjpeg-devel installed it won't work because PHP was not compiled with jpeg support, so we have to do the dirty work ourselves :)
yum install bzip2-devel curl-devel enchant-devel t1lib-devel gmp-devel gettext-devel libibcommon-devel openldap-devel libmcrypt-devel freetds-devel unixODBC-devel pspell-devel readline-devel libedit-devel recode-devel
imap error: (remove it unless you need it)
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libxslt.so: undefined reference to `xmlXPathContextSetCache'
replace --with-xsl with --with-dom-xslt
./configure --with-openssl \
compile, php, centos, cpanel, whm, fatal, undefined, imagecreatefromjpeg, install, libjpeg, devel, installed, compiled, jpeg, yum, libraries, configure, bzip, curl, enchant, lib, gmp, gettext, libibcommon, openldap, libmcrypt, freetds, unixodbc, pspell, readline, libedit, recode, imap, utf, _mime, text, t_canonical, config, additional, xsl, usr, gcc, redhat, linux, libxslt, reference, xmlxpathcontextsetcache, dom, xslt, generic, installs, doesn, openssl, kerberos, zlib, bz, curlwrappers, libxml, dir, pcre, gd, png, xpm, freetype, mhash, ssl, ldap, sasl, libmbfl, onig, mcrypt, mssql, mysql, dbmaker, pdo, dblib,