Skip to content

Instantly share code, notes, and snippets.

@Im0rtality
Created October 12, 2013 09:12
Show Gist options
  • Select an option

  • Save Im0rtality/6947766 to your computer and use it in GitHub Desktop.

Select an option

Save Im0rtality/6947766 to your computer and use it in GitHub Desktop.
Various dev-system tips'n'tricks

PEAR did not want to install package - clear the cache

$ pear install --alldeps PHP_CodeSniffer
No releases available for package "pear.php.net/PHP_CodeSniffer"
install failed

$ pear clear-cache
reading directory C:\cygwin64\tmp\pear\cache
438 cache entries cleared

$ pear install --alldeps PHP_CodeSniffer
downloading PHP_CodeSniffer-1.4.7.tgz ...
Starting to download PHP_CodeSniffer-1.4.7.tgz (406,387 bytes)
.........................done: 406,387 bytes
downloading PHP_Timer-1.0.5.tgz ...
Starting to download PHP_Timer-1.0.5.tgz (3,597 bytes)
...done: 3,597 bytes
install ok: channel://pear.php.net/PHP_CodeSniffer-1.4.7
install ok: channel://pear.phpunit.de/PHP_Timer-1.0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment