AncientSage Posted August 8, 2006 Share Posted August 8, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/16944-call-to-undefined-function-imagecreate-in/ Share on other sites More sharing options...
Orio Posted August 8, 2006 Share Posted August 8, 2006 Do you have the GD library installed on your server?Orio. Quote Link to comment https://forums.phpfreaks.com/topic/16944-call-to-undefined-function-imagecreate-in/#findComment-71366 Share on other sites More sharing options...
Chevy Posted August 8, 2006 Share Posted August 8, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/16944-call-to-undefined-function-imagecreate-in/#findComment-71367 Share on other sites More sharing options...
AncientSage Posted August 8, 2006 Author Share Posted August 8, 2006 Yup, I do.And I should note it's a linux server, so .dll won't be found. Quote Link to comment https://forums.phpfreaks.com/topic/16944-call-to-undefined-function-imagecreate-in/#findComment-71371 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.