how to install pear package in Windows
| From: | Dobedani | Date: | Fri, 26 Jul 2002 13:36:55 +0000 |
| Subject: | how to install pear package in Windows | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-1978@lists.php.net to get a copy of this message | ||
Dear All,
Yesterday I sent the question below to the Usenet
group php.windows. So far no reply.
Since then I tried to extract the pear archive to a
subdirectory called pear of the directory
C:\usr\lib\php\ where I installed PHP. The pear.bat
script however resulted in a terrible error. Below my
DOS session:
C:\Usr\Lib\PHP\Pear\scripts>pear.bat
C:\Usr\Lib\PHP\Pear\scripts>set
PHP_BIN=C:\Usr\Lib\Php\php.exe
C:\Usr\Lib\PHP\Pear\scripts>set
PEAR_PATH=C:\Usr\Lib\Php\pear
C:\Usr\Lib\PHP\Pear\scripts>C:\Usr\Lib\Php\php.exe -C
-d include_path=C:\Usr\Lib\Php\pear -f C:\U
sr\Lib\Php\pear\scripts\pear.in
<br />
<b>Fatal error</b>: Failed opening required
'PEAR.php' (include_path='@include_path@') in <b>C:\
Usr\Lib\Php\pear\scripts\pear.in</b> on line
<b>39</b><br />
Please help!
From: Dobedani (dobedani@gmx.net)
Subject: Re: [PHP-WIN] how to install pear package in
Windows
Newsgroups: php.windows
Date: 2002-07-25 10:38:29 PST
Dear Martin and others,
Thanks for the encouragement. I am a newbie to PHP,
but not to ASP. I
used the PHP 4.2.2 installer from http://nl.php.net
for Windows to get
PHP up and running ;-)
It seems to me that PEAR can help to maintain the
programming style I
am used to. I do not have time to learn all already
:-(
Please indicate to us where you found the archive you
used to get the
PEAR package manager installed. I hope it will also
work for me. TIA
Kind regards,
Dobedani
Wageningen, the Netherlands
=====
$curdir =~ tr/\\/\//; # convert Windows path to Unix path
Dobedani <dobedani@gmx.net>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com