Page 1 of 1

How to install php unit in windows xampp?

Posted: Thu May 27, 2010 8:43 am
by php programmer
if there is any methods or ideas,please reply me.........Quick

Re: How to install php unit in windows xampp?

Posted: Fri May 28, 2010 1:21 am
by Zyxist
PHPUnit is not a PHP module. Use PEAR installer, I think it should be available in XAMPP, and if not, you can always download a package and extract it somewhere. All you need is a command line and php command available.

Re: How to install php unit in windows xampp?

Posted: Thu Jun 17, 2010 6:15 am
by MB34
You don't actually install your PHP scripts, you just save them in the directory set in the DocumentRoot variable in the httpd.conf file in your Apache installation.

Re: How to install php unit in windows xampp?

Posted: Sat Jun 19, 2010 6:57 pm
by josh
MB34 wrote:You don't actually install your PHP scripts, you just save them in the directory set in the DocumentRoot variable in the httpd.conf file in your Apache installation.
wrong, the only supported way to install phpunit is thru PEAR installer. (it sets up your environment & installs dependencies & also copies a symlink to itself to your "PATH", or in other words installs the phpunit command)

http://www.phpunit.de/manual/3.4/en/installation.html