【问题标题】:enable dom file inside the php.ini在 php.ini 中启用 dom 文件
【发布时间】:2018-12-16 14:04:49
【问题描述】:

每次创建新的或更新作曲家时,我都会遇到 laravel 的一些问题,我收到此错误“phpunit/phpunit 7.5.1 requires ext-dom * -> the requested PHP extension dom is missing from你的系统”。 .我很确定我已经安装了 dom 文件,但问题在 php.ini 中找不到,尽管我尝试通过键入“extension=dom.so”

【问题讨论】:

  • 你在哪个操作系统上?
  • 对不起,我忘了提到操作系统,它是 Ubuntu

标签: laravel


【解决方案1】:

尝试在您的 ubuntu 服务器中运行此命令。

sudo apt-get 更新 sudo apt-get install php7.1-xml

【讨论】:

    猜你喜欢
    • 2017-10-18
    • 2019-12-20
    • 2018-03-16
    • 1970-01-01
    • 2012-05-05
    • 2014-06-08
    • 2013-05-31
    • 2014-09-19
    • 2010-11-26
    相关资源
    最近更新 更多