|
Posted by IchBin on 12/21/06 01:04
I remember having problems with pear when I first installed it but got
it running some time ago. This is on a windoze XP SP OS. I did not think
it was correct because it pointed to "C\php\pear\PEAR". I writing a pear
front-end GUI and I want to have it installed correctly.
It seemed to have some duplication of directories between the lower and
upper cased pear dir names. Should there be a "php\pear\PEAR"
subdirectory? I thought it should be "C\PHP\pear" so I just wanted to
reinstall it. Now looking at it I am confused. There is a difference
between the following:
The PEAR_ENV.reg files has this (I did run this):
REGEDIT4
[HKEY_CURRENT_USER\Environment]
"PHP_PEAR_SYSCONF_DIR"="C:\\php"
"PHP_PEAR_INSTALL_DIR"="C:\\php\\pear"
"PHP_PEAR_DOC_DIR"="C:\\php\\pear\\docs"
"PHP_PEAR_BIN_DIR"="C:\\php"
"PHP_PEAR_DATA_DIR"="C:\\php\\pear\\data"
"PHP_PEAR_PHP_BIN"="C:\\php\\.\\php.exe"
"PHP_PEAR_TEST_DIR"="C:\\php\\pear\\tests"
When I look at the Windows environment vars which I guess should reflect
the regedit entries but I see this (there is no "php\PEAR\pear" but
there is "php\pear\PEAR"):
PHP_PEAR_BIN_DIR=C:\php\PEAR
PHP_PEAR_DATA_DIR=C:\php\PEAR\pear\data
PHP_PEAR_DOC_DIR=C:\php\PEAR\pear\docs
PHP_PEAR_INSTALL_DIR=C:\php\PEAR\pear
PHP_PEAR_PHP_BIN=C:\php\.\php.exe
PHP_PEAR_SYSCONF_DIR=C:\php\PEAR
PHP_PEAR_TEST_DIR=C:\php\PEAR\pear\tests
In the peardev.bat, pear.bat and pecl.bat files I see this:
IF "%PHP_PEAR_INSTALL_DIR%"=="" SET "PHP_PEAR_INSTALL_DIR=C:\php\pear"
IF "%PHP_PEAR_BIN_DIR%"=="" SET "PHP_PEAR_BIN_DIR=C:\php"
IF "%PHP_PEAR_PHP_BIN%"=="" SET "PHP_PEAR_PHP_BIN=C:\php\.\php.exe"
I guess I should change all of the environment vars to what the regedit
file says they should be. Would this be correct and has any one else
seen this problem with the upper and lower case pear subdirectories?
I think it should look like this it because matches the directory layout
now after the new install:
PHP_PEAR_BIN_DIR=C:\php\pear
PHP_PEAR_DATA_DIR=C:\php\pear\data
PHP_PEAR_DOC_DIR=C:\php\pear\docs
PHP_PEAR_INSTALL_DIR=C:\php\pear
PHP_PEAR_PHP_BIN=C:\php\.\php.exe
PHP_PEAR_SYSCONF_DIR=C:\php\pear
PHP_PEAR_TEST_DIR=C:\php\pear\tests
Just do not know where the PEAR subdirectory comes from. Has anyone else
ran into this problem under windows.
--
Thanks in Advance... http://ichbin.9999mb.com
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Navigation:
[Reply to this message]
|