Re: Installing to Windows
| From: | Justin Patrin | Date: | Fri, 08 Oct 2004 19:54:31 +0000 |
| Subject: | Re: Installing to Windows | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14822@lists.php.net to get a copy of this message | ||
On Fri, 8 Oct 2004 10:54:14 -0700, Kevin Kraeer
<kgkraeer@kraeeranimation.com> wrote:
> 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.
>
Did you look to figure out where the PEAR file sactually are on your
system? Is PEAR.php in C:\php\pear?
--
paperCrane --Justin Patrin--