Skip to content

Instantly share code, notes, and snippets.

@s4l1h
Created October 7, 2011 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s4l1h/1270379 to your computer and use it in GitHub Desktop.
Save s4l1h/1270379 to your computer and use it in GitHub Desktop.
phpunit kurulumu
<?php
// sudo php install_phpunit.php
$komut=array();
$komut[]="sudo pear upgrade";
$komut[]="pear config-set auto_discover 1";
$komut[]="pear install pear.phpunit.de/PHPUnit";
foreach($komut as $k){
echo passthru($k);
}
if(file_exists('/usr/bin/phpunit')){
echo 'Kurulum Tamam';
}else{
echo 'Kurulum Başarısız';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment