Click to See Complete Forum and Search --> : extension=php3_gd.dll


Anon
06-30-2000, 01:52 AM
hi..
i can't use the GD.
currently i have php3-win32, apache as a server in Windows98..
i want to use the function in GD library in order to draw a graph but some error occur.
can i just change the php.ini file in line around 150 to :
extension=php3_gd.dll
??
what is that extension for??
but it seem can't be worked fine.. anyone can give me some advices??
TQ

cK

Anon
06-30-2000, 03:25 AM
Check if you have done these... in php.ini

;Windows Extensions
extension=php3_mysql.dll
;extension=php3_calendar.dll
;extension=php3_dbase.dll
extension=php3_gd.dll


extension_dir = c:\php3 ; directory in which the loadable extensions (modules) reside


you should be all right...




cK wrote:
-------------------------------
hi..
i can't use the GD.
currently i have php3-win32, apache as a server in Windows98..
i want to use the function in GD library in order to draw a graph but some error occur.
can i just change the php.ini file in line around 150 to :
extension=php3_gd.dll
??
what is that extension for??
but it seem can't be worked fine.. anyone can give me some advices??
TQ

cK

Anon
06-30-2000, 04:39 AM
i have done that but it gave me another error message:

call to unsupported imagejpec()

how am i going to solve it??

cK

Anon
06-30-2000, 06:43 AM
Try imagejpeg() instead of imagejpec().
bye

Anon
07-02-2000, 10:55 PM
it still giving me this error:

<b>Fatal error</b>: Call to unsupported or undefined function imagejpeg() in <b>c:\program files\apache group\apache\htdocs\project\testing.php3</b> on line <b>5</b><br>
i have tried imageGif(),imagejpeg() and imagePng().. but still is an error..

so how??

cK

Anon
07-02-2000, 11:24 PM
I used to have the same problem and couldn't fix it. But the way I managed to do so is to declare the directory for loadable extension which is normally in php3(if you have different name, u better change it to suit yours). It seems to me that you can't load up extension automatically.

in php3.ini

extension_dir = c:\php3 ; directory in which the loadable extensions (modules) reside


If you can't do that, try to locate the old version of gd.dll.