Jump to content

Archived

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

AncientSage

Call to undefined function ImageCreate() in...

Recommended Posts

First, I know my code is fine, I ran it on another server. But when I switched the server, I'm getting an error trying to use ImageCreate(), the paths and such are defined, but the function just isn't working.

Could anyone tell me what to do about it? I'm guessing it involves editing of the php.ini file.

Share this post


Link to post
Share on other sites
Do you have the GD library installed on your server?

Orio.

Share this post


Link to post
Share on other sites
When you get undefined function image* it means the gd library isnt being used. Check the php.ini file. Make sure the php_gd.dll isnt commented out. Restarting apache should result in the image functions working.

From: PHP.net

Share this post


Link to post
Share on other sites

×

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.