Can't get GD functions to work
Posted: Fri Dec 28, 2007 4:36 am
I have read through many threads dealing with GD installation problems, but I still couldn't find any solution to my specific problem.
I have installed GD, and gd_info() confirms that it is installed and enabled, but I can't get any of the image related functions to work! And I'm talking basic scripts copied from examples at php.net and GD tutorials, so there is nothing wrong with the code itself.
I feel like I must have missed some embarrasingly obvious vital detail, but I can't figure out what!
gd_info() produces this:
I have installed GD, and gd_info() confirms that it is installed and enabled, but I can't get any of the image related functions to work! And I'm talking basic scripts copied from examples at php.net and GD tutorials, so there is nothing wrong with the code itself.
I feel like I must have missed some embarrasingly obvious vital detail, but I can't figure out what!
gd_info() produces this:
And phpinfo() produces:[GD Version] => bundled (2.0.34 compatible)
[FreeType Support] => 1
[FreeType Linkage] => with freetype
[T1Lib Support] => 1
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPG Support] => 1
[PNG Support] => 1
[WBMP Support] => 1
[XPM Support] =>
[XBM Support] => 1
[JIS-mapped Japanese Font Support] =>
Any help would be appreciated!Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
[...]
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
[...]