WDlinux官方论坛's Archiver

skylen 发表于 2013-5-25 13:27

linux下如何开启EXIF功能

linux下如何开启EXIF功能?找了好多教程都不行,好像都是WIN下的,请各位大哥帮帮忙,谢谢~:victory:

skylen 发表于 2013-5-25 13:58

按这个教程:[url]http://www.wdlinux.cn/bbs/thread-2965-1-1.html[/url]
执行完返回如下提示:
Build complete.
Don't forget to run 'make test'.
Installing shared extensions:     /www/wdlinux/php-5.2.17/lib/php/extensions/no-debug-non-zts-20060613/
往下还按以上教程做!
但为什么还是:您的主机不支持 EXIF 库,无法开启此功能
还有这句是什么意思?Don't forget to run 'make test'.运行“make test”嘛?怎么做?

skylen 发表于 2013-5-26 23:29

[i=s] 本帖最后由 skylen 于 2013-5-26 23:52 编辑 [/i]

按[url]http://www.wdlinux.cn/bbs/viewthread.php?tid=1852&amp[/url];highlight=EXIF这个教程重做:

1.Build complete.
Don't forget to run 'make test'.

Installing shared extensions:     /www/wdlinux/nginx_php-5.2.17/lib/php/extensions/no-debug-non-zts-20060613/

2.改php.ini
增加[color=#099cc][font=Monaco, Consolas,]extension = "exif.so"[/font][/color]
3.执行service nginxd restart后,出错:
Starting php_fpm PHP Warning:  PHP Startup: Unable to load dynamic library './exif.so' - ./exif.so: cannot open shared object file: No such file or directory in Unknown on line 0
done

skylen 发表于 2013-5-27 09:30

已经解决了
方法:
以上第二点:增加extension =  /www/wdlinux/nginx_php-5.2.17/lib/php/extensions/no-debug-non-zts-20060613/exif.so

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.