Tags: call, function, installed, numerous, php, professional, programming, resolve, undefined, windows

Call to undefined function!

On Programmer » PHP

792 words with 0 Comments; publish: Thu, 15 Nov 2007 01:51:00 GMT; (200980.47, « »)

Hello,

I have read numerous posts about this but cannot seem to resolve the problem.

I have php 4.3 installed on windows 2000 professional using apache.

I get this error.

Fatal error: Call to undefined function: imagecreatefromjpeg() in c:\program

files\apache group\apache\htdocs\imgresizer4.php on line 170.

When I try to uncomment the extension lines in php.ini I get these errrors on apache restart.

Function registration failed - duplicate name - gd_info, image...etc

If I try to only uncomment on gd as opposed to gd and gd2 I get all sorts of compile errors. I assume this is because I need the functions in gd2.

Pleae help as this is very frustrating and I am very new to php.

Thanks,

--SL

All Comments

Leave a comment...

  • 0 Comments