[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

error while using gdlib

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
snehal2310
Asked:
snehal2310
  • 2
1 Solution
 
shivsaCommented:
do you have GD libraries compiled in your PHP build?

it'll tell you in phpinfo();
0
 
shivsaCommented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now