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