Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

installing phpunit

Discussion in 'General Discussion' started by bdennie, Mar 30, 2015.

  1. bdennie

    bdennie Member

    Jan 21, 2015
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I have a customer who requested phpunit to be installed. I tried 2 different instructions for installation.
    But it looks like this way to install was end of life

    I have also tried to install this way

    But had no luck with this either. Is PHPunit still available or am I doing something wrong? Any help would be great. I do not get any error messages. Once completed I try and run
    php phpunit.phar --version I do not get anything back.

    Has anyone installed this recently and how did you install it.
    #1 bdennie, Mar 30, 2015
    Last edited by a moderator: Mar 30, 2015
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I followed the instructions for installing it globally at the following URL:

    It worked as expected:

    -bash-4.1# phpunit --version
    PHPUnit 4.6.2 by Sebastian Bergmann and contributors.
    Let us know if that URL is helpful.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice