An error is reported when php extension make is installed in linux.

Source: Internet
Author: User
Php version 5.4.27 is reported when php extension make is installed in linux.
CentOS 6.3 64-bit

An error occurred while installing exif (exif_imagetype) extension.
References: http://www.21ds.cn/64.html

Steps:
1. phpize (successful)
2../configure (successful)
3. make (an error is reported, as shown in)


What's the reason?


Reply to discussion (solution)

You can see the path of the compiled module. are you the source code of the exif Module separately downloaded?

When you compile php directly, add the -- enable-exif as described in the manual.
Http://php.net/manual/en/exif.installation.php

Or you can go to the source code directory of your original php compilation and install it in the/ext/exif/execution module.

The solution is that the original extension package is too old. if you download the corresponding 5.4 extension package, it will be OK.

Note: the packages in pecl are too old.
You can download the latest php package with exif package from the http://php.net/downloads.php

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.