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. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
> > 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 |