Jump to content

undefined function


hobojjr

Recommended Posts

The function is part of an extension which may not be installed in your copy of PHP.  In this case it's the GD extension.  The main page for a group of functions will tell you if you need a particular extension to use that set of functions.

At http://sg.php.net/manual/en/ref.image.php you will see:

[quote]To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD base install directory. To use the recommended bundled version of the GD library (which was first bundled in PHP 4.3.0), use the configure option --with-gd. GD library requires libpng and libjpeg to compile.[/quote]

If you are using a binary distribution, then how you enable this extension will depend on your distribution.
Link to comment
https://forums.phpfreaks.com/topic/19840-undefined-function/#findComment-86831
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.