configure: error: Cannot find php-config. Please use --with-php-config=PATH
2017-09-17 18:12
417 查看
本文章给大家介绍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. 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. 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 错误的解决方案
- configure: error: Connot find php-config. Please add --with-php-config=PATH
- Cannot find php-config. Please use --with-php-config=PATH
- 编译php错误代码configure: error: Try adding --with-zlib-dir=. Please check config.log for more information.
- configure: error: Cannot find php-config.的问题
- 编译PHP5.6 提示configure: error: GD build test failed. Please check the config.log for details.
- php安装报错:PHP configure: error: build test failed. Please check the config.log
- 编译安装PHP出现configure: error: mysql configure failed. Please check config.log的解决方法
- 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 for more information.
- 编译安装php-5.6.19出现的问题configure: error: mysql configure failed. Please check config.log
- 安装imaconfigure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
- php安装报错:PHP configure: error: build test failed. Please check the config.log
- 编译安装PHP出现configure: error: MySQL configure failed. Please check config.log的解决方法
- linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
- configure: error: Cannot find php-config