Control Web Panel

WebPanel => PHP => Topic started by: view on April 18, 2016, 11:22:51 AM

Title: Problem with GD
Post by: view on April 18, 2016, 11:22:51 AM
Hello


I have enabled GD and show all good in php.ini But in my joomla i get this error

Code: [Select]
Critical Issues
No GD library available.

In ssh i found rhis

Code: [Select]
[root@server ~]# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20131226/php_gd2.dll' - /usr/lib64/extensions/no-debug-non-zts-20131226/php_gd2.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20131226/php_intl.dll' - /usr/lib64/extensions/no-debug-non-zts-20131226/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.6.14 (cli) (built: Apr 12 2016 23:52:57)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

How to resolve this problem?
Title: Re: Problem with GD
Post by: Sandeep on April 18, 2016, 03:05:13 PM
did you rebuild the php ?
Title: Re: Problem with GD
Post by: robbyq on April 21, 2016, 08:48:30 AM
how can rebuild php¿?
Title: Re: Problem with GD
Post by: Sandeep on April 21, 2016, 12:23:05 PM
Just REcompile and add this

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

screenshot : http://i.imgur.com/kKcMpxM.png
Title: Re: Problem with GD
Post by: thanh_tan on October 20, 2016, 04:39:10 AM
And how about GD2, I have some application need GD2 library
Title: Re: Problem with GD
Post by: FabianoCardoso on October 26, 2016, 09:57:04 PM
Just REcompile and add this

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

screenshot : http://i.imgur.com/kKcMpxM.png

Work for me!
Apache version: Apache/2.2.31
PHP version: 5.6.14

Thx!