Closed (fixed)
Project:
Image watermark
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2006 at 07:20 UTC
Updated:
26 Feb 2011 at 10:24 UTC
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
Comment #1
kbahey commentedalthough 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?
Comment #2
dicreat commentedIn PHP-documentation: Your PHP must be compiled in with --enable-exif.
I will try re-compiled PHP with this parameter in near future.
Thanks.
Comment #3
kbahey commentedGood.
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
Comment #4
dicreat commentedOk, I will try inform You as soon as possible.
I'm already send message to my ISP.
Comment #5
jeffleeismyhero commentedIf 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.
Comment #6
kbahey commentedWhere in cPanel? Under what icon?
Please be more specific.
Comment #7
dicreat commentedMy hoster was enabled "EXIF Support" and now watermark work properly! Thanks.
Comment #8
kbahey commentedClosing this issue.
Comment #9
Christoph C. Cemper commentedARGL... 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?
Comment #10
yogitha commentedhi ..
-------------------------------------------------------------
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)"
Comment #11
ropaolle commented