the order of the .dll file name in php.ini file are very impartan.
like this:
extension=php_mbstring.dll
extension=php_exif.dll
php_mbstring.dll file must be before php_exif.dll in Windows.
I did not work untill I changed the order.
<?php
// Get the exif data
$exif_data = exif_read_data( 'sample_images/_IGP8499.JPG' );
echo '<pre>';
print_r($exif_data);
echo '</pre>';
?>
Installation
برای فعالسازی پشتیبانی از exif، PHP را به همراه --enable-exif تنظیم کنید
کاربران ویندوز باید هر دو php_mbstring.dll و php_exif.dll DLL را در php.ini فعال کنند. php_mbstring.dll DLL باید پیش از php_exif.dll DLL بارگذاری شود تا php.ini متناسب با آن تنظیم شود.
Barnamah ¶
4 years ago
