Solved

error while using gdlib

Posted on 2003-12-07
4
201 Views
Last Modified: 2008-03-06
im getting following error
"Call to undefined function:  imagecreate() "
though i have done all the necessary changes.
and when i include gd.c in my code it shows me all the functions in that file in browser. how to solve this problem??
0
Comment
Question by:snehal2310
  • 2
4 Comments
 
LVL 24

Expert Comment

by:shivsa
Comment Utility
do you have GD libraries compiled in your PHP build?

it'll tell you in phpinfo();
0
 
LVL 24

Accepted Solution

by:
shivsa earned 125 total points
Comment Utility
if u have GD lib complied then either one of this might be the problem.

GD module you could load by uncommenting
; extension = gd.so in your php.ini by removing the semicolon from in front of the line.

or by having in your PHP code a call to the dynamic loader like
<? dl("gd.so"); ?>
0

Featured Post

Easy Project Management (No User Manual Required)

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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 is …
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.

728 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

9 Experts available now in Live!

Get 1:1 Help Now