configure: error: Cannot find php-config. Please use --with-php-config=PATH
出现这个错误说明执行 ./configure 时–with-php-config 没有找到php-config这个路径。
找到PHP安装目录下的php-config把路径填写在后面即可:
./configure --with-php-config=/www/server/php/72/bin/php-config
01-21
3万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-25
3084
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-16
1923
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-30
894
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)