试图在Windows XP Professional上加载Pear

时间:2012-01-15 11:39:27

标签: php windows-xp pear

当我开始go_pear.php时,我得到(大约15%之后)

Deprecated: Function ereg() is deprecated in C:\Program Files\EasyPHP-5.3.7.0\php\go-pear.php on line 1414
Starting installation ...
Loading zlib: ok

Bootstrapping Installer...................
Bootstrapping PEAR.php............(remote) "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

An Exception Has Occurred

Unknown location: /pear/pear-core/branches/PEAR_1_4/PEAR.php

HTTP Response Status
404 Not Found

ok
Bootstrapping Archive/Tar.php............(remote)
Fatal error: Class 'PEAR' not found in C:\Program Files\EasyPHP-5.3.7.0\php\temp\Archive\Tar.php on line 58

那我该去哪儿?

1 个答案:

答案 0 :(得分:0)

请勿使用'go-pear.php`,而是下载http://pear.php.net/go-pear.phar并使用它安装PEAR。