Problems installing PEAR
| From: | Xeon Darkblade | Date: | Thu, 15 Apr 2004 21:04:54 +0000 |
| Subject: | Problems installing PEAR | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11886@lists.php.net to get a copy of this message | ||
Hi,
I have some troubles installing PEAR on win98se, with PHP 4.2.3. The
go-pear.php script runs fine, just the generated pear.bat which is
making problems. The problems are:
1. pear.bat won't detect the env variables it needed, such as
PHP_PEAR_INSTALL_DIR and prints error, which prints the constents of
those variables, and surprise-surprise, the variables are all correct.
I've hacked pear.bat to drop env var detection and it runs.
2. parsecmd.php and getopt.php complains that it couldn't read argv.
I've verified that register_argc_argv option in php.ini is turned on.
So how I supposed to install new packages if simple commands like 'pear
list' is failing?
3. One other thing that's getting on my nerve, pear.bat/go-pear.php is
always creating pear.ini on \php4 subdir when all should be in \php
subdir (the php installation dir is \php, thus the script will always
create \php4 subdir and store pear.ini there). Where does this command
originated?
FYI, I'm using win98se with PHP 4.2.3 (no intention of upgrading it
sometime soon). The scripts are run both under 4DOS and MSDOS prompt.
TIA