hi
how we can comile php in tc with gd?
compile php with gd need : gd , libpng , libjpeg
For libpng and libjpeg it looks like you'll need base-devs.tcz (As juanito already pointed out).
You'll also need libgd too. I've just created an extension for it, and am about to submit it.
Edit: Not submitting my gd.tcz. Not really able to test it and make sure it works properly atm.
There already is a libgd extension.
PHP took over the development of gd and it is packaged within the PHP source.
libpng and libjpeg are in the base and the base-devs was used to build PHP (since it would be required). So it should be working unless I missed a switch during configure.
There will be an update to the php extension as soon as v5.3.1 is released.
The build script can be found in the extension source repository.