Message-ID: <128453590.799000.1386838845664.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_798999_55471178.1386838845664" ------=_Part_798999_55471178.1386838845664 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This is the installation method recommended for your initial tests with = the plugin because it requires the least effort.
Since version 1.2, all the external tools (PHP Depend, PHPMD, etc.) used= by the plugin are shipped with it.
The only prerequisite is to install PHP version 5.3.3 or newer (version = 5.4.7 or later is recommended for PHPUnit 3.7). You can download= PHP here or there, and follow t= he instructions to install it.
Versions of the external tools embedded as PHAR in the plugin:
Note that you will not be able to run the computation of coverage by uni= t tests, but only reuse existing reports, with this installation mode.
This is the recommended installation method for production environments =
because you can install your own version of each external tool.
You have to be logged in as an administrator to run the commands below.<= /p>
Install PEAR. To ensure PEAR version and to upgrade it, type the = following commands in command prompt:
If for some reasons you need the latest PEAR and the commands abov= e don't retrieve it, you can download http://pear.php.net/go-pea= r.phar and execute it with php (don't use the old go-pear without = the .phar extension, it will likely fail):
Install PHPUnit from pear using the following command lines= :
If you are running a Linux or Mac OS, you must=
install phpize and php headers (normally found in php dev packages) and th=
en compile xdebug via pecl:
Another example on Fedora 18:
And then edit your $PHP_HOME/php.ini file to add the foll= owing line:
Install PHP Depend: