|
|

11-22-2012, 09:18 PM
|
|
Member
|
|
Join Date: Sep 2012
Posts: 17
|
|
[solved] GD Jpeg Issues
Hello,
I have tried so many things and I am stuck with something. My GD Jpeg does not work and I can't figure out why. I can no longer add Jpeg images in wordpress media, and having issues on vBulletin. All the other ones work fine, it is just Jpeg.
Does anyone have something I can try...thanks!
Last edited by NiteWave; 11-24-2012 at 08:39 PM..
|

11-22-2012, 11:55 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,291
|
|
|
what's your lsphp5 build options? run
/usr/local/lsws/fcgi-bin/lsphp5 -i|head
|

11-23-2012, 12:26 AM
|
|
Member
|
|
Join Date: Sep 2012
Posts: 17
|
|
Thank you for the help! I did have --with-jpeg-dir=/usr/lib64' set to --with-jpeg-dir=/usr'
That didn't work either, so I just recompiled.
Code:
Tue Nov 6 23:43:09 UTC 2012 x86_64
Build Date => Nov 22 2012 22:38:47
Configure Command => './configure' '--prefix=/usr/local/lsws/lsphp5' '--build= x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redha t-linux-gnu' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--s ysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/us r/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/v ar/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../c onfig.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config -file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--w ithout-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr/l ib64' '--with-png-dir=/usr/lib64' '--with-xpm-dir=/usr/lib64' '--enable-gd-nativ e-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpe g-dir=/usr/lib64' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--wit h-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-s ockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerbero s' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-sqli te' '--with-libxml-dir=/usr/lib64' '--enable-xml' '--with-system-tzdata' '--enab le-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' ' --enable-mbstring=shared' '--enable-mbregex' '--with-gd=shared' '--enable-bcmath =shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with- ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared ,/usr/lib64/mysql/mysql_config' '--enable-dom=shared' '--with-pgsql=shared' '--e nable-wddx=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl= shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-cur l=shared,/usr' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--w ith-pdo-mysql=shared,/usr/lib64/mysql/mysql_config' '--with-pdo-pgsql=shared,/us r' '--with-pdo-sqlite=shared,/usr' '--with-sqlite3=shared,/usr' '--enable-json=s hared' '--enable-zip=shared' '--without-readline' '--with-libedit' '--with-pspel l=shared' '--enable-phar=shared' '--with-tidy=shared,/usr' '--enable-sysvmsg=sha red' '--enable-sysvshm=shared' '--enable-sysvsem=shared' '--enable-posix=shared' '--with-unixODBC=shared,/usr' '--enable-fileinfo=shared' '--enable-intl=shared' '--with-icu-dir=/usr' '--with-litespeed'
Server API => LiteSpeed V6.0
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini
|

11-23-2012, 02:25 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,291
|
|
|
please give output of
ldd /usr/local/lsws/fcgi-bin/lsphp5
as well
|

11-23-2012, 07:56 AM
|
|
Member
|
|
Join Date: Sep 2012
Posts: 17
|
|
Thank you!
Code:
linux-vdso.so.1 => (0x00007fffa6fff000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x000000324e000000)
libedit.so.0 => /usr/lib64/libedit.so.0 (0x0000003252800000)
libncurses.so.5 => /lib64/libncurses.so.5 (0x0000003251800000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x000000324ec00000)
libgmp.so.3 => /usr/lib64/libgmp.so.3 (0x0000003252000000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x0000003253400000)
libz.so.1 => /lib64/libz.so.1 (0x000000324d400000)
libpcre.so.0 => /lib64/libpcre.so.0 (0x0000003251c00000)
librt.so.1 => /lib64/librt.so.1 (0x000000324e400000)
libm.so.6 => /lib64/libm.so.6 (0x000000324c800000)
libdl.so.2 => /lib64/libdl.so.2 (0x000000324cc00000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003251400000)
libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x0000003253c00000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000003250800000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x000000324f800000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000003250000000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x000000324f000000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x0000003251000000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x0000003250c00000)
libc.so.6 => /lib64/libc.so.6 (0x000000324c400000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x000000324e800000)
libfreebl3.so => /lib64/libfreebl3.so (0x000000324dc00000)
libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003252400000)
/lib64/ld-linux-x86-64.so.2 (0x000000324c000000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x000000324f400000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x000000324d000000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000003250400000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x000000324fc00000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x000000324d800000)
|

11-23-2012, 08:12 AM
|
|
New Member
|
|
Join Date: Nov 2012
Posts: 1
|
|
Whats Problem?
I can't understand. Please discus full about it. I want to know about this.......
|

11-23-2012, 10:10 AM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,390
|
|
Quote:
Originally Posted by Jakobi
Hello,
I have tried so many things and I am stuck with something. My GD Jpeg does not work and I can't figure out why. I can no longer add Jpeg images in wordpress media, and having issues on vBulletin. All the other ones work fine, it is just Jpeg.
Does anyone have something I can try...thanks!
|
You did have jpeg support in GD as shown in screenshot. Please check error_log for any context regarding issue.
|

11-23-2012, 10:47 AM
|
|
Member
|
|
Join Date: Sep 2012
Posts: 17
|
|
|
I don't have anything in my error logs. The problem seems to be in resizing images. In WordPress or vBulletin it cannot resize jpegs. This only happened after moving to Litespeed.
Would it have anything to do with using PHP 5.4.6? I have tried lots of things and appreciate any help.
|

11-23-2012, 03:57 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,390
|
|
|
set log level to info for more context or tail the error log (grep your IP) while you making request.
|

11-23-2012, 07:12 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,291
|
|
can change the build option from "--with-gd=shared" to "--with-gd", and rebuild php ? see if it resolves the issue.
another tip, to narrow down the issue, you can run test program to see if working as expected or giving out any error message. for example, http://php.net/manual/en/function.imagejpeg.php
"Example #1 Outputting a JPEG image"
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 10:49 PM.
|
|