Home > php教程 > php手册 > body text

开启PHP exif扩展方法详解,phpexif扩展详解

WBOY
Release: 2016-06-13 09:28:23
Original
1040 people have browsed it

开启PHP exif扩展方法详解,phpexif扩展详解

服务器配置说明:

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

http://www.111cn.net/phper/linux-php/64277.htm 开启PHP exif扩展方法详解

PHP 提示undefined function: exif_read_data() ,是为何?

php的exif扩展没加载

在php.ini的dynamic extension里启用
 

Call to undefined function exif_imagetype() 改动PHPini 还是不可以解决 为何?

你先确定下是否改了正确的php.ini。一般有两个php.ini,一个是server用的配置,一个是命令行用。
你先运行下phpinfo()里看下你服务器加载的是哪个php.ini,顺便可以检测一下你需要的dll加载了没有
 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template