php problem with gd library

This is a discussion on php problem with gd library within the PHP Language forums, part of the PHP Programming Forums category; hello to everyone, I'm using Mantis bug tracking system on Ubuntu Server with apache2, mysql 5.1 and php5. ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-27-2007
Mamba
 
Posts: n/a
Default php problem with gd library

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

Reply With Quote
  #2 (permalink)  
Old 09-27-2007
petersprc
 
Posts: n/a
Default Re: php problem with gd library

Hi,

FYI, there is a workaround for this here:

https://bugs.launchpad.net/ubuntu/+s...647/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.

On Sep 27, 10:05 am, Mamba <sagre1...@tiscali.it> wrote:
> 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



Reply With Quote
  #3 (permalink)  
Old 09-28-2007
C. (http://symcbean.blogspot.com/)
 
Posts: n/a
Default Re: php problem with gd library

On 27 Sep, 17:53, petersprc <peters...@gmail.com> wrote:
> Hi,
>
> FYI, there is a workaround for this here:
>
> https://bugs.launchpad.net/ubuntu/+s...647/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.
>
> On Sep 27, 10:05 am, Mamba <sagre1...@tiscali.it> wrote:
>
> > 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


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.

Reply With Quote
  #4 (permalink)  
Old 09-28-2007
Mamba
 
Posts: n/a
Default Re: php problem with gd library


>
> 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



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0