Problems with go-pear(Windows)
| From: | Glemnitz, Wolfgang | Date: | Fri, 07 Feb 2003 10:43:54 +0000 |
| Subject: | Problems with go-pear(Windows) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3645@lists.php.net to get a copy of this message | ||
Hi,
when i run go-pear with
c:\php\cli>php -n go.pear
then come the messages
[....]
1. Installation prefix : c:\php
2. Binaries directory : $prefix
3. PHP code directory : $prefix\pear
4. Documentation base directory : $php_dir\docs
5. Data base directory : $php_dir\data
6. Tests base directory : $php_dir\tests
1-6, 'all' or Enter to continue:
The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser.
Would you like to install these as well? [Y/n] :
Downloading package: PEAR.............ok
Downloading package: Archive_Tar......ok
Downloading package: Console_Getopt...ok
Downloading package: XML_RPC..........ok
Bootstrapping: PEAR...................ok
Bootstrapping: Archive_Tar............ok
Bootstrapping: Console_Getopt.........ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Extracting installer..................ok
install ok: PEAR 1.0.1
install ok: Archive_Tar 1.0
install ok: Console_Getopt 1.0
install ok: XML_RPC 1.0.4
install ok: DB 1.3
install ok: Net_Socket 1.0.1
install ok: Net_SMTP 1.1.1
install ok: Mail 1.0.2
install ok: XML_Parser 1.0
****************************************************************************
**
WARNING! The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified. If the specified
directory is also not in the include_path used by your scripts, you
will have problems getting any PEAR packages working.
Please look over your php.ini file to make sure
c:\php\pear is in your include_path.
Current include path : .;c:\php4\pear
Configured directory : c:\php\pear
Currently used php.ini (guess) : c:\winnt\php.ini
Press Enter to continue:
** WARNING! Backed up old pear to c:\\php\pear.bat_old
The 'pear' command is now at your service at c:\php\pear
** The 'pear' command is not currently in your PATH, so you need to
** use 'c:\php\pear' until you have added
** 'c:\php' to your PATH environment variable.
Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.
[...]
In the php.ini is the Path ".;C:\php\pear"
in the systemvariables "...;c:\php\pear;..."
The command pear does not run, in the DOS-Window come the Messages pear not
found
i have copy the pear.bat.old as pear.bat and set the Variables
set PHP_BIN=c:\php\cgi\php.exe
set BIN_DIR=c:\php
set PEAR_PATH=c:\php\pear
the error-messages: "Could not open input file C:\php\pear."
Where i can found the error? The php version is 4.3.0
Thanks,
Wolfgang