Control Web Panel

WebPanel => PHP => Topic started by: lolite on September 30, 2015, 03:47:48 AM

Title: Lib JPEG Support php-gd
Post by: lolite on September 30, 2015, 03:47:48 AM
is there that can help me, I'm having trouble PHP Can not read JPEG Support please help me to solve this problem. Support JPEG because I need to be in use
Title: Re: Lib JPEG Support php-gd
Post by: lolite on October 01, 2015, 05:52:50 AM
up
Title: Re: Lib JPEG Support php-gd
Post by: Igor S. on October 01, 2015, 07:10:45 AM
Hello,

We need investigate it in your server, you can using the support http://centos-webpanel.com/support-services .
Or you can provide here more details, like what did you do before issue. What you see in PHP info? etc
Title: Re: Lib JPEG Support php-gd
Post by: lolite on October 01, 2015, 08:25:46 AM
This php my info

Quote
gd
GD Support    enabled
GD Version    bundled (2.1.0 compatible)
GIF Read Support    enabled
GIF Create Support    enabled
PNG Support    enabled
libPNG Version    1.2.49
WBMP Support    enabled
XBM Support    enabled

Directive   Local Value   Master Value
gd.jpeg_ignore_warning   0   0

but I expect jpeg support like php info below

Quote
gd
GD Support    enabled
GD Version    bundled (2.1.0 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
FreeType Version    2.3.11
GIF Read Support    enabled
GIF Create Support    enabled
JPEG Support    enabled
libJPEG Version    9 compatible

PNG Support    enabled
libPNG Version    1.2.49
WBMP Support    enabled
XBM Support    enabled

Directive   Local Value   Master Value
gd.jpeg_ignore_warning   0   0


I've tried to change php version but all the same in php gd jpeg nothing. I tried to check in a demo version of CentOS web panel I look at php infonya was also no jpeg. is there a solution for my problem? sory my bad english
Title: Re: Lib JPEG Support php-gd
Post by: Administrator on October 01, 2015, 03:49:27 PM
you should contact support as this would require manual php recompiling and testing
Title: Re: Lib JPEG Support php-gd
Post by: m3th3lesh on October 01, 2015, 05:46:26 PM
is there that can help me, I'm having trouble PHP Can not read JPEG Support please help me to solve this problem. Support JPEG because I need to be in use

Just REcompile and add this

--with-jpeg-dir \
--enable-gd-native-ttf \
--with-freetype-dir \

Your Problem would be solved
Title: Re: Lib JPEG Support php-gd
Post by: infinitech07 on October 22, 2015, 07:10:01 AM
I have the same problem after upgraded to php 5.5.11.

Now it is being resolved. Thanks for the solution provided.  :)
Title: Re: Lib JPEG Support php-gd
Post by: FabianoCardoso on November 17, 2016, 10:25:56 PM
m3th3lesh, work!
Thx, man!

Just REcompile and add this

--with-jpeg-dir \
--enable-gd-native-ttf \
--with-freetype-dir \
Title: Re: Lib JPEG Support php-gd
Post by: blackstar on December 05, 2016, 12:05:49 AM
m3th3lesh, work!
Thx, man!

Just REcompile and add this

--with-jpeg-dir \
--enable-gd-native-ttf \
--with-freetype-dir \

hello, Where do I write these commands? thank you.
Title: Re: Lib JPEG Support php-gd
Post by: Sandeep on December 05, 2016, 06:56:29 AM
m3th3lesh, work!
Thx, man!

Just REcompile and add this

--with-jpeg-dir \
--enable-gd-native-ttf \
--with-freetype-dir \

hello, Where do I write these commands? thank you.

at the time of compile add this flags
Title: Re: Lib JPEG Support php-gd
Post by: Darkroom on December 05, 2016, 02:43:35 PM
m3th3lesh, work!
Thx, man!

Just REcompile and add this

--with-jpeg-dir \
--enable-gd-native-ttf \
--with-freetype-dir \

hello, Where do I write these commands? thank you.

In CWP under PHP Settings, go to PHP selector. click on Edit flags, add these settings to the top window (you won't need the \), check the box and click Start Compiler.

Similar instructions if using the PHP Switcher to compile. Select PHP version, click next, add flags to top window, start compiler.
Title: Re: Lib JPEG Support php-gd
Post by: blackstar on December 05, 2016, 10:41:13 PM
m3th3lesh, work!
Thx, man!

Just REcompile and add this

--with-jpeg-dir \
--enable-gd-native-ttf \
--with-freetype-dir \

hello, Where do I write these commands? thank you.

In CWP under PHP Settings, go to PHP selector. click on Edit flags, add these settings to the top window (you won't need the \), check the box and click Start Compiler.

Similar instructions if using the PHP Switcher to compile. Select PHP version, click next, add flags to top window, start compiler.

I did what you said, the plugins are working now. Thank you.