Hi again,
I forgot to mention that if I used:> imagecreatefromjpeg
an similar error comes out:

Warning: ImageCreateFromJpeg: No JPEG support in this PHP build in
/usr/apache/savophone/test.php on line 5

I searched the whole web for this error

Here is what I get out when I configure Php:
checking for the location of -ljpeg... yes
checking for the location of -lpng... yes
...
checking for gdImageCreateFromJpeg in -lgd... yes

This seems ok.....and Php works perfectly well. But not when calling
functions using the gd library.

What I really do not understand is that jpeg seems to be correctly
installed and Php is ok top use it since the "checking for
gdImageCreateFromJpeg in -lgd... yes" says that the functions are ok to be
used.
All the libraries are also in teh correct paths....

Does anybody have a clue about what I could do to solve the problem???

Thanks for the help in advance....

NIcolas.

"""""""""""""""""""""""""""""""






[EMAIL PROTECTED] écrit:

> Eh,
> 
> that function,
> 
> try only
> imagecreatefromjpeg (without starting with gd)
> 
> ok ?
> 
> Roman
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, October 23, 2001 1:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] big pb: gdimagecreatefromjpeg not working
> > 
> > 
> > 
> > Hi all,
> > 
> > I am having a problem with our GD library "friend" ;-)
> > ok, here it is:
> > 
> > I have installed gd with the correct jpeg libraries.
> > I then ./configure PHP:
> > ./configure --with-apxs=/usr/apache/bin/apxs --with-zlib=/usr
> > --with-oci8=/export/home0/oracle/OraHome --with-gd=/usr/local
> > --with-jpeg-dir=/usr/local/lib --with-png=/usr/local/lib
> > 
> > works fine:
> > 
> > checking for the location of -ljpeg... yes
> > checking for the location of -lpng... yes
> > ...
> > checking for gdImageCreateFromJpeg in -lgd... yes
> > 
> > ok so that means (I suppose) that the function 
> > gdImageCreateFromJpeg  works
> > fine and should be ok in php code......
> > 
> > Then I do a make and make install, no problems.
> > BUT:
> > when I do this code:
> > 
> > $img=gdImageCreateFromJpeg(".test.jpg");
> > $blue=ImagecolorAllocate($img,0,0,250);
> > imagestring($img,4,10,4,"Connexion",$blue);
> > 
> > it then sends me out an error:
> > Fatal error: Call to undefined function: gdimagecreatefromjpeg() in
> > /usr/apache/savophone/test.php
> > 
> > Please HELP !!!!
> > Thanks a  lot in advance,
> > 
> > Nicolas.
> > 
> > 
> > 
> > 
> > 
> > -- 
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to