svnmanager1.09:Fatal error: Class 'PEAR_ErrorStack' not found

以前使用Apache2.4.16+SVN1.7.9+PHP5.6.20+MySQL5.7+SVNManager1.09  一直沒有問題,可是由於安全緣由,php

升級Apache到2.4.25, PHP到5.6.30, SVN到1.8.17後,使用SVNManager1.09 遇到以下問題:安全


登錄 SVNManager後,用戶管理和組管理都沒有問題.當使用Repository Admin-->User Privilege/Group Privilege -->Select 後遇到下面錯誤:.net

Fatal error:  Class 'PEAR_ErrorStack' not foundit


緣由是Version_Contro_SVN的問題,可是以前爲啥沒錯呢?不太理解. 總歸解決方法以下:io


[root@localhost ~]# /usr/local/php/bin/pear uninstall VersionControl_SVN-0.5.2   //卸載0.5.2
uninstall ok: channel://pear.php.net/VersionControl_SVN-0.5.2

[root@localhost ~]# /usr/local/php/bin/pear  install VersionControl_SVN-0.4.0.gz     //重裝0.4.0
WARNING: "pear/XML_Parser" is deprecated in favor of "pear/XML_Parser2"
downloading XML_Parser-1.3.7.tgz ...
Starting to download XML_Parser-1.3.7.tgz (13,339 bytes)
.....done: 13,339 bytes
install ok: channel://pear.php.net/XML_Parser-1.3.7
install ok: channel://pear.php.net/VersionControl_SVN-0.4.0
[root@localhost ~]#
channel