我不生产代码
我只是代码的搬运工

PHP常见编译错误及解决办法

每次在编译安装php时都会出现一些错误,今天记录一下方便以后安装时再出现查询

1、configure: error: Cannot find OpenSSL's <evp.h>

sudo apt-get install libssl-dev

2、configure: error: Please reinstall readline - I cannot find readlin

sudo apt-get install libedit-dev libreadline-dev

3、configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

sudo apt-get install libxslt1-dev

4、php configure: error: png.h not found.

sudo apt-get install libpng12-dev

5、configure: error: freetype-config not found.

sudo apt-get install libfreetype6-dev

本文章为本站原创,如转载请注明文章出处:https://www.sviping.com/archives/35

分享到:
上一篇: php使用cli模式生成圣诞树 下一篇: Let's Encrypt 泛域名证书申请与安装
12