How to install php unit in windows xampp?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
php programmer
Forum Newbie
Posts: 2
Joined: Fri Mar 19, 2010 9:22 am

How to install php unit in windows xampp?

Post by php programmer »

if there is any methods or ideas,please reply me.........Quick
User avatar
Zyxist
Forum Contributor
Posts: 104
Joined: Sun Jan 14, 2007 10:44 am
Location: Cracow, Poland

Re: How to install php unit in windows xampp?

Post 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.
MB34
Forum Newbie
Posts: 6
Joined: Wed Jun 16, 2010 9:38 pm

Re: How to install php unit in windows xampp?

Post 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.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: How to install php unit in windows xampp?

Post 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
Post Reply