Home  >  Article  >  Backend Development  >  linux php7安装

linux php7安装

WBOY
WBOYOriginal
2016-06-23 13:16:44868browse

configure: error: Could not find libpcre.(a|so) in /usr
Fix: cp /usr/lib/libpcre.a /usr/libpcre.a   可以先使用 find / -name libpcre.a找到这个文件
Refer: http://bugs.php.net/bug.php?id=1647


报错

If configure fails try �with-xpm-dir=

;
configure: error: freetype.h not found.

解决方法 

wget http: //download .savannah.gnu.org /releases/freetype/freetype-2 .4.10. tar .gz

tar zxvf freetype-2.4.10. tar .gz

cd freetype-2.4.10/

. /configure

sudo make && make install



Statement:
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