Home  >  Article  >  Backend Development  >  Detailed explanation of opening PHP exif extension method, detailed explanation of phpexif extension_PHP tutorial

Detailed explanation of opening PHP exif extension method, detailed explanation of phpexif extension_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:22:142289browse

Detailed explanation of the PHP exif extension method, detailed explanation of phpexif extension

Server configuration instructions:

1. Find;extension=php_exif.dll in the php.ini file, remove the preceding semicolon
2. Find;extension=php_mbstring.dll in the php.ini file, remove the preceding semicolon, and Move this line before extension=php_exif.dll so that it loads first*.

3. Find the [exif] section and remove the semicolon from the following statement.

;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 Detailed explanation of opening PHP exif extension method

PHP prompts undefined function: exif_read_data( ), why?

php’s exif extension is not loaded

Enable it in the dynamic extension of php.ini

Call to undefined function exif_imagetype() Changing PHPini still can’t solve the problem. Why?

First make sure you have changed the correct php.ini. Generally there are two php.ini, one for server configuration and one for command line.
You first run phpinfo() to see which php.ini is loaded on your server. By the way, you can check whether the dll you need is loaded

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/849149.htmlTechArticleDetailed explanation of the PHP exif extension method, detailed explanation of the phpexif extension server configuration instructions: 1. Found in the php.ini file; extension=php_exif.dll, remove the preceding semicolon 2. Find in the php.ini file...
Statement:
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