1
遵循PHPUnit的安裝在從源站點的窗口中的步驟,但得到上破發行版本命令簽名例外:PHPUnit的投擲碎簽名錯誤
PHP PHPUnit的-5.6.5.phar --version
PHP Fatal error: Uncaught PharException: phar "C:\xampp\htdocs\phpunit-5.6.5.ph
ar" has a broken signature in C:\xampp\htdocs\phpunit-5.6.5.phar:21
Stack trace:
#0 C:\xampp\htdocs\phpunit-5.6.5.phar(21): Phar::mapPhar('phpunit-5.6.5.p...')
#1 {main}
thrown in C:\xampp\htdocs\phpunit-5.6.5.phar on line 21
Fatal error: Uncaught PharException: phar "C:\xampp\htdocs\phpunit-5.6.5.phar" h
as a broken signature in C:\xampp\htdocs\phpunit-5.6.5.phar:21
Stack trace:
#0 C:\xampp\htdocs\phpunit-5.6.5.phar(21): Phar::mapPhar('phpunit-5.6.5.p...')
#1 {main}
thrown in C:\xampp\htdocs\phpunit-5.6.5.phar on line 21
您是否啓用了Suhosin? (https://github.com/sebastianbergmann/phpunit/issues/1694) – Timurib
在suhosin官方faq頁面上提到sushosin不支持在windows中。 – shivam