Re: Installing of PEAR packages on windows

From: Date: Wed, 06 Nov 2002 12:59:43 +0000
Subject: Re: Installing of PEAR packages on windows
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2629@lists.php.net to get a copy of this message
> > Try a > > > > pear config-set bin_dir c:/your-path-to-php > > pear config-set doc_dir c:/your-path-to-pear-doc-sir > > etc. > > > > for info here is my conf > > > > | PEAR executables | bin_dir | c:/www/ext/pear > > | > > | directory | | > > | > > | PEAR documentation | doc_dir | c:\www\ext\pear\docs > > | > > | directory | | > > | > > | PHP extension | ext_dir | c:\php\extensions > > | > > | directory | | > > | > > | PEAR directory | php_dir | c:\www\ext\pear > > | > > | PEAR Installer cache | cache_dir | C:\Winnt\Temp2\pear\cache > > | > > | directory | | > > | > > | PEAR data directory | data_dir | c:\www\ext\pear\data > > | > > | PEAR test directory | test_dir | c:\www\ext\pear\tests > > | > > > > config-set with > data_dir, cache_dir > "fails" > > > > After the conf is right you can do pear install HTTP_Upload for example > > Error: > C:\server\php\pear\scripts>pear install HTTP_Upload > > downloading http://pear.php.net/get/HTTP_Upload?uncompress=yes > ... > C:\\DOKUME~1\\Admin\\LOKALE~1\\Temp\peaBD.tmp\HTTP_Upload?uncompress=yes: > write > failed > (fopen("C:\\DOKUME~1\\Admin\\LOKALE~1\\Temp\peaBD.tmp\HTTP_Upload?uncompr > ess=yes", "w") - Invalid argument) > C:\server\php\pear\scripts>pear list-installed INSTALLED PACKAGES: =================== + + ? But I'm using ITX from C:\server\php\pear\HTML\ITX.php sucessfully !? C:\server\php\pear\scripts>pear config-show CONFIGURATION: ============== bin_dir c:\server\php\pear doc_dir c:\server\php\pear\docs ext_dir c:\server\php\pear master_server pear.php.net password ******** (phpfi) php_dir c:\server\php\ preferred_state stable username cvsread verbose 1 I played with "go-pear.php". It seems to create similiar pear.bat like I already have on my local PC. And the same Errors: C:\server\php>pear list <font color=ff0000><br /> <b>Fatal error</b>: Call to undefined function: getoptions() in <b>c:\server\p hp\pear\scripts\pear.in</b> on line <b>35</b><br /> </font> ??? I found 2 other ways to install/Update pear: WinCSV: http://www.phpconcept.net/articles/article.en.php?id=1 Webinstaller: http://www-user.tu-chemnitz.de/~meal/php/peardoc/peardoc.allgemein.installat ion.html ( german ) -- "Nobody is perfect, but everybody can do his best!" Franz Alt franz.alt@pfaffenhofen.de

« previous php.pear.general (#2629) next »