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
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
The dollar sign is just a command line symbol from Linux. Basically means, "Run this from a command line."
Having the same problem here, how would I run something like this from a Windows server?
$ pear channel-discover pear.phpdoc.org
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
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
This topic is now closed. New replies are no longer allowed.