How to enable PHP exif extension and phpexif Extension

Source: Internet
Author: User

How to enable PHP exif extension and phpexif Extension

Server configuration instructions:

1. Find; extension = php_exif.dll in the php. ini file and remove the semicolon
2. In the php. ini file, find; extension = php_mbstring.dll, remove the semicolon, and move this line to extension = php_exif.dll to load * first *.

3. Locate the [exif] segment and remove the semicolon of 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

How to enable PHP exif extension in http://www.111cn.net/phper/linux-php/64277.htm


PHP prompts undefined function: exif_read_data (). Why?

Php exif extension not loaded

Enabled in dynamic extension of php. ini

Call to undefined function exif_imagetype () changes PHPini. Why?

Check whether the correct php. ini has been changed. There are usually two php. ini, one is the configuration used by the server, and the other is the command line.
Run phpinfo () to check which php. ini is loaded on your server. By the way, you can check whether the required dll has been loaded.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.