jeeva Posted March 1, 2007 Share Posted March 1, 2007 hi frnds, i trying to create image using php, i have used 'imagecreate()' to create image but it keeps telling the following error i dont know y? the error is Fatal error: Call to undefined function: imagecreate() in C:\Inetpub\wwwroot\test\misc_7.exec.php anyone can tell me wts up? And wt i have to do? Link to comment https://forums.phpfreaks.com/topic/40682-imagecreate-problem/ Share on other sites More sharing options...
nloding Posted March 1, 2007 Share Posted March 1, 2007 You need PHP 4.0.6 or above, and you need the correct version of the GD/GD2 module installed. http://us3.php.net/gd Link to comment https://forums.phpfreaks.com/topic/40682-imagecreate-problem/#findComment-196808 Share on other sites More sharing options...
jeeva Posted March 2, 2007 Author Share Posted March 2, 2007 i am having php 5. Link to comment https://forums.phpfreaks.com/topic/40682-imagecreate-problem/#findComment-197576 Share on other sites More sharing options...
chronister Posted March 2, 2007 Share Posted March 2, 2007 The GD library needs to be installed separately I believe. Have you used the imagecreate function and successfully created images on this machine? Link to comment https://forums.phpfreaks.com/topic/40682-imagecreate-problem/#findComment-197584 Share on other sites More sharing options...
jeeva Posted March 2, 2007 Author Share Posted March 2, 2007 ya its working now just i need to enable the php_gd2.dll in php ini file. thanks for all Link to comment https://forums.phpfreaks.com/topic/40682-imagecreate-problem/#findComment-197600 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.