i have installed Apache/2.2.17 (Win64) PHP/5.2.8-x64 . i need GD2 lib... so i went to php.ini, uncomment php_gd2.dll and restarded server. nothing! gd lib doesn't work! help!
1 Answer
Check if your PHP is built with GD support. Create a standard phpinfo() file and see if libgd if figuring there. If not, you probably will have to rebuild your PHP.
<?php phpinfo() ?>
-
-
-
But libGD is present in this sample page ouput, right? The code, I posted in the answer is the code for a test php.page Create the page, point your browser to it and find "libgd" on the resulting page. Or I misunderstood your comment.– HUBApr 19, 2011 at 15:46