Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-28-2007, 06:35 AM   #1
Registered: Jun 2003
Location: europe
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
PHP: No GD support?

I'm using Slackware current (PHP Version 5.2.3).
I noticed that in PHP I can't use functions like imagecreate(). From phpinfo() I see that PHP seems not to have GD support enabled.
But I see, that it has been compiled with '--with-gd=shared,/usr'.
What does this mean? How can I can enable GD support for PHP?

Thanks for any suggestions
Old 06-28-2007, 06:43 AM   #2
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,597

Rep: Reputation: 932Reputation: 932Reputation: 932Reputation: 932Reputation: 932Reputation: 932Reputation: 932Reputation: 932
i think it's because Pat hasn't rebuild the PHP package to link to the latest GD library which has just been updated to fix security vulnerability

I usually use GD bundled by PHP by using --with-gd parameter without giving any specific path to search for
Old 06-30-2007, 01:54 AM   #3
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,176

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
In case you hadn't noticed, this is now fixed in -current.
Old 06-30-2007, 06:41 AM   #4
Registered: Jun 2003
Location: europe
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
Thank you both for the help!

I upgraded to the latest current, now it's working


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
php with gd support - help anyone ? cdm33 Fedora 4 11-20-2006 01:48 PM
getting gd support for php pranith Slackware 6 06-23-2005 12:05 PM
php with gd support ryedunn Linux - Software 5 05-21-2005 01:41 PM
php <-> MySql support boardtc Mandriva 8 04-06-2005 01:05 AM
reinstalled apache, php, still no php support SuSE 8.2 hindenbergbaby Linux - Software 1 10-14-2003 01:42 PM

All times are GMT -5. The time now is 07:42 PM.

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