Microsoft Windows XP [版本 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Maverick>e:
E:\>cd Inetpub\php
E:\Inetpub\php>go-pear
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) : E:\Inetpub\php
2. Binaries directory : E:\Inetpub\php
3. PHP code directory ($php_dir) : E:\Inetpub\php\pear
4. Documentation directory : E:\Inetpub\php\pear\docs
5. Data directory : E:\Inetpub\php\pear\data
6. Tests directory : E:\Inetpub\php\pear\tests
7. Name of configuration file : C:\WINDOWS\pear.ini
8. Path to CLI php.exe : E:\Inetpub\php\.
1-8, 'all' or Enter to continue: 7
(Use $prefix as a shortcut for 'E:\Inetpub\php', etc.)
Name of configuration file [C:\WINDOWS\pear.ini] : $prefix\pear.ini
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) : E:\Inetpub\php
2. Binaries directory : E:\Inetpub\php
3. PHP code directory ($php_dir) : E:\Inetpub\php\pear
4. Documentation directory : E:\Inetpub\php\pear\docs
5. Data directory : E:\Inetpub\php\pear\data
6. Tests directory : E:\Inetpub\php\pear\tests
7. Name of configuration file : E:\Inetpub\php\pear.ini
8. Path to CLI php.exe : E:\Inetpub\php\.
1-8, 'all' or Enter to continue:
Beginning install...
Configuration written to E:\Inetpub\php\pear.ini...
Initialized registry...
Preparing to install...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.tar..
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.tar.
installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.9.tar...
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
install ok: channel://pear.php.net/Archive_Tar-1.3.1
install ok: channel://pear.php.net/Console_Getopt-1.2
install ok: channel://pear.php.net/PEAR-1.4.9
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installe
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based instal
To install use "pear install pear/PEAR#featurename"
****************************************************************************
WARNING! The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
<E:\Inetpub\php\pear>
If the specified directory is also not in the include_path used by
your scripts, you will have problems getting any PEAR packages working.
Notice: Use of undefined constant WINDOWS - assumed 'WINDOWS' in phar://go-p
phar/PEAR/Start.php on line 333
Current include path : .;C:\php5\pear
Configured directory : E:\Inetpub\php\pear
Currently used php.ini (guess) :
Press Enter to continue:
** WARNING! Backed up old pear to E:\Inetpub\php\pear.bat_old
The 'pear' command is now at your service at e:\inetpub\php\pear.bat
** The 'pear' command is not currently in your PATH, so you need to
** use 'e:\inetpub\php\pear.bat' until you have added
** 'E:\Inetpub\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://pear.php.net/manual/
Thanks for using go-pear!
* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under E:\Inetpub\php\PEAR_ENV.reg .
This file creates ENV variables for the current user.
Double-click this file to add it to the current user registry.
請按任意鍵繼續 . . .
Mail 還需要安裝 Net_SMTP, Auth_SASL, Net_Socket 等 package...
感謝chiouss辛苦的幫忙,
後來小弟更換php版本後就可以安裝,在跑完後測試時出現
fsockopen(): unable to connect to 59.104.137.239:25 in C:\Usr\local\php\pear\Net\Socket.php on line 108
的錯誤..@@,這是套件有問題還是...Socket.php檔設定問題呢?
再次感謝~
omar671007 寫:感謝chiouss辛苦的幫忙,
後來小弟更換php版本後就可以安裝,在跑完後測試時出現
fsockopen(): unable to connect to 59.104.137.239:25 in C:\Usr\local\php\pear\Net\Socket.php on line 108
的錯誤..@@,這是套件有問題還是...Socket.php檔設定問題呢?
再次感謝~
請試試看您是否可以從自己的機器 telnet 到 59.104.137.239 的 port 25,我這邊測試沒有問題...
omar671007 寫:感謝chiouss辛苦的幫忙,
後來小弟更換php版本後就可以安裝,在跑完後測試時出現
fsockopen(): unable to connect to 59.104.137.239:25 in C:\Usr\local\php\pear\Net\Socket.php on line 108
的錯誤..@@,這是套件有問題還是...Socket.php檔設定問題呢?
再次感謝~
請試試看您是否可以從自己的機器 telnet 到 59.104.137.239 的 port 25,我這邊測試沒有問題...