RE: [PEAR] Installing to Windows

From: Date: Mon, 11 Oct 2004 08:08:40 +0000
Subject: RE: [PEAR] Installing to Windows
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14833@lists.php.net to get a copy of this message
Hi Kevin, I know exactly where you are coming from. I've had the same problems for about 6/7 months now, and have never been able to resolve the problem. I've ended up installing it manually - which when upgrading the modules becomes an absolute nightmare! If you have any luck please do spread the word! Sorry to be negative! Cheers Nunners > -----Original Message----- > From: Kevin Kraeer [mailto:kgkraeer@kraeeranimation.com] > Sent: 08 October 2004 18:54 > To: pear-general@lists.php.net > Subject: [PEAR] Installing to Windows > > I did a search for this and actually found the exact same error, but no > one had replied to the original poster. > > I'm a one man band working for an ad agency...good times. At any rate, > a client has requested that form values submitted through their website > be written to an excel document. > > I investigated and decided PEAR was probably my best bet (there's an > excel writer module if I understand correctly). So, I began what has > become a quest to successfully install PEAR to our staging server. > > It's a Win2K Server running IIS and PHP 4.3.6. Whoever initially > installed PHP 4 did not install PEAR along with it for some reason. So I > decided to run the command line installer, with the following > directories set up: > > Installation prefix - C:\PHP\pear > Binaries Directory - $prefix\bin > PHP code directory - $ prefix\docs > Documentation base directory - $prefix\docs > Data Base Directory - $prefix\data > Tests Directory - $prefix\tests > php.exe Path - C:\PHP\php.exe > > I then run the installer, and it does fine for a while. Then, after > 'Extracting Installer....' appears I get this: > > Warning: main(PEAR.php): failed to open stream: No such file or > directory in C:\PHP\pear\Archive\Tar.php on line 21 > > Fatal error: main(): Failed opening required 'PEAR.php' > (include_path='/C:\DOCUME~1\ADMIN~1.ORB\LOCALS~1\Temp\3\gop1c.tmp') in > C:\PHP\pear\Archive\Tar.php on line 21 > > So it seems pretty clear that it's an include path problem to me. In my > PHP.ini, go-pear added > > include_path=".;C:\php\pear" > > So maybe I need to change that to someplace else? But I'm also not so > sure about that forward slash in front of 'C:\DOCUME!`.....' > > Any ideas or advice would be greatly appreciated. As I said, I'm on a > solo mission over here - no IT guys, no programming dept. Just ME. heh.

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