configure: WARNING: unrecognized options: --with-php-config

新手上路,请多包涵

configure: creating ./config.status
creating main/internal_functions.c

creating main/internal_functions_cli.c
License:
This software is subject to the PHP License, available in this
distribution in the file LICENSE. By continuing this installation
process, you are bound by the terms of this license agreement.
If you do not agree with the terms of this license, you must abort
the installation process at this point.

Thank you for using PHP.

config.status: creating php7.spec
config.status: creating main/build-defs.h
config.status: creating scripts/phpize
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/man1/php-config.1
config.status: creating sapi/cli/php.1
config.status: creating sapi/cgi/php-cgi.1
config.status: creating ext/phar/phar.1
config.status: creating ext/phar/phar.phar.1
config.status: creating main/php_config.h
config.status: main/php_config.h is unchanged
config.status: executing default commands
configure: WARNING: unrecognized options: --with-php-config

用命令:./configure --with-openssl --with-php-config=/usr/local/php/bin/php-config
编译php-7.2.8的时候出现最后一行的警告,具体是什么问题?
求问大神~

阅读 8.8k
2 个回答

这是编译php吧,扩展才有--with-php-config=PATH Path to php-config php-config

这个版本 指定php-config路径选项 去掉了?

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题