I am running in a Linux box.

I have compiled PHP 4.3.8 with the condfigure script set to have --with-gd , as this turns on the bundled gd implementation.

I run php -i and can see that GD is there!

Now come the issue:

The php applicaton I want to run uses 'function_exists('gd_info')' which always returns false !

OK. I though - perhaps I need to switch it on

Looking through the FAQs there is a lot of mention about enabling the extension=php_gd.so (not the dll version - as I'm on Linux)

Try this and I get an error message - can't find php_gd.so ?
Search everywhere in php build area for this file and it does not exist (although a .h file exists).

Now I am stuck.

Do I have to embale GD2 in my 4.3.8 build ?
If not - why is function_exists always returning false for any GD function?

Any tips/pointers would be great.

    ummm why not just change that do a different function with a global search and replace?

      Thanks for the reply - but I'm not sure I understand it!

      The gd_info and other procedures are part of the gd library.

      Changing their name is unlikely to solve the problem of those library procedure names being visibile.

      Thanks.

        Write a Reply...