[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Try to load GD Library for php 5.2

Posted on 2009-02-11
4
Medium Priority
?
364 Views
Last Modified: 2013-12-13
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 !!!
0
Comment
Question by:koochy
  • 2
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Beverley Portlock
ID: 23623944
Is the php_gd2.dll in the \php5\ext folder?
0
 

Author Comment

by:koochy
ID: 23624790
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
 
LVL 34

Accepted Solution

by:
Beverley Portlock earned 2000 total points
ID: 23626427
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
 

Author Closing Comment

by:koochy
ID: 31545718
That's the message I got ... I guess I'm good to go !! Thanks !!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question