PEAR/PHPUnit installation on shared hosting

Posted by Sergei Morozov on Stack Overflow See other posts from Stack Overflow or by Sergei Morozov
Published on 2010-02-26T14:07:10Z Indexed on 2010/05/13 23:14 UTC
Read the original article Hit count: 344

Filed under:
|
|

I’ve installed a local (per-account) PEAR instance on shared web-hosting. After that I’ve installed PHPUnit. It doesn’t work in command-line mode because PHPUnit classes are not under default include_path that is ".:/usr/local/lib/php".

The same, I think, would happen with local phing and other command-line tools installed via PEAR.

Is there a way to specify per-account include_path value that will contain my local PEAR path "~/pear/php"?

© Stack Overflow or respective owner

Related posts about php

Related posts about pear