Home » PEAR » PEAR » Bug #10257
wrong environment variable referenced or something
Details
| Submitted | 2007-03-03 14:16 UTC |
|---|---|
| From | tkli at php dot net |
| Status | Bogus |
| Package | PEAR |
| PHP Version | 5.2.0 |
| OS | win32 |
| Roadmaps | (Not assigned) |
Comments
[2007-03-03 14:16 UTC] tkli at php dot net
Description:
------------
while performing the upgrade-all command in a pear installation with only some little packages installed, an environment variable is referenced which could not be found and the whole process stops.
Test script:
---------------
C:\Programme\php\php5\PEAR>pear upgrade-all
environment:
PHP_PEAR_BIN_DIR=C:\Programme\php\php5
PHP_PEAR_DATA_DIR=C:\Programme\php\php5\pear\data
PHP_PEAR_DOC_DIR=C:\Programme\php\php5\pear\docs
PHP_PEAR_INSTALL_DIR=C:\Programme\php\php5\pear
PHP_PEAR_PHP_BIN=C:\Programme\php\php5\.\php.exe
PHP_PEAR_SYSCONF_DIR=C:\Programme\php\php5
PHP_PEAR_TEST_DIR=C:\Programme\php\php5\pear\tests
Expected result:
----------------
the script should not interrupt but continue to run. the message "Der Befehl "PHP_PEAR_INSTALL_DIR1" ist entweder falsch geschrieben oder
konnte nicht gefunden werden." should not appear.
Actual result:
--------------
Will upgrade date
Will upgrade pear
downloading Date-1.4.7.tgz ...
Starting to download Date-1.4.7.tgz (55,754 bytes)
.............done: 55,754 bytes
downloading PEAR-1.5.0.tgz ...
Starting to download PEAR-1.5.0.tgz (286,143 bytes)
...done: 286,143 bytes
upgrade-all ok: channel://pear.php.net/PEAR-1.5.0
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
upgrade-all ok: channel://pear.php.net/Date-1.4.7
To install use "pear install pear/PEAR#featurename"
Der Befehl "PHP_PEAR_INSTALL_DIR1" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.