0

所以我有一个 SSL 证书,我从一家新公司购买了一个,通过 plesk,我安装了新的,然后网站完全停止工作。

主机公司帮不上忙,我们的开发人员不知道如何让它工作。

我们基本上有一个非常大的站点由于 ssl 安装而崩溃。

没有报错,只是一个空白页面,打开报错后,这里是我们进入网站url时出现的错误

Warning: require_once(): open_basedir restriction in effect. File(/usr/share/psa-pear/MDB2.php) is not within the allowed path(s): (/var/www/vhosts/domain.com/:/tmp/) in /var/www/vhosts/domain.com/httpdocs/inc/general.php on line 7 Warning: require_once(/usr/share/psa-pear/MDB2.php): failed to open stream: Operation not permitted in /var/www/vhosts/domain.com/httpdocs/inc/general.php on line 7 Fatal error: require_once(): Failed opening required 'MDB2.php' (include_path='.:/usr/share/psa-pear/') in /var/www/vhosts/domain.com/httpdocs/inc/general.php on line 7

This started only when we installed the new certificate, changing back to the old one does not work, still the same error on the website

4

1 回答 1

0

修改您php.inibasedir设置以包括/usr/share/psa-pear/

于 2013-05-02T09:27:44.720 回答