title: Netbeans: How to configure a remote server's PHPUnit path?
body: <p>I use the latest version of Netbeans on Windows, and connect to a remote Ubuntu Apache server to a <code>Zend Framework</code> project. I installed on that server <code>PHPUnit</code>, but I didn't know what is the absolute path to the <code>phpunit.bat</code> (I need th absolute path in <code>NetBeans  Option-&gt;Php-&gt;Unit Testing</code>). I installed <code>XAMPP</code> on my computer and tried to use PHPUnit within XAMPP and the project from the remote server, but I have problems with the include paths, for example I get this error: </p>
  
  <blockquote>
    <p>'<code>Warning: include_once(PHP\Invoker.php): failed to open stream: No
    such file or directory in Y:\mos\public_html\library\Zend\Loader.php
    on line 146</code>'.</p>
  </blockquote>
  
  <p>Here is my bootstrap.php file:</p>
  
  <pre><code>&lt;?php
  error_reporting( E_ALL | E_STRICT );
  ini_set('display_startup_errors', 1);
  ini_set('display_errors', 1);
  define('APPLICATION_PATH', realpath('Y:/mos/public_html' . '/application'));
  define('APPLICATION_ENV', 'development');
  define('LIBRARY_PATH', realpath('Y:/mos/public_html' . '/library'));
  define('TESTS_PATH', realpath(dirname(__FILE__)));
  $_SERVER['SERVER_NAME'] = 'http://mos.loc';
  $includePaths = array(LIBRARY_PATH, get_include_path());
  set_include_path(implode(PATH_SEPARATOR, $includePaths));
  require_once "Zend/Loader/Autoloader.php";
  $loader = Zend_Loader_Autoloader::getInstance();
  $loader-&gt;setFallbackAutoloader(true);
  $loader-&gt;suppressNotFoundWarnings(false);
  Zend_Session::$_unitTestEnabled = true;
  Zend_Session::start();
  ?&gt;
  </code></pre>
  
  <p>Can I set somehow the absolute path to the PHPUnit on the remote server from Netbeans, or can I make it work using the project from the remote server, and PHPUnit from my XAMPP? </p>