RE: [PEAR] Re: PEAR Windows Installation problem
| From: | Mark Withington | Date: | Wed, 02 Mar 2005 00:36:47 +0000 |
| Subject: | RE: [PEAR] Re: PEAR Windows Installation problem | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17768@lists.php.net to get a copy of this message | ||
I seem to recall similar errors when I tried to install PEAR on a windows
box running Apache. As I recall (don't hold me to this) I needed to go into
the php.ini and update the include path (with the PEAR directory).
Hope this helps.
--------------------------
Mark L. Withington
PLMresearch
v: 508-746-2383
m: 508-801-0181
Calendar: http://www.plmdev.com/plmr/PLMresearch.com/calendar.php
-----Original Message-----
From: Jason Barnett [mailto:jason.barnett@telesuite.com]
Sent: Tuesday, March 01, 2005 7:14 PM
To: pear-general@lists.php.net
Subject: [PEAR] Re: PEAR Windows Installation problem
Brent O'Connor wrote:
> When I try to install the PEAR windows package manager I get some
> errors when it's about done... The following is the screen out put is
> from the windows command line. I didn't have this problem on my Linux
> boxes. :) The server is a Windows 2003 server. Any help is greatly
> apprishated!
You have a lot of information in your post, but it looks like you haven't
done enough work to diagnose your problem...
> *NOTICE*
> We found php.exe under C:\PHP\php.exe, it uses a cgi SAPI. PEAR
> commandline tool works well with it, if you have a CLI php.exe
> available, we recommand to use it.
>
> Below is a suggested file layout for your new PEAR installation. To
> change individual locations, type the number in front of the
> directory. Type 'all' to change all of them or simply press Enter to
> accept these locations.
>
> 1. Installation prefix : C:\PHP
> 2. Binaries directory : $prefix
> 3. PHP code directory ($php_dir) : $prefix\pear
> 4. Documentation base directory : $php_dir\docs
> 5. Data base directory : $php_dir\data
> 6. Tests base directory : $php_dir\tests
> 7. php.exe path : C:\PHP\php.exe
>
> 1-7, 'all' or Enter to continue:
>
> The following PEAR packages are bundled with PHP: DB, Net_Socket,
> Net_SMTP, Mail, XML_Parser, PHPUnit. Would you like to install these
> as well? [Y/n] : n
>
> Loading zlib: ok
> Downloading package: PEAR-stable......ok
> Downloading package: Archive_Tar-stable....ok
> Downloading package: Console_Getopt-stable....ok
> Downloading package: XML_RPC-stable....ok
> Bootstrapping: PEAR...................(remote) ok
> Bootstrapping: Archive_Tar............(remote) ok
> Bootstrapping: Console_Getopt.........(remote) ok
> Extracting installer..................ok
>
> Warning: main(PEAR/Config.php): failed to open stream: No such file or
> directory in C:\PHP\go-pear.php on line 684
>
> Warning: main(): Failed opening 'PEAR/Config.php' for inclusion
> (include_path='C
> :/DOCUME~1/brento/LOCALS~1/Temp/3/gop49.tmp') in C:\PHP\go-pear.php on
> line 684
>
The script failed to load the include()'d files. This ultimately led to
your fatal error.
http://marc.theaimsgroup.com/?l=php-general&w=2&r=1&s=pear+install+include+p
ath&q=b
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plug
ins