Hi, abandon
← 文章列表

PHP[020]:--with-php-config

2020年1月15日 · php

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

原因:不应该在php源码根目录执行编译命令

例如需要安装readline扩展,应执行以下步骤

# 进入对应的php扩展源码目录
cd ext/readline
# 运行phpize,该命令会生成./configure
xxx/xxx/xxx/xxx/phpize
./configure --with-readline
想聊聊这篇文章?去 GooseForum 讨论 ← 返回文章列表