PHP开启exif扩展配置指南
服务器环境配置说明:
1. 打开php.ini配置文件,定位到;extension=php_exif.dll这一行,移除行首的分号以启用该扩展。 2. 同样在php.ini中找到;extension=php_mbstring.dll,去除分号后,将此行的位置调整至extension=php_exif.dll之前,确保其被优先加载*。
3. 查找配置中的[exif]段落,取消其中相关语句前面的分号注释。
;exif.encode_unicode = ISO-8859-15
;exif.decode_unicode_motorola = UCS-2BE
;exif.decode_unicode_intel = UCS-2LE
;exif.encode_jis =
;exif.decode_jis_motorola = JIS
;exif.decode_jis_intel = JIS