在Windows 2003系统上安装配置exif 扩展
由于最近用的一个程序需要exif扩展的支持,所以只能试着配置了一下exif扩展。
首先在php.ini里面把;extension=php_exif.dll前面的分号去掉。然后重启IIS,重启之后还是不行,那到底是为什么呢。
经过一番查找,终于在PHP官方网站上找到了原因,官方网站上有这么一段话:
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.
大概意思是说exif扩展需要mbstrings扩展支持,由于大部分的php.ini文件里面exif扩展都在mbstrings扩展前面加载,所以这时候的exif找不到mbstrings就出错了。
扫一扫订阅我的微信号:IT技术博客大学习
- 作者:yoyo 来源: YOYO'S BLOG
- 标签: exif
- 发布时间:2012-08-15 13:36:26
-
[1397] WordPress插件开发 -- 在插件使用 -
[114] 解决 nginx 反向代理网页首尾出现神秘字 -
[28] find命令的一点注意事项 -
[28] 分布式系统hash策略 -
[27] 如何建立合适的索引? -
[26] Oracle MTS模式下 进程地址与会话信 -
[26] 你应该知道的16个Linux服务器监控命令 -
[25] 浅谈MySQL索引背后的数据结构及算法 -
[25] DNS解析过程及DNS TTL值 -
[25] 读书笔记-壹百度:百度十年千倍的29条法则