473,734 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pear install question..

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-)
Dec 21 '06 #1
1 13667
IchBin wrote:
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.
OK..for what it is worth I reset the environment vars to what I thought
and all is working as designed. Just not sure how this could have
happened on an install so easy as this..? Still not sure why there are
two subdirectories in different cases. Oh well..

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

--
Thanks in Advance... http://ichbin.9999mb.com
IchBin, Pocono Lake, Pa, USA
_______________ _______________ _______________ _______________ __________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Dec 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2456
by: Ron King | last post by:
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed correctly. I could serve web pages, MySQL worked, and when I tried the phpinfo() function, I got a page that looked OK. I could create simple php pages and serve them up. Then I tried to install pear, and things started to be not OK after all. phpinfo() told me that the 'Configure Command' had both the following in it: --with-pear=/usr/share/pear
3
7244
by: junkmail | last post by:
on a win 2k server apparantly it is saying i dont have it. or it cant find it. im using mySQL 4.1 php 4.3.x apache 3.0.53 im new to php and am doing some tutorials, but when i run the sripts it tells mea it can not run pear/soap, because it can not be found.the book im learning form does not tell me how to install or configure this extension. so now im looking for help.
1
2047
by: DJ Majestik | last post by:
OK, I am new to the whole PEAR/Smarty templating thing. I am trying to setup my directory structure correctly. If someone could weigh in and see if I have this setup "right", I would appreciate it. Directory structure: pear/ db/ db/ DB/ doc/
3
2208
by: David | last post by:
I installed the Pear program and set the include path in php.ini to point to the pear dir. I have a program which <? require_once("DB.php"); ?> This produces the error "Class 'PEAR_Error' not found in c:\PHP\pear\PEAR\DB.php on line 868"
2
5780
by: Alan Prescott | last post by:
I'm running SuSE Linux 9.3, fully up to date running # pear install db responds with ... downloading DB-1.7.6.tgz ... Starting to download DB-1.7.6.tgz (124,807 bytes) .............................done: 124,807 bytes requires package `PEAR' >= 1.0b1 DB: Dependencies failed Googling around this ng I found someone with a similar problem who solved it
0
2044
by: bwhitehd | last post by:
I'm having a problem installing php. The compile seems to go fine, but when it gets to the install step I get the following errors. Does anyone have an idea of what might be the problem? We build our applications under three different environments (Linux i686, Linux x86_64, Solaris 8 Sparc). This is the first of the three on a RHEL 3 system using the current stable versions of the GNU toolchain in a segregated environment. Basically...
1
7842
by: CSTechie | last post by:
I've been battling to install PEAR on Windows XP now for too long. I am not sure what I need to do. When I run go-pear.php from the command line, I get the error message as shown at the end. I included everything in case there is something there that's helpful. I'm trying to install PEAR so that I can use PHPUnit. Thanks for the help!!!!
2
2458
by: jhalaseh | last post by:
Hello, Was wondering if anyone could help me out with a bit of wierd prob. I have pear installed in a UNIX box, with PHP 5.1.2. I'm trying to install some packages by running pear install package.tgz, but always end up with something like .... pear/XML_Parser requires package "pear/PEAR" No valid packages found install failed
4
2132
by: awebguynow | last post by:
Re: only got "pear.old_bat" I had a previous post ".. Upgrade Methods ..." and so far I've gotten around most thorny issues, including patching php5.1.4 with php5apache2_2.dll so I can run it as module with Apache2.2.3 I need a educated response from a PEAR developer, if possible My 1st run go-pear died because I exceeded "maximum execution time" while researching the 1st ?
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8776
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9449
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9236
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.