Download your favorite Linux distribution at LQ ISO.
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, 07: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, 07:43 AM   #2
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,459

Rep: Reputation: 858Reputation: 858Reputation: 858Reputation: 858Reputation: 858Reputation: 858Reputation: 858
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, 02:54 AM   #3
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,146

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
In case you hadn't noticed, this is now fixed in -current.
Old 06-30-2007, 07: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 02:48 PM
getting gd support for php pranith Slackware 6 06-23-2005 01:05 PM
php with gd support ryedunn Linux - Software 5 05-21-2005 02:41 PM
php <-> MySql support boardtc Mandriva 8 04-06-2005 02:05 AM
reinstalled apache, php, still no php support SuSE 8.2 hindenbergbaby Linux - Software 1 10-14-2003 02:42 PM

All times are GMT -5. The time now is 09:36 AM.

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