Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

php problem with gd library

8 views
Skip to first unread message

Mamba

unread,
Sep 27, 2007, 11:05:28 AM9/27/07
to
hello to everyone,
I'm using Mantis bug tracking system on Ubuntu Server with
apache2, mysql 5.1 and php5.
Mantis uses jpgraph for graphics but when I call a graphic page,
Jpgraph return this error:
Fatal error: Call to undefined function imageantialias() in /var/www/
jpgraph-2.2/src/jpgraph.php on line 5586
that is a call to imageantialias() function of PHP!
I installed php5 and php5-gd package with apt-get, configured php.ini
and apache2 (phpinfo() tell me that gd support is enabled).everything
works fine but not graphics.
Can anyone help me?
please !!!

thanks in advance

petersprc

unread,
Sep 27, 2007, 12:53:18 PM9/27/07
to
Hi,

FYI, there is a workaround for this here:

https://bugs.launchpad.net/ubuntu/+source/php5/+bug/74647/comments/6

You can also compile PHP from the source. The version of GD that comes
bundled with PHP is different from the standard GD that php5-gd uses.

C. (http://symcbean.blogspot.com/)

unread,
Sep 28, 2007, 7:52:28 AM9/28/07
to

I've recently had problems with GD on an Ubuntu box - the packages in
standard repositories are rather old (and I couldn't dind dev
versions) - so I installed GD from source - http://www.boutell.com/gd/

C.

Mamba

unread,
Sep 28, 2007, 11:03:39 AM9/28/07
to

>
> I've recently had problems with GD on an Ubuntu box - the packages in
> standard repositories are rather old (and I couldn't dind dev
> versions) - so I installed GD from source -http://www.boutell.com/gd/
>
> C.

thanks to all for responses!

Well... I removed php5-gd and php5 packages, reinstalled php5 from
sources with the options "--with-gd --enable-gd " and everythings
works now!

By the way the workarount in the link above did not work for me :-(
I extracted gd-bundled.so from the package of Mandriva as explained in
the link ( I didn't found any .deb package with this library!!) and
copied in /usr/lib but the error is still present.
Must I register this library? if yes, how can I do ?
also I installed GD from source but I didn't found gd-bundled.so in
sources!
thanks

0 new messages