Try to load GD Library for php 5.2

I have php 5.2 running on W2k3 server iis 6.0. everything is fine but now I want to load the GD2 stuff. I followed the instructions and change the php.ini fil by un-cmmenting the extension=php_gd2.dll line. Then I registrer the php_gd2.dll. It apparently loaded ok but I got a REGSVR32 popup the says

php_gd2.dll was loaded, but the DllRegisterServer entry point was not found. This file cannot be registered.

What did I miss?

when I did a phpinfo()  the GD section does not show. HELP Please !!!
koochyAsked:
Who is Participating?
 
Beverley PortlockConnect With a Mentor Commented:
Usually if it shows in phpinfo it is OK. Try this

<?php
error_reporting(E_ALL);
$size = getimagesize("http://uk2.php.net/images/php.gif");
print_r( $size );
?>

getimagesize is a GD function. If it works, you're sorted. It should produce this

Array ( [0] => 120 [1] => 67 [2] => 1 [3] => width="120" height="67" [bits] => 7 [channels] => 3 [mime] => image/gif )
0
 
Beverley PortlockCommented:
Is the php_gd2.dll in the \php5\ext folder?
0
 
koochyAuthor Commented:
yes ... actually I rebooted the server and now the gd section is showing in the phpinfo() ... is there a way to test that the gd is really working or can I assume that if it now shows in the phpinfo that all is fine ???
0
 
koochyAuthor Commented:
That's the message I got ... I guess I'm good to go !! Thanks !!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.