LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to enable GD work with PHP5? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-enable-gd-work-with-php5-4175529270/)

vforv 12-26-2014 08:48 AM

How to enable GD work with PHP5?
 
When I look in the phpinfo page I can't find GD...And It looks enabled in my php.ini file but don't work. Anyone know solution?

I use Slackware 14.1 OS.

this I get when type php -v

php -v

Quote:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/extensions/gd.so' - libX11.so.6: 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/php/extensions/php_gd2.dll' - /usr/lib64/php/extensions/php_gd2.dll: cannot open shared object file: No such file or directory in Unknown on line 0 PHP 5.4.32 (cli) (built: Sep 4 2014 14:06:18) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies with the ionCube PHP Loader v4.7.3, Copyright (c) 2002-2014, by ionCube Ltd.

jdkaye 12-26-2014 08:52 AM

Have you looked at this page?
jdk

vforv 12-26-2014 09:10 AM

Quote:

Originally Posted by jdkaye (Post 5290666)
Have you looked at this page?
jdk

Yes, but how to do that for Slackware 14.1 64 bit?

jdkaye 12-26-2014 02:33 PM

The same way you install any other pages in Slackware. I don't use Slackware but if you do then I assume you know how to search for and install packages in Slackware.
jdk

luvzlinux 12-26-2014 06:51 PM

Hi vforv,

You'll either want to use a distribution that has precompiled support (such as Ubuntu, CentOS, Fedora, RHEL, SUSE), or --

You'll need to recompile the php binaries to enable gd support. Here's some good background info on how to do so --

http://php.net/manual/en/image.installation.php

Hope this helps,


All times are GMT -5. The time now is 05:32 AM.