Friday, November 28, 2008

NTS:: PEAR installations for PHP on Windows

Most of my blog postings will be in the form of "note(s) to self" (NTS::), and given that I tend to lose bits of paper, at least this way I'll be able to find them again!

NTS:: PEAR installations for PHP on Windows
I've just been reminded by the fact that when I'm trying to install from the PEAR repository or SourceForge, I must go through this hoop-la:

// do the whole proxy thing...
pear config-set http_proxy http://proxy.somewhere.net:8081

// then install packages...

pear install --ignore-errors channel://pear.php.net/HTTP_Session-0.5.6
"force install even if there were errors"

pear install --soft channel://pear.php.net/HTTP_Session2
"soft install, fail silently, or upgrade if already installed"

pear install --alldeps http://internode.dl.sourceforge.net/sourceforge/oai-pear/OAI-0.4.1.tgz
"install all required and optional dependencies"

No comments:

Post a Comment