2017-08-08 237 views
0

我在我的网站上使用SSL。 此前它工作正常,但现在它不工作。 我遇到问题。PHP 5.6警告:is_dir():有效的open_basedir限制

Warning: is_dir(): open_basedir restriction in effect. 
File(/etc/pki/tls/certs) is not within the allowed path(s): 
(/home:/tmp:/usr) in /home/xx/public_html/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php on line 914 

任何解决方案?

+0

你用的是magento吗? – user10089632

+0

@ user10089632是的,我正在使用magento 2 – Peter

+1

如果你添加了正确的标签,希望你会得到更准确的答案 – user10089632

回答

0

它出现在错误消息中。 要么将​​路径添加到配置中的 中的证书,要么将证书移动到其中一个允许的路径。

相关问题