ImageCreateFromJpeg() error
| From: | Komarov Alexey | Date: | Wed, 20 Oct 2010 17:56:20 +0000 |
| Subject: | ImageCreateFromJpeg() error | ||
| Groups: | php.gd.devel | ||
| Request: | Send a blank email to php-gd-devel+get-680@lists.php.net to get a copy of this message | ||
Hi, all
I have error:
[root@zion src]# cat /www/ka/log/error.log |grep ImageCreateFromJpeg
error: Call to undefined function ImageCreateFromJpeg() in /www/ka/example.com/www/wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 176
[root@zion src]# php -i|grep configure
PHP Warning: PHP Startup: gd: Unable to initialize module
Module compiled with module API=20050922
PHP compiled with module API=20090626These options need to match in Unknown on line 0 Configure Command => './configure' '--with-mysql' '--with-libdir=lib64' '--with-mcrypt' '--enable-mbstring' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--with-libjpeg' '--with-libpng' '--with-gd' '--enable-exif' [root@zion php-5.3.3]# yum list gd gd-devel Installed Packages gd.i386 2.0.33-9.4.el5_4.2 installed gd.x86_64 2.0.33-9.4.el5_4.2 installed gd-devel.i386 2.0.33-9.4.el5_4.2 installed gd-devel.x86_64 2.0.33-9.4.el5_4.2
installed[root@zion php-5.3.3]# info though web-server PHP Version 5.3.3
System Linux 2.6.26-2-xen-amd64 #1 SMP Thu Sep 16 16:32:15 UTC 2010 x86_64 Build Date Oct 20 2010 13:44:32 Configure Command './configure' '--with-mysql' '--with-libdir=lib64' '--with-mcrypt' '--enable-mbstring' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--with-libjpeg' '--with-libpng' '--with-gd'What I am doing wrong? Thanx