我的最终目标是重新编译MAMP PRO附带的PHP 5.6.10,并添加额外的功能(使用
我卡在了第一阶段:根据MAMP的默认配置进行
为此,我从php.net下载了PHP 5.6.10并将其提取到
在输入以下命令后:
--with-imap-ssl
,以便我可以使用SSL连接到IMAP邮箱)。我卡在了第一阶段:根据MAMP的默认配置进行
configure
和make
。 MAMP在config脚本中包含自己的配置。为此,我从php.net下载了PHP 5.6.10并将其提取到
/Applications/MAMP/bin/php/php5.6.10/includes/php/
中。在输入以下命令后:
$ ./configure --with-config-php=/Applications/MAMP/bin/php/php5.6.10/bin/php-config
我明白了
WARNING: unrecognized options: --with-php-config
如何使用正确的配置脚本运行./configure
?
configure: WARNING: unrecognized options: --with-php-config
。 - Bart Gloudemans