【问题标题】:PHP 5.6 Warning: is_dir(): open_basedir restriction in effectPHP 5.6 警告:is_dir(): open_basedir 限制生效
【发布时间】:2017-08-08 11:37:01
【问题描述】:

我在我的网站上使用 SSL。 早些时候它工作正常,但现在它不工作。 我遇到了问题。

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

有什么办法吗?

【问题讨论】:

  • 你在用magento吗?
  • @user10089632 是的,我正在使用 magento 2
  • 如果你添加了正确的标签,希望你能得到更准确的答案
  • 是否有其他人可能更改了配置?这可能是连接问题吗?
  • @user10089632 我希望我知道。

标签: php ssl composer-php magento2


【解决方案1】:

它在错误消息中。 将证书的路径添加到 配置,或将证书移动到允许的路径之一。

【讨论】:

    猜你喜欢
    • 2014-09-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-15
    • 2015-03-30
    • 2013-01-06
    • 2015-03-06
    相关资源
    最近更新 更多