您好,欢迎访问一九零五行业门户网

configure: error: Cannot find php-config.

本文章给大家介绍configure: error: cannot find php-config. please use --with-php-config=path错误解决办法。
configure: error: cannot find php-config. please use --with-php-config=path
一般出现这个错误说明你执行 ./configure 时  --with-php-config 这个参数配置路径错误导致的。
查找:
find / -name  php-config
修改为:
./configure --with-php-config=/usr/local/php/bin/php-config
就可以解决问题
上面的 /usr/local/php/ 是你的 php 安装路径
其它类似信息

推荐信息