configure: error: Cannot find php-config. Please use --with-php-config=PATH 错误的解决方案
2017-04-22 15:46
507 查看
一般出现这个错误说明你执行 ./
configure时
--with-php-config这个参数配置路径错误导致的。
修改为:
./configure --with-php-config=/usr/local/php/bin/php-config
就可以解决问题
上面的 /usr/local/php/ 是你的 php 安装路径
相关文章推荐
- 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: error: Cannot find php-config. Please use --with-php-config=PATH 错误的解决方案
- configure: error: Cannot find php-config. Please use --with-php-config=PATH
- configure: error: Cannot find php-config. Please use --with-php-config=PATH
- Cannot find php-config. Please use --with-php-config=PATH
- configure: error: Connot find php-config. Please add --with-php-config=PATH
- 编译php错误代码configure: error: Try adding --with-zlib-dir=. Please check config.log for more information.
- php安装报错:PHP configure: error: build test failed. Please check the config.log
- 编译安装PHP出现configure: error: mysql configure failed. Please check config.log的解决方法
- configure: error: Cannot use an external APR with the bundled APR-utilq错误解决
- curl 函数执行了之后返回false解决,打印错误信息返回PHP的Curl出现:curl call error(77): Problem with the SSL CA cert (path? ac
- 转 php安装错误configure: error: Please reinstall the libcurl distribu
- configure: error: Cannot use an external APR with the bundled APR-utilq错误解决
- linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
- 编译安装PHP出现configure: error: MySQL configure failed. Please check config.log的解决方法
- 编译php的时候,报configure: error: mcrypt.h not found. Please reinstall libmcrypt.错误的解决办法
- php编译错误:configure: error: Please reinstall the iconv library.
- 安装imaconfigure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
- configure: error: Cannot find php-config.的问题