undefined function imageCreateTrueColor()

Permalink
Hi, I am attempting to install Concrete cms on a Win2003 server running IIS, PHP5 and MySQL. During the install process I get this error: Fatal error: Call to undefined function imageCreateTrueColor() in C:\Inetpub\wwwroot\cms\concrete\blocks\library_file\controller.php on line 148 Any suggestions on hoe I can fix this problem? Many thanks, Charles.

 
Remo replied on at Permalink Reply
Remo
Did you check your php installation? Does it have gd support? In case you're not sure - could you create a file with that content: and send us the link to it?
Remo replied on at Permalink Reply
Remo
forum removed my php code, another try with markdown:
lightinshade replied on at Permalink Reply
Remo, thanks for your suggesstion. I have enabled GD support, however, I have run into the same error again... any further thoughts?
andrew replied on at Permalink Reply
andrew
could you check the version of GD? I think this requires 2.0 - which has been out for a long time, but you never know.
frz replied on at Permalink Reply
frz
i think people have tinkered around and made it kinda behave on IIS, but c5 was designed to run on Apache in a LAMP environment. While the error you're getting does sound like its image generation related, i would suggest what you're trying to do as a whole is kinda experimental. In fact, we even have a bounty posted if someone CAN get it to work right with IIS and SqlServer...
lightinshade replied on at Permalink Reply
cheers frz, I have Concrete5 running fine on apache setup. Was hoping to integrate it into an existing IIS / mysql setup, for a company intranet. Perhaps i'll revert to the apache server for Concrete, tho I think i'll have a furhter play with it before I do. Cheers.
dpg replied on at Permalink Reply
Would WAMP vs LAMP make a difference?
FIBER replied on at Permalink Reply
FIBER
The windows version works as well. But i believe the latest and best versions are called XAMPP now On my Vista laptop i got XAMPP installed. With just the basic install you have enough to run Concrete5. I have not yet found anything that doesn't work. Same goes for the Linux version of the Zend Core, if for whatever reason you don't want to use the kernel install packages this is a good alternative.
cannucker replied on at Permalink Reply
It looks like some functions from GD do not make it into PHP when you use FastCGI (so I don't have to use mpm_prefork with Apache).

me@host# objdump -T /usr/lib/php5/20060613+lfs/gd.so | grep gdImageCreateTrueColor
00000000 DF *UND* 00000228 gdImageCreateTrueColor


me@host# strace /usr/lib/cgi-bin/php5 < concrete5.0.0/info.php 2>&1 | grep open | grep gd

open("/usr/lib/php5/20060613+lfs/gd.so", O_RDONLY) = 3
open("/usr/lib/libgd.so.2", O_RDONLY) = 3

me@host# objdump -T /usr/lib/libgd.so.2 | grep gdImageCreateTrueColor
0000b7d0 g DF .text 00000228 Base gdImageCreateTrueColor
cannucker replied on at Permalink Reply
Sorry didn't read all the way though.