Solved

Activate php_gd2

Posted on 2006-12-01
9
262 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

770 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