Home >Backend Development >PHP Problem >How to solve the error problem of php make test

How to solve the error problem of php make test

藏色散人
藏色散人Original
2021-11-24 10:06:233537browse

Solution to the error reported by php make test: 1. Open the command window; 2. Add "--enable-cli" when configure, and you can make test.

How to solve the error problem of php make test

The operating environment of this article: Windows7 system, php-5.4.5, Dell G3 computer.

How to solve the problem of php make test 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 Method:

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

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to solve the error problem of 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