Works on my installation.
I opened a command console window in:
C:\xampp\php
Then typed:
pear config-show
- Code: Select all
C:\xampp\php>pear config-show
CONFIGURATION (CHANNEL PEAR.PHP.NET):
=====================================
Auto-discover new Channels auto_discover <not set>
Default Channel default_channel pear.php.net
HTTP Proxy Server Address http_proxy <not set>
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pear.php.net
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir \xampp\php
PEAR documentation directory doc_dir \xampp\php\pear\docs
PHP extension directory ext_dir \xampp\php\ext
PEAR directory php_dir \xampp\php\pear
PEAR Installer cache directory cache_dir \xampp\tmp
PEAR configuration file cfg_dir C:\php5\pear\cfg
directory
PEAR data directory data_dir \xampp\php\pear\data
PEAR Installer download download_dir C:\DOCUME~1\IZZYAN~1\LOCALS~1\Temp\pear\download
directory
PHP CLI/CGI binary php_bin \xampp\php\php.exe
php.ini location php_ini <not set>
PEAR Installer temp directory temp_dir C:\DOCUME~1\IZZYAN~1\LOCALS~1\Temp\pear\temp
PEAR test directory test_dir \xampp\php\pear\tests
PEAR www files directory www_dir C:\php5\pear\www
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 0
Debug Log Level verbose 1
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin c:\gnupg\gpg.exe
Signature Key Directory sig_keydir \xampp\php\pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
User Configuration File Filename \xampp\php\pear.ini
System Configuration File Filename \xampp\php\pearsys.ini
So I don't know what you have done wrong to get your error - perhaps you should revert any changes you made to the defaults then try again.
Also, what OS are you using?
I have just gone to
start>Run...
and typed in the text box
pear config-show
and received the same response as in the code box above.
I have
C:\xampp\php in my
System variables Path but not in my
User variables PATH.
Did you reboot your system after editing the path?
So you may have done something wrong somewhere that
only you can know.