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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.