configure: error: Cannot find php-config. Please use --with-php-config=PATH configure: error: Cannot find php-config. Please use --with-php-config=PATH 需要说明你的php-config的path错误了 find / -name php-config 重新指定你的PATH后安装成功