hnxuying Posted April 19, 2007 Share Posted April 19, 2007 I met a problem in PHP5+apache2(windowsxp). Fatal error: Call to undefined function imagecreatetruecolor() in C:\Apache2.2\www\samsphp\21\simplegraph.php on line 8. I have uncomment the php_gd2.dll in php.ini,but it still can't work.??? I don't know what's the problem. Please give me your help,thanks! Looking forward to your reply! Link to comment https://forums.phpfreaks.com/topic/47727-fatal-error-call-to-undefined-function-imagecreatetruecolor-in-capache22w/ Share on other sites More sharing options...
obsidian Posted April 19, 2007 Share Posted April 19, 2007 If you run the phpinfo(), do you have any information regarding the GD library that actually appears in your compiled PHP? Link to comment https://forums.phpfreaks.com/topic/47727-fatal-error-call-to-undefined-function-imagecreatetruecolor-in-capache22w/#findComment-233112 Share on other sites More sharing options...
kenrbnsn Posted April 19, 2007 Share Posted April 19, 2007 Did you restart Apache after you changed the PHP.INI file? Ken Link to comment https://forums.phpfreaks.com/topic/47727-fatal-error-call-to-undefined-function-imagecreatetruecolor-in-capache22w/#findComment-233128 Share on other sites More sharing options...
hnxuying Posted April 19, 2007 Author Share Posted April 19, 2007 my phpinfo() show nothing about gd, only see "--with-gd=shared" . I have set the extension path and enabled the php_gd2.dll in the php.ini then I restarted the apache. However, it still can't work! :'( Please help me! [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/47727-fatal-error-call-to-undefined-function-imagecreatetruecolor-in-capache22w/#findComment-233291 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.