* Thus wrote Aaron Wolski ([EMAIL PROTECTED]):
> 
> I guess my question is.. what exactly do I do? Lol. I look at my
> phpinfo() and I see that PHP was not compiled with GD.
> 
> I look at my compile line in phpinfo and this is what I have:
> 
> './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
> '--enable-bcmath' '--enable-calendar' '--enable-ftp'
> '--enable-magic-quotes' '--with-mysql' '--with-pear' '--enable-sockets'
> '--enable-track-vars' '--enable-versioning' '--with-zlib'
> 
> Part of my question is when I go to recompile PHP, do I have to use the
> above configure commands IN ADDITION to the GD commands or JUST the GD
> commands?

You need to include all the options as well as the GD options.

Here are all the GD configure options:

  --with-gd[=DIR]         Include GD support where DIR is GD install prefix.
                          If DIR is not set, the bundled GD library will be used.
  --with-jpeg-dir[=DIR]     GD: Set the path to libjpeg install prefix.
  --with-png-dir[=DIR]      GD: Set the path to libpng install prefix.
  --with-zlib-dir[=DIR]     GD: Set the path to libz install prefix.
  --with-xpm-dir[=DIR]      GD: Set the path to libXpm install prefix.
  --with-ttf[=DIR]          GD: Include FreeType 1.x support
  --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix.
  --with-t1lib[=DIR]        GD: Include T1lib support. T1lib version >= 5.0.0 required
  --enable-gd-native-ttf    GD: Enable TrueType string function.
  --enable-gd-jis-conv      GD: Enable JIS-mapped Japanese font support.

HTH,

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to