LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2014, 08:48 AM   #1
vforv
LQ Newbie
 
Registered: Oct 2014
Posts: 23

Rep: Reputation: Disabled
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.

Last edited by vforv; 12-26-2014 at 09:10 AM.
 
Old 12-26-2014, 08:52 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Have you looked at this page?
jdk
 
Old 12-26-2014, 09:10 AM   #3
vforv
LQ Newbie
 
Registered: Oct 2014
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jdkaye View Post
Have you looked at this page?
jdk
Yes, but how to do that for Slackware 14.1 64 bit?
 
Old 12-26-2014, 02:33 PM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
Old 12-26-2014, 06:51 PM   #5
luvzlinux
LQ Newbie
 
Registered: Dec 2014
Posts: 3

Rep: Reputation: Disabled
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,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable mysql on php5? hocheetiong Linux - Newbie 2 10-17-2008 10:24 AM
PHP5 binary with enable-sockets OliXNet Linux - Newbie 1 11-16-2006 01:37 AM
how to enable php5 for mysql after installation irfanhab Programming 1 02-01-2006 10:03 AM
enable php5 in apache on Slackware 10.2 esteeven Slackware 3 01-30-2006 04:41 PM
php5 - how to enable rjcrews Mandriva 5 06-01-2005 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration