grnadpa — 2010-06-13T09:31:35-04:00 — #1
Specifically, when in command mode on windows XP, how do I locate the directory I should be in to invoke the $ commands?
(Embarrassed -- but I don't understand the PEAR posts here nor the manual at
Let me be more specific: The documentation refers to a "pear command line application". And every command begins with a "$ pear".
Where do I find this "pear command line application"?
This has got to be basic stuff because ALL THE DOCUMENTATION assumes it's intuitive.
paul_wilkins — 2010-06-15T09:41:17-04:00 — #2
No, it just indicates that that is not the location of the pear executable on your system.
Apparantly there is a xampp file called xampp_shell.bat that starts a command prompt with the appropriate pear path already set.
http://www.apachefriends.org/en/xampp-windows.html appears to have all of the details.
paul_wilkins — 2010-06-15T02:03:24-04:00 — #3
If you don't have the pear location set in the default path, you would do:
- Start -> All Programs -> Accessories -> Command Prompt
- C:\Documents and Settings\Owner\> cd \xampp\php\PEAR
- C:\xampp\php\PEAR\> pear config-get php_dir
If you do have pear in your default path, you don't need to perform step 2.
grnadpa — 2010-06-14T18:50:03-04:00 — #4
Again, this must be intuitive -- but there are no responses so I must not be asking my question correctly;
In one of my PHP/PEAR books is this sentence:
You can check [the configurable location] using the pear command line application:
$ pear config-get php_dir
Given that my PEAR directory is in C:\xampp\php\PEAR in my Windows XP directory and my php modules are in C:\xampp\htdocs\hrf ...
Starting with the 'start' button, how I do I execute the above $ PEAR command?
grnadpa — 2010-06-15T09:21:23-04:00 — #5
Thank you Paul,
I do not have an "Owner" directory within "Documents and Settings". However, I assume the point is simply to get current on
C:\xampp\php\PEAR\> pear config-get php_dir
results in "pear is not recognized as an internal or external command, operable program or batch file"
So I tried C:\xampp\php\PEAR\> $ pear config-get php_dir
results in "$ is not recognized ..."
So I tried C:\xampp\php\PEAR\> $pear config-get php_dir
results in "$pear is not recognized ..."
I gather that indicates I need to re-install PEAR?