当前位置:首页 > 建站笔记 > 正文

如何解决php make test报错问题

php make test报错的解决办法:1、打开命令窗口;2、在configure时候加上“--enable-cli”,就可以make test了。

本文操作环境:Windows7系统、php-5.4.5、Dell G3电脑。

如何解决php make test报错问题?

安装php时,make test报错

Build complete.
Don't forget to run 'make test'.
 
[root@localhost php-5.4.5]# make test
 
ERROR: Cannot run tests without CLI sapi.
[root@localhost php-5.4.5]#

解决方法:

configure时候加上--enable-cli,就可以make test了

发表评论