php - call to undefined function exif_read_data() -
i have enabled mbstring extension before exif extension , still getting error: call undefined function exif_read_data()
.
thanks.
so php.ini needs (under windows):
1 extension=php_mbstring.dll 2 extension=php_exif.dll
and not:
1 extension=php_exif.dll 2 extension=php_mbstring.dll
restart apache luck!
update 1
try code , put result
<?php $ini = get_cfg_var('cfg_file_path'); echo '<pre>ini: ', $ini, "\n"; foreach(file($ini) $l) { if ( false!==strpos($l, '_exif') || false!==strpos($l, '_mbstring') ) { echo $l; } } echo '<pre>';
update 2 check “ext” directory of php installation , see file php_exif.dll
there. update 3 try http://www.sno.phy.queensu.ca/~phil/exiftool/
Comments
Post a Comment