PHP PECL / make:如何将额外的参数传递给PHP" make test"脚本?

时间:2018-01-02 16:52:18

标签: php makefile configure pecl

PHP PECL ext的标准构建过程如下所示:

./configure
make
make test

但是我的环境已通过proc_open全局禁用disable_functions,因此make test命令失败并显示:

+-----------------------------------------------------------+
|                       ! ERROR !                           |
| The test-suite requires that proc_open() is available.    |
| Please check if you disabled it in php.ini.               |
+-----------------------------------------------------------+
Makefile:134: recipe for target 'test' failed

如何在本地修复此问题而不更改全局php.ini文件?是否可以通过环境变量将一些参数传递给php可执行文件(或稍后传递给它的configure)?

0 个答案:

没有答案