安装Codeception遇到的坑
2017-01-03 本文已影响0人
catayi
composer安装的时候第一次遇到报错
The Process class relies on proc_open, which is not available on your PHP in ....
去php.ini搜索disable_functions去掉proc_open即可.
第二次遇到报错
proc_get_status() has been disabled for security reasons
去php.ini搜索disable_functions去掉proc_get_status即可.
然后开始你的表演...
[root@catayi local.com]# composer exec codecept run
Codeception PHP Testing Framework v2.2.7
Powered by PHPUnit 5.6.5 by Sebastian Bergmann and contributors.
PHP Warning: shell_exec() has been disabled for security reasons in /home/wwwroot/default/local.com/vendor/codeception/codeception/src/Codeception/Subscriber/Console.php on line 531
Api Tests (1)
✔ ApiTest2Cest: Api test begin... (0.15s)
Unit Tests (1)
✔ XUtilTest: Xutil (0.01s)
Time: 1.27 seconds, Memory: 12.00MB
OK (2 tests, 5 assertions)