How to Install phpunit 3.5 on mac with MAMP

前端 未结 2 1189
忘了有多久
忘了有多久 2021-01-16 01:50

I\'m trying to install PHPUnit 3.5 on Mac OS X with MAMP. I did install PHPUnit 3.5 via PEAR of MAMP. This is all correctly and phpunit is located /Applications/MAMP/bin/php

相关标签:
2条回答
  • 2021-01-16 02:29

    What is the output of which phpunit and which pear and pear list?

    Also did you install phpunit with the --alldeps option?

    0 讨论(0)
  • 2021-01-16 02:29

    I succeeded in installing PHPUnit with XAMPP on Mac, but it took me some time.

    One of the trick was to edit the phpunit script to configure it to use XAMPP (or MAMP) PHP executable, and not the default one on Mac.

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