Hello,
I have a script that creates image using the gd library that is bundled with
the latest php-4.0.3 on Redhat Linux / Apache as apache mod. Everything works
fine when I use png:
header(Content-type: image/png);
$im = imagecreate(500,500);
...[script]...
imagepng($im)
Then when I try to
Well, check the error. Get rid of the header() call and just look at the
output.
On Thu, 27 Mar 2003, Reuben D. Budiardja wrote:
Hello,
I have a script that creates image using the gd library that is bundled with
the latest php-4.0.3 on Redhat Linux / Apache as apache mod. Everything
On Thursday 27 March 2003 10:42 pm, Rasmus Lerdorf wrote:
Well, check the error. Get rid of the header() call and just look at the
output.
uh.. didn't know I can do that, anyway, it gives:
Fatal error: Call to undefined function: imagejpeg() in
/usr/local/apache/htdocs/astr162/wedgeplot.php
Do you have libjpeg installed? You might need to add --with-jpeg-dir=/usr
assuming your libjpeg is in /usr/lib, for example.
-Rasmus
On Thu, 27 Mar 2003, Reuben D. Budiardja wrote:
On Thursday 27 March 2003 10:42 pm, Rasmus Lerdorf wrote:
Well, check the error. Get rid of the header() call
On Thursday 27 March 2003 10:51 pm, you wrote:
Do you have libjpeg installed? You might need to add --with-jpeg-dir=/usr
assuming your libjpeg is in /usr/lib, for example.
-Rasmus
I see.
$ locate libjpeg
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
...
So I will try to re-compile
5 matches
Mail list logo