Home  >  Article  >  Backend Development  >  What should I do if I get an error in php make test?

What should I do if I get an error in php make test?

藏色散人
藏色散人Original
2021-06-19 11:11:132320browse

Solution to php make test error: first install php; then add "--enable-cli" when configure, then you can make test.

What should I do if I get an error in php make test?

The operating environment of this article: Windows 7 system, PHP version 5.4.5, DELL G3 computer

What should I do if php make test reports an error?

When installing php, make test reports an error

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]#

Solution:

Add --enable when configuring -cli, you can make test

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of What should I do if I get an error in php make test?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn