Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

error while using gdlib

Posted on 2003-12-07
4
Medium Priority
?
206 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
[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
  • 2
4 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9895012
do you have GD libraries compiled in your PHP build?

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

Accepted Solution

by:
shivsa earned 500 total points
ID: 9895024
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

Technology Partners: 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!

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

722 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