What is This Error All About??
| From: | Vikas Sharda | Date: | Sun, 12 Jan 2003 13:30:40 +0000 |
| Subject: | What is This Error All About?? | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8200@lists.php.net to get a copy of this message | ||
Hello All,
I am new here. I installed PHP Shield oin my Win2K
machine and it worked fine, later I wanted to play
with some back-end (MySQL) and tried to use PEAR::DB
classes,, for that I got the go-pear installed in the
machine, but while trying to run 'pear help', I
Received the following error:-
C:\PHP>pear
'php_bin@' is not recognized as an internal or
external command,
operable program or batch file.
I was successful in installing the PEAR in the machine
following is the result:-
Downloading package: PEAR.............ok
Downloading package: Archive_Tar......ok
Downloading package: Console_Getopt...ok
Downloading package: XML_RPC..........ok
Bootstrapping: PEAR...................ok
Bootstrapping: Archive_Tar............ok
Bootstrapping: Console_Getopt.........ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Extracting installer..................ok
install ok: PEAR 1.0.1
install ok: Archive_Tar 0.10-b1
install ok: Console_Getopt 1.0
install ok: XML_RPC 1.0.4
install ok: DB 1.3
install ok: Net_Socket 1.0.1
install ok: Net_SMTP 1.0.1
install ok: Mail 1.0.2
install ok: XML_Parser 1.0
**********************************************************************
WARNING! The include_path defined in the currently
used php.ini does
contain the PEAR PHP directory you just specified. If
the specified
directory is also not in the include_path used by your
scripts, you
will have problems getting any PEAR packages working.
Please look over your php.ini file to make sure
c:\php\pear is in your include_path.
Current include path : .;c:\php4\pear
Configured directory : c:\php\pear
Currently used php.ini (guess) : c:\winnt\php.ini
Press Enter to continue:
The 'pear' command is now at your service at
c:\php\pear
** The 'pear' command is not currently in your PATH,
so you need to
** use 'c:\php\pear' until you have added
** 'c:\php' to your PATH environment variable.
Run it without parameters to see the available
actions, try 'pear list
to see what packages are installed, or 'pear help' for
help.
For more information about PEAR, see:
http://pear.php.net/faq.php
http://cvs.php.net/co.php/pearweb/doc/pear_package_manager.txt?p=1
http://pear.php.net/manual/
Thanks for using go-pear!
*******************************************************
I edited the php.ini as well
include_path = ".;c:\;c:\php;c:\php\pear"
but when running the db connect script, my browser
stucks and shows the following message:-
*******************************************************
Welcome to go-pear! Go-pear will install the 'pear'
command and all the files needed by it. This command
is your tool for PEAR installation and maintenance.
Go-pear also lets you download and install the PEAR
packages bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser. If you wish to abort, press
Control-C now, or press Enter to continue:
*******************************************************
And when I comment the include_path =
".;c:\;c:\php;c:\php\pear", my browser shows me
nothing it's blank
Could anyone answer help me out to fix this problem??
Where I could be wrong?? What other changes do I need
to make??
Best Regards
Vikas
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com