码迷,mamicode.com
首页 > Web开发 > 详细

configure: error: Cannot find php-config.

时间:2015-04-30 14:28:53      阅读:132      评论:0      收藏:0      [点我收藏+]

标签:

本文章给大家介绍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 安装路径


configure: error: Cannot find php-config.

标签:

原文地址:http://my.oschina.net/bufenye/blog/408510

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!