Home >Backend Development >PHP Tutorial >Detailed explanation of opening PHP exif extension method_PHP tutorial
This section mainly introduces how to enable the PHP exif extension method, mainly on modifying the php.ini file
Server configuration instructions:
1. Find extension=php_exif.dll in the php.ini file and remove the semicolon in front of it
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 is loaded 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