我尝试在我的Webspace上安装PHP Pear。我从http://pear.php.net/go-pear
上传了安装程序文件在第一次运行中,我返回了以下屏幕:
Starting installation ...
Loading zlib: ok
Bootstrapping Installer...................
Bootstrapping PEAR5.php............(remote) ok
Bootstrapping PEAR.php............(remote) ok
Bootstrapping Archive/Tar.php............(remote) ok
Bootstrapping Console/Getopt.php............(remote) ok
所以我搜索了很长时间,但最终在本文中找到了它:Fatal error: Class 'PEAR' not found in /home/user1/public_html/go-pear.php on line 697
Installation in progress ...
(If the page stops loading before the end of the installation, then just reload it)
30 %
Starting installation ...
Loading zlib: ok
Bootstrapping Installer...................
Bootstrapping PEAR5.php............(remote) ok
Bootstrapping PEAR.php............(remote) ok
Bootstrapping Archive/Tar.php............(remote) Not Foundok
Bootstrapping Console/Getopt.php............(remote) ok
Extracting installer..................
Downloading package: PEAR.............
我按照描述做了,但现在它停在30%,我不知道如何进一步。
有人有想法吗?
提前致谢 弗朗兹 - 乔治
据我所知,错误日志包含以下语句:
[Wed May 27 11:27:55.577416 2015] [fcgid:warn] [pid 3097] [client ip:41115] mod_fcgid: stderr: PHP Fatal error: Class 'PEAR' not found in /var/www/vhosts/domain/pear/go-pear.php on line 697, referer: http://domain/go-pear.php?step=install
[Wed May 27 11:34:04.653829 2015] [fcgid:warn] [pid 3097] [client ip:42225] mod_fcgid: stderr: PHP Strict Standards: Non-static method PEAR::setErrorHandling() should not be called statically in /var/www/vhosts/domain/pear/go-pear.php on line 705, referer: http://domain/go-pear.php?step=install
[Wed May 27 11:34:05.012466 2015] [fcgid:warn] [pid 3097] [client ip:42225] mod_fcgid: stderr: PHP Fatal error: Class 'Archive_Tar' not found in /var/www/vhosts/domain/pear/go-pear.php on line 742`, referer: http://domain/go-pear.php?step=install
域名意味着我的域名。
答案 0 :(得分:0)
由于您的Web主机上没有控制台,即使安装了PEAR,也无法使用pear CLI工具安装软件包。