Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Activate php_gd2

Posted on 2006-12-01
9
Medium Priority
?
286 Views
Last Modified: 2008-03-17
How do ,I activate Activate php_gd2 ?

Thank u.
0
Comment
Question by:matthew016
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
9 Comments
 
LVL 29

Expert Comment

by:TeRReF
ID: 18057146
What OS are you using?
0
 
LVL 9

Author Comment

by:matthew016
ID: 18057163
Windows, and for deploying Linux
0
 
LVL 29

Expert Comment

by:TeRReF
ID: 18057179
Under Windows:
Edit your php.ini and remove the ; before this line:
;extension=php_gd2.dll

Then make sure the php_gd2.dll is located in your extension path. You can find your extension path by creating a php page with this in it:
<?php
  phpinfo();
?>

Then run it and find extension path


For Linux it depends on your Linux flavour..
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 29

Expert Comment

by:TeRReF
ID: 18057182
Don't forget to restart your webserver after you've made the changes!
0
 
LVL 9

Author Comment

by:matthew016
ID: 18057192
Where can I see for gd2 in the page that contains all the info.
I did a search on gd2 but no results
0
 
LVL 29

Accepted Solution

by:
TeRReF earned 2000 total points
ID: 18057209
No, you have to look for your extension path and copy the dll file there... (if it's not there yet of course)

You can search for the file with explorer to locate it on your local filesystem
0
 
LVL 29

Expert Comment

by:TeRReF
ID: 18057218
It's not listed as gd2 by the way (once it's enabled) but as gd (with version number 2.x)
0
 
LVL 9

Author Comment

by:matthew016
ID: 18057233
Thank u,
gd2 is to have more performance with images ?
0
 
LVL 29

Expert Comment

by:TeRReF
ID: 18057284
Yes, GD2 is the better choice for sure.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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

597 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