1
vinit
NewBB2 not detecting GD in Fedora Core 3?
  • 2004/12/26 11:26

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Hi,

I just got a new server with Fedora core 3, on implementation of XOOPS over it, everything went fine, the only issue was that newbb not displaying images (new topic, Reply etc) this images are in gif format, and are shown as png using gd i suppose.

On checking apache error log i found that this png images are not there, truely it was not there because gifs where there, on checking the admin menu -> forums i found that it says GD not available. doing a sort query for gd on system , i found the following

rpm -qa | grep "gd"
gdbm-1.8.0-24
gd-2.0.28-1
gdb-6.1post-1.20040607.41
gd-devel-2.0.28-1
gdm-2.6.0.5-6
gdesklets-0.30-1.1.fc3.rf
sysklogd-1.4.1-22
gdk-pixbuf-0.22.0-15.0
gdbm-devel-1.8.0-24

Is there anything missing in this. Or does apache server needs some modificaitons to call gd ??

2
ackbarr
Re: NewBB2 not detecting GD in Fedora Core 3?

apache doesn't need any changes, but php might. According to the PHP website documentation for GD it is a compilation option that can be turned on or off. I presume since you are running PHP on a Fedora box that you installed PHP via RPM. If that is the case, try to install the php-gd package:

I think the proper command line is:
Quote:

apt-get install php4-gd

3
vinit
Re: NewBB2 not detecting GD in Fedora Core 3?
  • 2004/12/26 14:07

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Installed php-gd, still no effect :(
Googling arround to find out what else is needed.
Do let me know if you come to know anything more about it

rpm -qa | grep "gd"
gdbm-1.8.0-24
gd-2.0.28-1
gdb-6.1post-1.20040607.41
gd-devel-2.0.28-1
gdm-2.6.0.5-6
gdesklets-0.30-1.1.fc3.rf
sysklogd-1.4.1-22
php-gd-4.3.9-3
gdk-pixbuf-0.22.0-15.0
gdbm-devel-1.8.0-24


GD is now detectedm yet the images are not comming up :(

Does it need
php-mbstring, and php-ncurses packages,

4
ackbarr
Re: NewBB2 not detecting GD in Fedora Core 3?

did you restart apache after updating php?

5
vinit
Re: NewBB2 not detecting GD in Fedora Core 3?
  • 2004/12/26 15:27

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


offcourse

Fedora always has tendency to screw up things in its own way.
read here
http://www.fedoraforum.org/forum/archive/index.php/t-27754.html

6
LazyBadger
Re: NewBB2 not detecting GD in Fedora Core 3?

Sorry for possible stupid question, but - did you enable GD-extension in php.ini?

7
m0nty
Re: NewBB2 not detecting GD in Fedora Core 3?
  • 2004/12/26 22:10

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


as far as i know, mbstring isn't needed..

mbstring is used in conjunction with php_mcrypt.dll and for multibyte coding in other languages such as japanese and chinese as far as i'm aware.. but i'm not a php guru..

have you tried runnin a simple phpinfo() script and checking exactly what's installed with php? u should see GD support in the info if it is installed correctly..

Quote:

gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled


if you don't see that in phpinfo then it's not installed right..

Login

Who's Online

203 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits