“Fatal error: Call to undefined method PHPUnit_Util_Filter::addfiletofilter() in /usr/bin/phpunit on line 48”

前端 未结 1 1365
轮回少年
轮回少年 2021-01-28 20:22

I have just installed phpunit using PEAR on our Ubuntu/Linux server ( Linux mccoy 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009 x86_64 GNU/Linux )

when I

1条回答
  •  情话喂你
    2021-01-28 21:08

    Seems like a version conflict / installation issue.

    pear version should produce 1.9.4.. If not pear upgrade and follow the commands until it does.

    Then sudo pear install --force --alldeps phpunit/phpunit to fix the installation.+

    Your include path should include the "pear" dir. Use pear config-show to find that.

    0 讨论(0)
提交回复
热议问题