I punti seguenti li ho seguiti in questo modo:codice:1. Download a release archive from http://pear.phpunit.de/get/ and extract it to a directory that is listed in the include_path of your php.ini configuration file. 2. Prepare the phpunit script: 1. Rename the phpunit.php script to phpunit. 2. Replace the @php_bin@ string in it with the path to your PHP command-line interpreter (usually /usr/bin/php). 3. Copy it to a directory that is in your path and make it executable (chmod +x phpunit). 3. Prepare the PHPUnit/Util/PHP.php script: 1. Replace the @php_bin@ string in it with the path to your PHP command-line interpreter (usually /usr/bin/php).
1.1 Ho scaricato lo zip, l'ho decompresso e (rinominando la cartella in "PHPUnit") l'ho copiata sotto il mio include_path predefinito per PEAR (ossia "C:\PHP\PEAR")
2.1 Non potendo togliere l'estensione come suggerito l'ho lasciato phpunit.php
2.2 Ho sostituito nel file phpunit.php le stringhe "@php_bin@" con "c:\php" (ossia la mia directory di installazione php)
2.3 Non ho capito bene questo punto per quanto riguarda la posizone del file, l'ho copiato nella localhost non sapendo che fare, i permessi sono a posto, i files sono tutti eseguibili, scrivibili e leggibili
3.1 Stesso trattamento del punto 2.2 sul file indicato.
Qualcosa di sbagliato??

Rispondi quotando