Home > Backend Development > PHP Tutorial > linux 安装php扩展 make报错

linux 安装php扩展 make报错

WBOY
Release: 2016-06-23 13:37:38
Original
1406 people have browsed it

php版本  5.4.27 
系统 CentOS 6.3 64位

安装exif(exif_imagetype)扩展报错
参考资料:http://www.21ds.cn/64.html

步骤:
1.phpize(成功)
2../configure(成功)
3.make(报错 如下图)


各位大神帮忙看下是什么原因


回复讨论(解决方案)

你看编译的模块的路径,你是单独下载的exif模块的源码?

你直接在编译php的时候加上如手册描述的 --enable-exif
http://php.net/manual/en/exif.installation.php

或者你进入你原来编译php的源码目录,进到 /ext/exif/ 执行模块安装看看。

解决了 是原来的扩展包太老了 下载了对应5.4的扩展包就ok了

注:pecl中的包太老了 
可以从http://php.net/downloads.php 中下载了最新的php包 里面自带了exif的包

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template