title: PHPUnit not found
body: <p>I have encountered strange error.</p>
  
  <pre><code>$ phpunit
  PHPUnit not found.
  </code></pre>
  
  <p>I installed the phpunit with the following command.</p>
  
  <pre><code>$ wget https://phar.phpunit.de/phpunit.phar
  $ chmod +x phpunit.phar
  $ sudo mv phpunit.phar /usr/local/bin/phpunit
  </code></pre>
  
  <p>Strangely, I can successfully run it's full path.</p>
  
  <pre><code>$ /usr/local/bin/phpunit
  PHPUnit 4.4.4 by Sebastian Bergmann.
  
  Usage: phpunit [options] UnitTest [UnitTest.php]
         phpunit [options] &lt;directory&gt;
  ....
  </code></pre>
  
  <p>I tried this.</p>
  
  <pre><code>$ which phpunit
  /usr/local/bin/phpunit
  </code></pre>
  
  <p>And, Successed with root user.</p>
  
  <pre><code>$ su
  # phpunit
  PHPUnit 4.4.4 by Sebastian Bergmann.
  
  Usage: phpunit [options] UnitTest [UnitTest.php]
         phpunit [options] &lt;directory&gt;
  ....
  </code></pre>
  
  <p>And, Deleted phpunit...</p>
  
  <pre><code># rm /usr/local/bin/phpunit
  # phpunit
  # bash: phpunit: command not found
  
  # su - admin
  $ phpunit
  PHPUnit not found.
  $ which phpunit
  /usr/bin/which: no phpunit in (/home/admin/.nvm/v0.10.17/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/admin/bin:/home/admin/sdxcmd.)
  </code></pre>
  
  <p>The server infomation.</p>
  
  <ul>
  <li>CentOS release 6.6 (Final)</li>
  <li>PHP 5.5.21 (cli) (built: Jan 21 2015 15:35:14)</li>
  <li>Installed php whis yum from remi repos.</li>
  <li>Previously, I was using the PHP I have installed from source.</li>
  </ul>
  
  <p>Do you have any idea to fix this situation?</p>