Page 1 of 1

GD_lib not working?

Posted: 2005/07/29 13:13:56
by Skunk
Hi
I am using gd_lib in PHP with Apache.
Every time i try a gd_lib command, it fails:
Fatal error: Call to undefined function: imagecreate() in /var/www/******************

Making a .php file with [code]<?php var_dump(gd_info()) ?> [/code] allso fails:
Fatal error: Call to undefined function: gd_info() in /var/www/*******************

I have disabled SELinux but that didnt help.

Can anyone verify it as a bug, or is it just me :-? ?

Kind Regards
Bjorn Andersen

Re: GD_lib not working?

Posted: 2005/07/29 14:22:17
by Skunk
I got help from IRC #centos.

The problem was that i did not install php-gd at all.
Sorry...