Solution to php make test error: first install php; then add "--enable-cli" when configure, then you can 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!