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]

Reply via email to