Hallo,<br>
installiert sind Php 4.3.0 Apache 1.3.27 W2k SP3<br>
bei der Installation mit go-pear v.133 vom 2003-02-03<br>
c:\php\cli\php.exe -n go-pear <br>
im DOS-Fenster wird angezeigt<br>
[...]<br>
1. Installation prefix : c:\php<br>
2. Binaries directory : $prefix<br>
3. PHP code directory : $prefix\pear<br>
4. Documentation base directory : $php_dir\docs<br>
5. Data base directory : $php_dir\data<br>
6. Tests base directory : $php_dir\tests<br>
1-6, 'all' or Enter to continue: <br>
The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser.<br>
Would you like to install these as well? [Y/n] : <br>
Downloading package: PEAR.............ok<br>
Downloading package: Archive_Tar......ok<br>
Downloading package: Console_Getopt...ok<br>
Downloading package: XML_RPC..........ok<br>
Bootstrapping: PEAR...................ok<br>
Bootstrapping: Archive_Tar............ok<br>
Bootstrapping: Console_Getopt.........ok<br>
Downloading package: DB...............ok<br>
Downloading package: Net_Socket.......ok<br>
Downloading package: Net_SMTP.........ok<br>
Downloading package: Mail.............ok<br>
Downloading package: XML_Parser.......ok<br>
Extracting installer..................ok<br>
install ok: PEAR 1.0.1<br>
install ok: Archive_Tar 1.0<br>
install ok: Console_Getopt 1.0<br>
install ok: XML_RPC 1.0.4<br>
install ok: DB 1.3<br>
install ok: Net_Socket 1.0.1<br>
install ok: Net_SMTP 1.1.1<br>
install ok: Mail 1.0.2<br>
install ok: XML_Parser 1.0<br>
************************************************** *********<br>
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.<br>
Please look over your php.ini file to make sure<br>
c:\php\pear is in your include_path.<br>
Current include path : .;c:\php4\pear<br>
Configured directory : c:\php\pear<br>
Currently used php.ini (guess) : c:\winnt\php.ini<br>
Press Enter to continue: <br>
** WARNING! Backed up old pear to c:\\php\pear.bat_old<br>
The 'pear' command is now at your service at c:\php\pear<br>
** The 'pear' command is not currently in your PATH, so you need to<br>
** use 'c:\php\pear' until you have added<br>
** 'c:\php' to your PATH environment variable.<br>
Run it without parameters to see the available actions, try 'pear list'<br>
to see what packages are installed, or 'pear help' for help.<br>
[...]<br>
In der php.ini ist der Pfad ".;C:\php\pear" eingetragen<br>
in den Systemvarablen steht "...;c:\php;c:\php\pear;..."<br>
wenn ich jetzt pear aufrufe ob in ..\php oder ..\php\cli oder in ..\php\pear kommt die meldung: "Der Befehl "pear" ist entweder falsch geschrieben oder konnte nicht gefunden werden<br>
die alte pear.bat(die ja erst mit go-pear installiert wurde) wurde ja in pear.bat.old umbenannt, also gab es keine pear.bat mehr<br>
Ich habe die pear.bat.old kopiert in pear.bat und habe die Variablen<br>
set PHP_BIN=c:\php\cgi\php.exe<br>
set BIN_DIR=c:\php<br>
set PEAR_PATH=c:\php\pear<br>
gesetzt, und jetzt kommt die Fehlermeldung<br>
"Could not open input file C:\php\pear."<br>
das verzeichnis scripts(mit pear.in)welches im Basis-paket eigentlich ist, wurde mit go-pear nicht installiert.<br>
Welche Datei ist eigentlich mit pear. gemeint?<br>
Ob ich PHP als Modul oder CGI im Apache eintrage ist bei der Installation von PEAR ohne Auswirkung, the same error.<br>
Kann mir jemand einen Tip geben, bei wem läuft PEAR unter obiger Konfiguration?<br>
Danke,<br>
Wolfgang
installiert sind Php 4.3.0 Apache 1.3.27 W2k SP3<br>
bei der Installation mit go-pear v.133 vom 2003-02-03<br>
c:\php\cli\php.exe -n go-pear <br>
im DOS-Fenster wird angezeigt<br>
[...]<br>
1. Installation prefix : c:\php<br>
2. Binaries directory : $prefix<br>
3. PHP code directory : $prefix\pear<br>
4. Documentation base directory : $php_dir\docs<br>
5. Data base directory : $php_dir\data<br>
6. Tests base directory : $php_dir\tests<br>
1-6, 'all' or Enter to continue: <br>
The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser.<br>
Would you like to install these as well? [Y/n] : <br>
Downloading package: PEAR.............ok<br>
Downloading package: Archive_Tar......ok<br>
Downloading package: Console_Getopt...ok<br>
Downloading package: XML_RPC..........ok<br>
Bootstrapping: PEAR...................ok<br>
Bootstrapping: Archive_Tar............ok<br>
Bootstrapping: Console_Getopt.........ok<br>
Downloading package: DB...............ok<br>
Downloading package: Net_Socket.......ok<br>
Downloading package: Net_SMTP.........ok<br>
Downloading package: Mail.............ok<br>
Downloading package: XML_Parser.......ok<br>
Extracting installer..................ok<br>
install ok: PEAR 1.0.1<br>
install ok: Archive_Tar 1.0<br>
install ok: Console_Getopt 1.0<br>
install ok: XML_RPC 1.0.4<br>
install ok: DB 1.3<br>
install ok: Net_Socket 1.0.1<br>
install ok: Net_SMTP 1.1.1<br>
install ok: Mail 1.0.2<br>
install ok: XML_Parser 1.0<br>
************************************************** *********<br>
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.<br>
Please look over your php.ini file to make sure<br>
c:\php\pear is in your include_path.<br>
Current include path : .;c:\php4\pear<br>
Configured directory : c:\php\pear<br>
Currently used php.ini (guess) : c:\winnt\php.ini<br>
Press Enter to continue: <br>
** WARNING! Backed up old pear to c:\\php\pear.bat_old<br>
The 'pear' command is now at your service at c:\php\pear<br>
** The 'pear' command is not currently in your PATH, so you need to<br>
** use 'c:\php\pear' until you have added<br>
** 'c:\php' to your PATH environment variable.<br>
Run it without parameters to see the available actions, try 'pear list'<br>
to see what packages are installed, or 'pear help' for help.<br>
[...]<br>
In der php.ini ist der Pfad ".;C:\php\pear" eingetragen<br>
in den Systemvarablen steht "...;c:\php;c:\php\pear;..."<br>
wenn ich jetzt pear aufrufe ob in ..\php oder ..\php\cli oder in ..\php\pear kommt die meldung: "Der Befehl "pear" ist entweder falsch geschrieben oder konnte nicht gefunden werden<br>
die alte pear.bat(die ja erst mit go-pear installiert wurde) wurde ja in pear.bat.old umbenannt, also gab es keine pear.bat mehr<br>
Ich habe die pear.bat.old kopiert in pear.bat und habe die Variablen<br>
set PHP_BIN=c:\php\cgi\php.exe<br>
set BIN_DIR=c:\php<br>
set PEAR_PATH=c:\php\pear<br>
gesetzt, und jetzt kommt die Fehlermeldung<br>
"Could not open input file C:\php\pear."<br>
das verzeichnis scripts(mit pear.in)welches im Basis-paket eigentlich ist, wurde mit go-pear nicht installiert.<br>
Welche Datei ist eigentlich mit pear. gemeint?<br>
Ob ich PHP als Modul oder CGI im Apache eintrage ist bei der Installation von PEAR ohne Auswirkung, the same error.<br>
Kann mir jemand einen Tip geben, bei wem läuft PEAR unter obiger Konfiguration?<br>
Danke,<br>
Wolfgang
Comment