title: Yii default project configuration issue for PHPUnit tests
body: <p>I have a default installation of:</p>
  
  <ul>
  <li>Xampp (Windows)</li>
  <li>Activate curl extension: (extension=php_curl.dll in C:/xampp/php/php.ini)</li>
  <li>Yii </li>
  <li>Yii project (yiic webapp yiitest)</li>
  <li>PHPUnit (pear install pear.phpunit.de/PHPUnit)</li>
  <li>Selenium (pear install phpunit/PHPUnit_Selenium)</li>
  </ul>
  
  <p>Everything went fine. So I do the following:</p>
  
  <ol>
  <li>Start up Apache/MySQL</li>
  <li>Tested if my Yii project is showing: localhost/yii</li>
  <li>Open up cmd >> cd C:\xampp\htdocs\yii\proteced\tests</li>
  <li>>> phpunit functional/SiteTest.php</li>
  </ol>
  
  <p>Then I get this output:</p>
  
  <pre><code>PHPUnit 3.6.9 by Sebastian Bergmann.
  
  Configuration read from C:\xampp\htdocs\yii\protected\tests\phpunit.xml
  
  EEEEEE
  
  Time: 25 seconds, Memory: 6.25Mb
  
  There were 6 errors:
  
  1) SiteTest::testIndex
  RuntimeException: couldn't connect to host
  
  C:\xampp\htdocs\yiiframework\test\CWebTestCase.php:63
  C:\xampp\php\phpunit:46
  
  2) SiteTest::testContact
  RuntimeException: couldn't connect to host
  
  C:\xampp\htdocs\yiiframework\test\CWebTestCase.php:63
  C:\xampp\php\phpunit:46
  
  3) SiteTest::testLoginLogout
  RuntimeException: couldn't connect to host
  
  C:\xampp\htdocs\yiiframework\test\CWebTestCase.php:63
  C:\xampp\php\phpunit:46
  
  4) SiteTest::testIndex
  RuntimeException: couldn't connect to host
  
  C:\xampp\htdocs\yiiframework\test\CWebTestCase.php:63
  C:\xampp\php\phpunit:46
  
  5) SiteTest::testContact
  RuntimeException: couldn't connect to host
  
  C:\xampp\htdocs\yiiframework\test\CWebTestCase.php:63
  C:\xampp\php\phpunit:46
  
  6) SiteTest::testLoginLogout
  RuntimeException: couldn't connect to host
  
  C:\xampp\htdocs\yiiframework\test\CWebTestCase.php:63
  C:\xampp\php\phpunit:46
  
  FAILURES!
  Tests: 6, Assertions: 0, Errors: 6.
  </code></pre>
  
  <p>I have researched the problem, and it <strong><em>seems</em></strong> that it <em>could be</em> a cURL problem. Because this error is not know for PHPUnit but for cURL.</p>
  
  <p>What is happening? I can reach my local website, and PHPUnit could not?</p>
  
  <p>Edit: my php.ini: <a href="http://pastebin.com/9gPBNPmi" rel="nofollow">http://pastebin.com/9gPBNPmi</a></p>