![]() |
[solved] GD Jpeg Issues
1 Attachment(s)
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! |
what's your lsphp5 build options? run
/usr/local/lsws/fcgi-bin/lsphp5 -i|head |
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 |
please give output of
ldd /usr/local/lsws/fcgi-bin/lsphp5 as well |
Thank you!
Code:
linux-vdso.so.1 => (0x00007fffa6fff000) |
Whats Problem?
I can't understand. Please discus full about it. I want to know about this.......
|
Quote:
|
3 Attachment(s)
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. |
set log level to info for more context or tail the error log (grep your IP) while you making request.
|
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" |
| All times are GMT -7. The time now is 07:11 AM. |