By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,965 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,965 IT Pros & Developers. It's quick & easy.

GD Library installed but getting "Call to Undefined Function" ERROR

P: 14
My host is running at least PHP 4.3 on a Linux based server and I believe the GD Library is bundled in Php4.3 so I don't know why I am getting this error when trying to use the imagerotate function. It does not give me an error when using resize or imagecreatefromjpeg($filename) I think they are both GD library functions . I even found a work around on php.net for those who don't have a high enough version of php and even the function doesn't output an image. Is there something to enable in the ini file or what?
Oct 27 '08 #1
Share this Question
Share on Google+
3 Replies


Markus
Expert 5K+
P: 6,050
My host is running at least PHP 4.3 on a Linux based server and I believe the GD Library is bundled in Php4.3 so I don't know why I am getting this error when trying to use the imagerotate function. It does not give me an error when using resize or imagecreatefromjpeg($filename) I think they are both GD library functions . I even found a work around on php.net for those who don't have a high enough version of php and even the function doesn't output an image. Is there something to enable in the ini file or what?
It may be bundled but it's not necessarily enabled. You have to uncomment the
Expand|Select|Wrap|Line Numbers
  1. #extension=php_gd2.dll
  2.  
line.

Markus.
Oct 27 '08 #2

zabsmarty
P: 25
on top of any page type

Expand|Select|Wrap|Line Numbers
  1. phpinfo();
  2.  
than check your server support GD Library or not

if not then go to php.ini file and remove semi-colon from
extension=php_gd2.dll
Oct 28 '08 #3

Markus
Expert 5K+
P: 6,050
on top of any page type

Expand|Select|Wrap|Line Numbers
  1. phpinfo();
  2.  
than check your server support GD Library or not

if not then go to php.ini file and remove semi-colon from
extension=php_gd2.dll
Just like I said above ...
Oct 28 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.