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>';
?>
Instalación
Para habilitar el soporte para exif configure PHP con --enable-exif
Los usuarios de Windows deben habilitar las DLL php_mbstring.dll y php_exif.dll en php.ini. La DLL php_mbstring.dll debe cargarse antes que la DLL php_exif.dll, asà que ajuste su php.ini como corresponde.
Barnamah ¶
4 years ago
