Solved

Activate php_gd2

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

Thank u.
0
Comment
Question by:matthew016
  • 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
 
LVL 29

Expert Comment

by:TeRReF
ID: 18057182
Don't forget to restart your webserver after you've made the changes!
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now