Solved

error while using gdlib

Posted on 2003-12-07
4
202 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
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 125 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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 …

773 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