Author Topic: Problem with GD  (Read 2383 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Problem with GD
« 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?

Offline
*****
Re: Problem with GD
« Reply #1 on: April 18, 2016, 03:05:13 PM »
did you rebuild the php ?

Offline
**
Re: Problem with GD
« Reply #2 on: April 21, 2016, 08:48:30 AM »
how can rebuild php¿?

Offline
*****
Re: Problem with GD
« Reply #3 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
« Last Edit: April 21, 2016, 12:24:53 PM by Sandeep »

Offline
*
Re: Problem with GD
« Reply #4 on: October 20, 2016, 04:39:10 AM »
And how about GD2, I have some application need GD2 library

Offline
*
Re: Problem with GD
« Reply #5 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!