I have this error:

Function exif_imagetype does not exist. Watermarking cannot be done. Please make sure that you are running PHP 4.3 or higher, or that you (or your hosting provider) manually compile the GD library into your PHP installation.

On my host I have PHP 4.4.2 with GD support (Version bundled 2.0.28 compatible).

Comments

kbahey’s picture

although I tested it with PHP5, the PHP Manual says that this function is available in 4.3.0 or greater.

Check here.
http://us2.php.net/exif_imageType

Is anyone able to run this module with PHP 4?

dicreat’s picture

In PHP-documentation: Your PHP must be compiled in with --enable-exif.
I will try re-compiled PHP with this parameter in near future.

Thanks.

kbahey’s picture

Good.

In my case, the version that came with Debian worked out of the box.

If this works for you, can you revise the error message to include this and I will commit this?

This will avoid others asking the same question.

Thanks

dicreat’s picture

Ok, I will try inform You as soon as possible.
I'm already send message to my ISP.

jeffleeismyhero’s picture

If you are using cPanel you need to check "Exif" and "GD"

It took me a while to notice that but once I did everything worked perfectly fine.

kbahey’s picture

Where in cPanel? Under what icon?

Please be more specific.

dicreat’s picture

My hoster was enabled "EXIF Support" and now watermark work properly! Thanks.

kbahey’s picture

Status: Active » Closed (fixed)

Closing this issue.

Christoph C. Cemper’s picture

ARGL... I had the same issue with XAMPP for WIN32 (my dev box)

enabling both extensions in the php.ini just caused apache to crash

then I read THIS at http://at.php.net/exif

Windows users must enable both the php_mbstring.dll and php_exif.dll DLL's in php.ini. The php_mbstring.dll DLL must be loaded before the php_exif.dll DLL so adjust your php.ini accordingly.

:-) can anyone report that fix to the XAMPP team?

yogitha’s picture

hi ..
-------------------------------------------------------------
Function exif_imagetype does not exist. Watermarking cannot be done. Please make sure that you are running PHP 4.3 or higher, or that you (or your hosting provider) manually compile the GD library into your PHP installation.
-------------------------------------------------------------
I too got the same error

SOLUTION IS:
In php.ini file
;extension=php_exif.dll

Enable "EXIF" , (Means Remove Semicolon before this line)
And Restart "ALL Services(restart apace are Wamp, what ever you are using)"

ropaolle’s picture