If you have exif.so or php_exif.dll enabled under php.ini dynamic extensions, but you still have problem running any funtion, it is possible that you may need to change order of extensions in php.ini.
In many PHP installation packages the extensions are listed alphabetically. However, exif is dependent on mbstrings to be loaded first. Yet, with alphabetic ordering the exif is listed before mbstrings and it causes the error. Load mbstrings extensions before exif.
Thus, do put exif as the very last extension to load and you should be fine.
Exchangeable image information
- 简介
- 安装/配置
- 预定义常量
- Exif 函数
- exif_imagetype — 判断一个图像的类型
- exif_read_data — 从 JPEG 或 TIFF 文件中读取 EXIF 头信息
- exif_tagname — Get the header name for an index
- exif_thumbnail — 取得嵌入在 TIFF 或 JPEG 图像中的缩略图
- read_exif_data — 别名 exif_read_data
A Austin ¶
1 year ago
