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
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
…
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
Thanks
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