grnadpa — 2012-04-12T10:53:34-04:00 — #1
What is the windows (xp) sequence from start->run->cmd to be able to use a $ PEAR command? (And maybe how to search for a module on the PEAR respository).
My PEAR library appears to be in C:\xampp\php\PEAR
Thanks much, Brian (grNadpa) Case
grnadpa — 2012-04-13T10:25:19-04:00 — #2
Here's what I've found so far.*
By doing a windows search on C:\Program Files, C:\XAMPP\PEAR, then C:\XAMPP I was able to find C:\xampp\php\go-pear.bat
So "Start->cmd ->
(Showing prompts C:\...)
C: \Documents and Settings\Owner> cd c:\xampp\php
C:\xampp\php> pear.bat help
A list appeared, so I decided to ask for help on Search
C:\xampp\php> pear help Search
So, my readings show commands beginning with the dollar sign. So I tried
C:\xampp\php> $ help Search
And. of course, I get " '$' is not recognized ..."
- I installed my local server and libraries through the XAMPP download and installer
logic_earth — 2012-04-13T12:15:17-04:00 — #3
The dollar sign is just a command line symbol from Linux. Basically means, "Run this from a command line."
xkratosx — 2012-07-25T12:05:54-04:00 — #4
Having the same problem here, how would I run something like this from a Windows server?
$ pear channel-discover pear.phpdoc.org
cpradio — 2012-07-25T13:06:28-04:00 — #5
Remove the dollar sign from your command. That is just to help you understand that you must run what is after the $ sign in a command prompt window.
So your command actually is:
pear channel-discover pear.phpdoc.org
xkratosx — 2012-07-26T04:46:39-04:00 — #6
Ah, perfect, thanks so much cpradio - I did try that to no avail before posting, but realised it was also due to the environmental variables not being set correclty (now fixed). thanks again