首先,我是 PEAR 和 Predis 的新手……我想在 Windows 7 上安装 Predis,这就是我到目前为止所做的……我已经在 C:/Redis 的计算机上安装了 Redis。PEAR 在 \wamp\bin\php\php5.3.10 中,并且安装成功。现在我尝试使用安装 Predis
pear install nrk/Predis-1.0.0
它给了我以下错误
downloading Predis-1.0.0.tar ...
Starting to download Predis-1.0.0.tar (2,014,208 bytes)
...............................done: 2,014,208 bytes
Warning: require_once(Structures/Graph.php): failed to open stream: No such file
or directory in PEAR\Downloader.php on line 1192
PHP Warning: require_once(Structures/Graph.php): failed to open stream: No such
file or directory in C:\wamp\bin\php\php5.3.10\pear\PEAR\Downloader.php on line
1192
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.10\pear\pearcmd.php:0
PHP 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.10\pear\pearcmd.php:3
07
PHP 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.10\pear\PEAR\C
ommand\Common.php:271
PHP 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.10\pea
r\PEAR\Command\Install.php:699
Warning: require_once(Structures/Graph.php): failed to open stream: No such file
or directory in C:\wamp\bin\php\php5.3.10\pear\PEAR\Downloader.php on line 1192
Call Stack:
0.0010 881520 1. {main}() C:\wamp\bin\php\php5.3.10\pear\pearcmd.php:0
0.0597 4753144 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.10\
pear\pearcmd.php:307
0.0597 4753144 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
5.3.10\pear\PEAR\Command\Common.php:271
11.4545 13810008 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
\php\php5.3.10\pear\PEAR\Command\Install.php:699
PHP Fatal error: require_once(): Failed opening required 'Structures/Graph.php'
(include_path='C:\wamp\bin\php\php5.3.10\pear') in C:\wamp\bin\php\php5.3.10\pe
ar\PEAR\Downloader.php on line 1192
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.10\pear\pearcmd.php:0
PHP 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.10\pear\pearcmd.php:3
07
PHP 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.10\pear\PEAR\C
ommand\Common.php:271
PHP 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.10\pea
r\PEAR\Command\Install.php:699
Fatal error: require_once(): Failed opening required 'Structures/Graph.php' (inc
lude_path='C:\wamp\bin\php\php5.3.10\pear') in C:\wamp\bin\php\php5.3.10\pear\PE
AR\Downloader.php on line 1192
Call Stack:
0.0010 881520 1. {main}() C:\wamp\bin\php\php5.3.10\pear\pearcmd.php:0
0.0597 4753144 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.10\
pear\pearcmd.php:307
0.0597 4753144 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
5.3.10\pear\PEAR\Command\Common.php:271
11.4545 13810008 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
\php\php5.3.10\pear\PEAR\Command\Install.php:699