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\PEA R". 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\P EAR"
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_US ER\Environment]
"PHP_PEAR_SYSCO NF_DIR"="C:\\ph p"
"PHP_PEAR_INSTA LL_DIR"="C:\\ph p\\pear"
"PHP_PEAR_DOC_D IR"="C:\\php\\p ear\\docs"
"PHP_PEAR_BIN_D IR"="C:\\php"
"PHP_PEAR_DATA_ DIR"="C:\\php\\ pear\\data"
"PHP_PEAR_PHP_B IN"="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\p ear" but
there is "php\pear\PEAR" ):
PHP_PEAR_BIN_DI R=C:\php\PEAR
PHP_PEAR_DATA_D IR=C:\php\PEAR\ pear\data
PHP_PEAR_DOC_DI R=C:\php\PEAR\p ear\docs
PHP_PEAR_INSTAL L_DIR=C:\php\PE AR\pear
PHP_PEAR_PHP_BI N=C:\php\.\php. exe
PHP_PEAR_SYSCON F_DIR=C:\php\PE AR
PHP_PEAR_TEST_D IR=C:\php\PEAR\ pear\tests
In the peardev.bat, pear.bat and pecl.bat files I see this:
IF "%PHP_PEAR_INST ALL_DIR%"=="" SET "PHP_PEAR_INSTA LL_DIR=C:\php\p ear"
IF "%PHP_PEAR_BIN_ DIR%"=="" SET "PHP_PEAR_BIN_D IR=C:\php"
IF "%PHP_PEAR_PHP_ BIN%"=="" SET "PHP_PEAR_PHP_B IN=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_DI R=C:\php\pear
PHP_PEAR_DATA_D IR=C:\php\pear\ data
PHP_PEAR_DOC_DI R=C:\php\pear\d ocs
PHP_PEAR_INSTAL L_DIR=C:\php\pe ar
PHP_PEAR_PHP_BI N=C:\php\.\php. exe
PHP_PEAR_SYSCON F_DIR=C:\php\pe ar
PHP_PEAR_TEST_D IR=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-)