Solved

Activate php_gd2

Posted on 2006-12-01
9
266 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
reverse engineer .sql from php files 11 53
Converting PHP triple des decrypt to c# 9 75
Why is my $_POST not going to results page 10 41
Find RGB colors from a screen. 2 19
This article discusses how to create an extensible mechanism for linked drop downs.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

733 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