473,385 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

Sep 27 '07 #1
3 8435
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.itwrote:
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

Sep 27 '07 #2
On 27 Sep, 17:53, petersprc <peters...@gmail.comwrote:
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.itwrote:
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.

Sep 28 '07 #3
>
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

Sep 28 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: womanontheinside | last post by:
I have a library which was written in C, you call a function, it provides the result by a callback to specific function names. I am trying to wrap the calls to this inside a class, but this causes...
1
by: RTJ | last post by:
I have experienced problems with Oracle OCI library. I was unable to properly link OCI library using gcc. Probably gcc compiler provided with SFU is unable to link native Windows library. Oracle...
217
by: gyromagnetic | last post by:
The following url points to an article written by Damian Conway entitled "Ten Essential Development Practices": http://www.perl.com/pub/a/2005/07/14/bestpractices.html Althought the article has...
53
by: Allan Bruce | last post by:
Hi there, I am reading a file into a char array, and I want to find if a string exists in a given line. I cant use strcmp since the line ends with '\n' and not '\0'. Is there a similar function...
14
by: m | last post by:
all, i am trying to use the function round() which I found through google to be declared in math.h ( http://www.gnu.org/software/libc/manual/html_node/Rounding-Functions.html). this function does...
48
by: Chad Z. Hower aka Kudzu | last post by:
A few of you may recognize me from the recent posts I have made about Indy <http://www.indyproject.org/indy.html> Those of you coming to .net from the Delphi world know truly how unique and...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
9
by: craig.overton | last post by:
All, I am currently developing an FTP class in VB.NET. It's kid tested, mother approved when trying to access an FTP Server on a Windows box meaning I can connect, run commands, upload and...
12
by: bgeneto | last post by:
I know that it's a very basic question, but I can't figure out or find an answer to why do we have to specify a namespace, like this #include<string> using namespace std; when using the...
0
by: Pucca | last post by:
Hi I'm using vs2005. I am getting a bunch of compiler warnings after I made some changes to my code that was compiling clean. I'm also getting memory errors when I run my program and it's...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.