解决 error: the HTTP image filter module requires the GD library. 错误
解决 error: the GeoIP module requires the GeoIP library. 错误
解决 error: the Google perftools module requires the Google perftools 错误
解决 error: libatomic_ops library was not found. 错误
解决 error trying to exec 'cc1plus': execvp: No such file or directory 错误
解决 error: [pool www] cannot get uid for user 'www-data' 错误
解决 configure: error: mbed TLS libraries not found. 错误.
需要安装 mbedtls, 教程: https://www.24kplus.com/linux/281.html
解决 error: Cannot find OpenSSL's <evp.h> 错误
解决 error: Libtool library used but 'LIBTOOL' is undefined 错误
解决 exec: g++: not found 错误
解决 configure: error: tss lib not found: libtspi.so 错误
解决 Can't exec"autopoint": No such file or directory 错误
解决 configure: error: libcrypto not found. 错误
解决 configure: error: Package requirements (libffi >= 3.0.0) were not met: No package 'libffi'found 错误
解决 fatal error: uuid.h: No such file or directory 错误
解决 configure: error: openssl lib not found: libcrypto.so 错误
解决 tar (child): lbzip2: Cannot exec: No such file or directory 错误
解决 configure: error: C++ preprocessor "/lib/cpp" fails sanity check 错误
解决 configure: error: Please reinstall the BZip2 distribution 错误
解决 configure: error: cURL version 7.15.5 or later is required to compile PHP with cURL support 错误
解决 configure: error: not found. Please provide a path to MagickWand-config or Wand-config program 错误
解决 configure: error: no acceptable C compiler found in $PATH 错误
解决 configure: error: Package requirements (icu-uc >= 50.1 icu-io icu-I18N) were not met: 错误
解决 configure: error: Package requirements (sqlite3 > 3.7.4) were not met: No package 'sqlite3'found 错误
解决 configure: error: Package requirements (oniguruma) were not met: No package 'oniguruma' found 错误
https://www.24kplus.com/linux/400.html 这是里面对应的代码
QQ496631085
PHP 配置成功了, 下一步, 进行构建安装. 使用命令: 温馨提示这个步骤大约时间要长一点
$ make && make install
如果报错 -bash:make:command not found, 是因为安装系统的时候使用的是最小化 mini 安装, 系统没有安装 make,VIM 等常用命令, 直接 yum 安装下即可
$ yum -y install make
来源: http://www.bubuko.com/infodetail-3366792.html